Skip to content

Nextmv platform public release

Nextmv SDK v0.26.0

  • The SDK runner now implements automatic schema validation based on the app input schema.
  • Nextroute support for stop duration multiplier, multiple stop time windows and distance reporting on basic output.
  • Nextroute speed improvements.
  • Nextmv Nextroute routing app marketplace offering auto-updated to the latest SDK.
  • Bug fixes and performance improvements for the nextroute vehicle routing engine.
  • Default statistics output for apps developed with the mip package.

Nextmv CLI v0.26.0

  • Bug fixes and performance improvements.

Upgrade to v0.26.0

Info

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

Open up a terminal and run the following command:

nextmv update

Alternatively, you can specify the version.

nextmv update v0.26.0

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

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)).