The 5.0 release of MinKNOW API, describing the API for MinKNOW Core 5.0, has several incompatible changes from earlier 4.x versions, and code using the API will need to be updated to suit.
The breaking changes are documented below. There also some changes to the API that do not break compatibility with older versions, such as the addition of new RPC's; these are not documented here.
No RPCs have been removed from the MinKNOW API since MinKNOW Core 4.0.
Note that some messages have had their fields renumbered. The wire format of these messages will not be compatible with earlier 4.x versions.
Some messages have had fields renamed, but using the same number as in 4.x. These messages will be wire compatible with 4.x, although the interpretation of these fields may have changed. Code which uses these renamed fields will not be compatible.
The following messages have had their fields changed:
ReportConfiguration.ReportConfiguration
: Themarkdown_report_file_pattern
field has been renumbered to 8. Field number 2 is nowjson_report_file_pattern
GetVersionInfoResponse
: Theprotocols
field has been renamed tobream
, and theconfiguration
field renamed toprotocol_configuration
, to more accurately reflect the contents of the packages these fields relate to.
StoreRequest
: When using thelifetime
field to store a value in the manager, the only valid values areUNTIL_INSTANCE_END
andPERSIST_ACROSS_RESTARTS
. Using any other value will cause the call to fail withINVALID_ARGUMENT
FlowCellPosition.RpcPorts
: The fieldsinsecure
andinsecure_grpc_web
have been removed, as it is no longer possible to use the gRPC protocols without TLS.
AcquisitionOutputBucket
has been renamed toAcquisitionOutputSnapshot
, as this message really reflects a snapshot of data at a given time point. The fieldbucket
has been renamed toseconds
, as it indicates the time point.StreamAcquisitionOutputResponse
: The submessageFilteredBuckets
has been renamed toFilteredSnapshots
. Thebuckets
field in both messages has been renamed tosnapshots
.WriterOutputBucket
has been renamed toWriterOutputSnapshot
, as this message really reflects a snapshot of data at a given time point. The fieldbucket
has been renamed toseconds
, as it indicates the time point.StreamWriterOutputResponse
: Thebuckets
field has been renamed tosnapshots
.