v0.2.0
What's Changed
This release contains new features and bugfixes representing 2+ years of accumulated usage of skycfg at Stripe and other places. A few general themes include:
- Skycfg is now more thread-safe and performant when evaluating multiple configs concurrently: #110 and #135
- Several sources of nondeterminism and inconsistencies in the Protobuf–Starlark interface have been eliminated
- Skycfg entrypoints are now more flexible: #111, #125
- Skycfg now takes advantage of latest Go and Starlark features: #138, #139, #140
Starlark libraries
- go/assertmodule
- go/hashmodule
- Add murmur3 to hash module by @aadi-stripe in #122
- go/protomodule
- feat: support assigning arbitrary protobuf messages to
protobuf.Anyby @jbrown-stripe in #105 - Support name and number accessors on enum values by @LINKIWI in #120
- Make protobuf map --> starlark.Dict ordering deterministic by @ryanpbrewster in #123
- Accommodate Starlark reserved keywords as Protobuf message field names by @LINKIWI in #119
- Fix protomodule.NewMessage handling of protobuf field presence by @ryanpbrewster in #113
- Fix nondeterministic oneof initialization by @timothyg-stripe in #136
- feat: support assigning arbitrary protobuf messages to
Go binding interface
- Allow users to configure where print() output goes by @timothyg-stripe in #110
- Support non-protobuf output and enhance flatten lists option by @jwog-stripe in #111
- Add
skycfg.WithPositionalArgsby @sushain-stripe in #125 - Add support for caching common load()s across different skycfg.Load() calls by @timothyg-stripe in #135
- Allow customizing syntax.FileOptions by @timothyg-stripe in #138
- Add FSFileReader by @timothyg-stripe in #139
- go/protomodule: add go1.23 iter support by @timothyg-stripe in #140
Housekeeping
- Bump minimum Go version from 1.13 to 1.22
- by @sushain97 in #127; by @timothyg-stripe in #132
- Bump Bazel from 3.5.0 to 7.4.1
- Also bump rules_go from 0.24.7 to 0.46.0
- Also bump gazelle from 0.22.2 to 0.41.0
- by @sushain97 in #127; by @timothyg-stripe in #132
- Bump google.golang.org/protobuf from 1.25.0 to 1.33.0 by @dependabot in #115
- Bump go.starlark.net from 0.0.0-20201204201740-42d4f566359b to 0.0.0-20240517230649-3792562d0b7f by @timothyg-stripe in #138, #140
- README on how to develop skycfg by @timothyg-stripe in #132
- README on how to get the wasm example to work in #116
- Update AUTHORS and CONTRIBUTORS by @timothyg-stripe in #129, #134
New Contributors
- @jbrown-stripe made their first contribution in #105
- @timothyg-stripe made their first contribution in #110
- @jwog-stripe made their first contribution in #111
- @ryanpbrewster made their first contribution in #113
- @aadi-stripe made their first contribution in #122
- @sushain-stripe / @sushain97 made their first contribution in #126
- @LINKIWI made their first contribution in #121
Full Changelog: v0.1.1...v0.2.0