❗ version 0.5.0 breaks the APIs of math
, time
, and json
.
After a large community effort, we've successfully moved two packages from starlib into go-starlark:
- math: google/starlark-go#357
- time: google/starlark-go#327
Both of these packages have had a great deal of vetting & improvement in the process of migrating. While this does introduce many breaking changes for both packages, both packages have better stability & performance characteristics.
Moving forward, we'll try to follow the pattern of developing & testing packages here, and for those deemed worthy, move them up into go-starlark. Once a package lands there, we'll switch starlib to being a strict import-and-document-only, which effectively locks their API. Keeping package APIs matched to go-starlark will cut down on drift, benefitting the broader starlark ecosystem. We're currently working on doing the same with the re
/ regexp package.
In the same vein, we've switched to the go-starlark json
module, which adds another breaking API change for this release.