v0.20.0
To use v0.20.0 of Service Weaver, run the following commands in the root of your application's module:
go get github.com/ServiceWeaver/weaver@v0.20.0 # Update the weaver module.
go install github.com/ServiceWeaver/weaver/cmd/weaver@v0.20.0 # Update the weaver command line tool.
Requiring Go 1.21
Service Weaver now requires Go 1.21. This allows us to use the new slog package. See #520 for details.
Deployer API Changes
We made some small simplifications to the deployer API in v0.20.0. The SingleProcess
field was removed from EnvelopeInfo
(#521), and the Pid
field was removed from WeaveletInfo
(#522). The InternalPort
field in EnvelopeInfo
was replaced with InternalAddress
(#526). These changes shouldn't affect Service Weaver applications. Only deployer implementations need to be updated.
Codegen Changes
weaver generate
now generates new reflection-based stubs (#481). These stubs will be used in our ongoing work on implementing deterministic simulation.
Bug Fixes
- Added unit tests for remote weavelet. by @mwhittaker in #528
- Fixed RemoteWeavelet UpdateRoutingInfo bugs. by @mwhittaker in #529
- Fixed bugs in RemoteWeavelet UpdateComponents. by @mwhittaker in #530
- Replaced os.Exit with RemoteWeavelet Wait method. by @mwhittaker in #531
- Extended test deployer to spawn multiple weavelets by @mwhittaker in #532
- Added distributed RemoteWeavelet failure tests. by @mwhittaker in #533
- Removed phantom "main" from weaver single status. by @mwhittaker in #537
- Fixed period (".") app name bug. by @mwhittaker in #541
- Clarify "weaver generate" version error message. by @mwhittaker in #542
New Contributors
- @Deleplace made their first contribution in #543
Full Changelog: v0.19.0...v0.20.0