2023 08 01 Nextmv Platform Release

Nextmv platform public release

Nextmv SDK v0.26.0 released

Nextmv SDK v0.26.0

Nextmv CLI v0.26.0

  • Bug fixes and performance improvements.

Upgrade to v0.26.0

This upgrade guide assumes you’ve previously installed and configured the Nextmv CLI.

Open up a terminal and run the following command:

nextmv update
Copy

Alternatively, you can specify the version.

nextmv update v0.26.0
Copy

Nextmv SDK v0.26.0 upgrade guide

To update and tidy your Go project and reference SDK v0.26.0, stand at the location of the go.mod and run:

go get github.com/nextmv-io/sdk@v0.26.0
go mod tidy
Copy

Note, there are two breaking changes for SDK users in this release.

  1. The location of the Format function has changed from "github.com/nextmv-io/sdk/nextroute" to "github.com/nextmv-io/sdk/nextroute/factory". To migrate to the new SDK version, you will need to change your nextroute.Format(ctx, options, solver, last) to factory.Format(ctx, options, solver, last). `
  2. The type of stop.StartTimeWindow changed from *[]time.Time to any. To migrate to the new SDK, if you are working with stop.StartTimeWindows in custom code, you will need to cast them to *[]time.Time (e.g. startTimeWindow := stop.StartTimeWindow.(*[]time.Time)).

Page last updated

Go to on-page nav menu