Skip to content

v0.20.0

Compare
Choose a tag to compare
@mwhittaker mwhittaker released this 23 Aug 19:50
· 165 commits to main since this release

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/[email protected]                # Update the weaver module.
go install github.com/ServiceWeaver/weaver/cmd/[email protected] # 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

New Contributors

Full Changelog: v0.19.0...v0.20.0