-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(deps): update module github.com/serviceweaver/weaver to v0.24.6 #50
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/github.com-serviceweaver-weaver-0.x
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
renovate
bot
changed the title
fix(deps): update module github.com/serviceweaver/weaver to v0.18.0
fix(deps): update module github.com/serviceweaver/weaver to v0.18.1
Aug 4, 2023
renovate
bot
force-pushed
the
renovate/github.com-serviceweaver-weaver-0.x
branch
from
August 4, 2023 02:12
cc0c823
to
c7c0726
Compare
renovate
bot
changed the title
fix(deps): update module github.com/serviceweaver/weaver to v0.18.1
fix(deps): update module github.com/serviceweaver/weaver to v0.19.0
Aug 11, 2023
renovate
bot
force-pushed
the
renovate/github.com-serviceweaver-weaver-0.x
branch
from
August 11, 2023 18:26
c7c0726
to
55451db
Compare
renovate
bot
changed the title
fix(deps): update module github.com/serviceweaver/weaver to v0.19.0
fix(deps): update module github.com/serviceweaver/weaver to v0.20.0
Aug 23, 2023
renovate
bot
force-pushed
the
renovate/github.com-serviceweaver-weaver-0.x
branch
from
August 23, 2023 19:27
55451db
to
65ab34f
Compare
renovate
bot
changed the title
fix(deps): update module github.com/serviceweaver/weaver to v0.20.0
fix(deps): update module github.com/serviceweaver/weaver to v0.21.2
Sep 13, 2023
renovate
bot
force-pushed
the
renovate/github.com-serviceweaver-weaver-0.x
branch
from
September 13, 2023 00:45
65ab34f
to
3ecbcc7
Compare
renovate
bot
force-pushed
the
renovate/github.com-serviceweaver-weaver-0.x
branch
from
September 24, 2023 02:15
3ecbcc7
to
2dc0e61
Compare
renovate
bot
changed the title
fix(deps): update module github.com/serviceweaver/weaver to v0.21.2
fix(deps): update module github.com/serviceweaver/weaver to v0.22.0
Oct 13, 2023
renovate
bot
force-pushed
the
renovate/github.com-serviceweaver-weaver-0.x
branch
from
October 13, 2023 18:55
2dc0e61
to
9f4a0cc
Compare
renovate
bot
force-pushed
the
renovate/github.com-serviceweaver-weaver-0.x
branch
3 times, most recently
from
October 27, 2023 19:43
d576b7a
to
349a997
Compare
renovate
bot
force-pushed
the
renovate/github.com-serviceweaver-weaver-0.x
branch
from
November 19, 2023 07:23
349a997
to
b06b8e5
Compare
renovate
bot
force-pushed
the
renovate/github.com-serviceweaver-weaver-0.x
branch
from
February 29, 2024 03:10
b06b8e5
to
6ea15be
Compare
renovate
bot
changed the title
fix(deps): update module github.com/serviceweaver/weaver to v0.22.0
fix(deps): update module github.com/serviceweaver/weaver to v0.23.0
Feb 29, 2024
renovate
bot
force-pushed
the
renovate/github.com-serviceweaver-weaver-0.x
branch
from
April 10, 2024 21:35
6ea15be
to
ccdf2c3
Compare
renovate
bot
changed the title
fix(deps): update module github.com/serviceweaver/weaver to v0.23.0
fix(deps): update module github.com/serviceweaver/weaver to v0.23.1
Apr 10, 2024
renovate
bot
force-pushed
the
renovate/github.com-serviceweaver-weaver-0.x
branch
from
May 7, 2024 00:59
ccdf2c3
to
0bd0bbc
Compare
renovate
bot
changed the title
fix(deps): update module github.com/serviceweaver/weaver to v0.23.1
fix(deps): update module github.com/serviceweaver/weaver to v0.23.2
May 7, 2024
renovate
bot
force-pushed
the
renovate/github.com-serviceweaver-weaver-0.x
branch
from
May 10, 2024 02:27
0bd0bbc
to
54b6bdf
Compare
renovate
bot
changed the title
fix(deps): update module github.com/serviceweaver/weaver to v0.23.2
fix(deps): update module github.com/serviceweaver/weaver to v0.24.1
May 10, 2024
renovate
bot
force-pushed
the
renovate/github.com-serviceweaver-weaver-0.x
branch
from
May 30, 2024 18:27
54b6bdf
to
d1bbd5f
Compare
renovate
bot
changed the title
fix(deps): update module github.com/serviceweaver/weaver to v0.24.1
fix(deps): update module github.com/serviceweaver/weaver to v0.24.2
May 30, 2024
renovate
bot
force-pushed
the
renovate/github.com-serviceweaver-weaver-0.x
branch
from
July 11, 2024 21:41
d1bbd5f
to
6bdf61e
Compare
renovate
bot
changed the title
fix(deps): update module github.com/serviceweaver/weaver to v0.24.2
fix(deps): update module github.com/serviceweaver/weaver to v0.24.3
Jul 11, 2024
ℹ Artifact update noticeFile name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
renovate
bot
force-pushed
the
renovate/github.com-serviceweaver-weaver-0.x
branch
from
August 23, 2024 20:03
6bdf61e
to
3a306d3
Compare
renovate
bot
changed the title
fix(deps): update module github.com/serviceweaver/weaver to v0.24.3
fix(deps): update module github.com/serviceweaver/weaver to v0.24.4
Aug 23, 2024
renovate
bot
force-pushed
the
renovate/github.com-serviceweaver-weaver-0.x
branch
from
September 10, 2024 22:59
3a306d3
to
ff86c0b
Compare
renovate
bot
changed the title
fix(deps): update module github.com/serviceweaver/weaver to v0.24.4
fix(deps): update module github.com/serviceweaver/weaver to v0.24.5
Sep 10, 2024
renovate
bot
force-pushed
the
renovate/github.com-serviceweaver-weaver-0.x
branch
from
September 23, 2024 04:39
ff86c0b
to
54cce88
Compare
renovate
bot
force-pushed
the
renovate/github.com-serviceweaver-weaver-0.x
branch
from
October 11, 2024 19:41
54cce88
to
663b9e0
Compare
renovate
bot
changed the title
fix(deps): update module github.com/serviceweaver/weaver to v0.24.5
fix(deps): update module github.com/serviceweaver/weaver to v0.24.6
Oct 11, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.17.0
->v0.24.6
Release Notes
ServiceWeaver/weaver (github.com/ServiceWeaver/weaver)
v0.24.6
Compare Source
v0.24.5
Compare Source
v0.24.4
Compare Source
v0.24.3
Compare Source
What's Changed
v0.24.2
Compare Source
v0.24.1
Compare Source
v0.23.2
Compare Source
v0.23.1
Compare Source
v0.23.0
Compare Source
v0.22.0
Compare Source
To use v0.22 of Service Weaver, run the following commands in the root of your application's module:
Runtime Graph API Improvements
A Service Weaver application is composed of a directed acyclic graph of components. When you build a Service Weaver application, the component call graph is embedded into the binary itself. In v0.22.0, we improved the API of the
bin.ReadComponentGraph
function, which extracts and returns the component call graph. Now,bin.ReadComponentGraph
returns a fully-fledged graph data structure, which has some helpful graph algorithms that let you do things like iterate over the graph in topological order.Example Chat App Improvements
The chat app is an example Service Weaver application that is backed by a MySQL database. v0.22.0 includes instructions on how to run the application locally against a MySQL instance running in Docker, and how to run the application on Kubernetes against a MySQL instance running in the Kubernetes cluster. If you want to learn how to write and deploy a database-backed Service Weaver application, the chat app is a great place to look.
Bank of Anthos Example App
We ported Bank of Anthos to Service Weaver.
Bug Fixes
New Contributors
Full Changelog: ServiceWeaver/weaver@v0.21.2...v0.22.0
v0.21.2
Compare Source
v0.21.1
Compare Source
v0.21.0
: v0.21Compare Source
To use v0.21 of Service Weaver, run the following commands in the root of your application's module:
Automatic Method Retries
Components are the core abstraction of Service Weaver. Two components can be co-located in the same process or distributed across multiple machines. When a component calls a method on a co-located component, the method call is performed as a regular Go method call. When a component calls a method on a component hosted on another machine, the method call is executed as a remote procedure call (RPC).
The network is not reliable, so RPCs can sometimes fail to execute properly. Starting in v0.21, the Service Weaver runtime automatically retries these RPCs for you. The retries are done with jittered exponential back-off, and retries are stopped when the provided
context.Context
is cancelled. Note that a method call that executes successfully and returns a non-nil error is not retried. Only method calls that fail to execute properly (e.g., because of a network failure) are retried.Note that in some cases, it may not be safe to arbitrarily retry a method call. In these cases, you can mark a method as
NotRetriable
, and Service Weaver will not retry it for you.weavertests will also spuriously retry method calls to catch any cases where you forget to mark a non-retriable method as non-retriable.
See https://github.com/ServiceWeaver/weaver/pull/570 and https://github.com/ServiceWeaver/weaver/pull/575 for details.
Prettier Logs
v0.21 introduces some small tweaks to our logging pretty printer. See https://github.com/ServiceWeaver/weaver/pull/577, https://github.com/ServiceWeaver/weaver/pull/578, and https://github.com/ServiceWeaver/weaver/pull/579 for details.
Bug Fixes
New Contributors
Full Changelog: ServiceWeaver/weaver@v0.20.0...v0.21.0
v0.20.0
Compare Source
To use v0.20.0 of Service Weaver, run the following commands in the root of your application's module:
Requiring Go 1.21
Service Weaver now requires Go 1.21. This allows us to use the new slog package. See https://github.com/ServiceWeaver/weaver/pull/520 for details.
Deployer API Changes
We made some small simplifications to the deployer API in v0.20.0. The
SingleProcess
field was removed fromEnvelopeInfo
(https://github.com/ServiceWeaver/weaver/pull/521), and thePid
field was removed fromWeaveletInfo
(https://github.com/ServiceWeaver/weaver/pull/522). TheInternalPort
field inEnvelopeInfo
was replaced withInternalAddress
(https://github.com/ServiceWeaver/weaver/pull/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 (https://github.com/ServiceWeaver/weaver/pull/481). These stubs will be used in our ongoing work on implementing deterministic simulation.Bug Fixes
New Contributors
Full Changelog: ServiceWeaver/weaver@v0.19.0...v0.20.0
v0.19.0
Compare Source
To use v0.19.0 of Service Weaver, run the following commands in the root of your application's module:
Logging
Service Weaver v0.19.0 introduces a small breaking change to the logging API. The
Logger
method onweaver.Implements
now has acontext.Context
argument. Here's an example:The logger returned by
Logger
now includes labels for any OpenTelemetry trace and span ids that are stored in the provided context. This allows you to correlate logs and traces, which makes debugging much easier. We also slightly changed how logs are pretty printed:See https://github.com/ServiceWeaver/weaver/pull/495, https://github.com/ServiceWeaver/weaver/pull/496, and https://github.com/ServiceWeaver/weaver/pull/512 for details.
RPC Health Checking
We added more sophisticated health checking to our RPC implementation, which is used to remotely execute component method calls. With this change, fewer method calls should fail when a component replica fails. See https://github.com/ServiceWeaver/weaver/pull/498 for details.
Validations
We try to detect invalid Service Weaver applications at compile time (see https://serviceweaver.dev/blog/weaver_generate.html, for example), but some checks have to be done at runtime. We have introduced a number of new validation checks in v0.19.0. Specifically, we check that every component has been registered correctly (https://github.com/ServiceWeaver/weaver/pull/500) and that all listener names are valid (https://github.com/ServiceWeaver/weaver/pull/501). We also report more error messages when things go wrong to make it easier to debug issues (https://github.com/ServiceWeaver/weaver/pull/493).
Full Changelog: ServiceWeaver/weaver@v0.18.0...v0.19.0
v0.18.1
Compare Source
v0.18.0
Compare Source
Custom Error Values
Recall that the final return value of every component method must be an error:
Before v0.18.0, these error values were encoded and decoded using a custom protocol that did not preserve the type of the error. For example, if you returned a custom error value from a component method (e.g.,
return &customError{}
), the caller of the method would not receive an error of the same type.In v0.18.0, any errors that embed
weaver.AutoMarshal
will be properly encoded and decoded. Here's a simple example:Errors that don't embed
weaver.AutoMarshal
will continue to use our custom protocol.See https://github.com/ServiceWeaver/weaver/pull/456, https://github.com/ServiceWeaver/weaver/pull/458, and https://github.com/ServiceWeaver/weaver/pull/457 for details.
Tracing
weaver.InstrumentHandler
now automatically implements time-based trace sampling for you. We also optimized how we store and query traces on disk, and we now garbage collect old traces. We also improved the tracing UI inweaver single dashboard
andweaver multi dashboard
. See https://github.com/ServiceWeaver/weaver/pull/450, https://github.com/ServiceWeaver/weaver/pull/459, https://github.com/ServiceWeaver/weaver/pull/460, https://github.com/ServiceWeaver/weaver/pull/464, https://github.com/ServiceWeaver/weaver/pull/465, https://github.com/ServiceWeaver/weaver/pull/472, and https://github.com/ServiceWeaver/weaver/pull/478 for detailsweaver.Instance
RemovedThe
weaver.Instance
interface was removed (https://github.com/ServiceWeaver/weaver/pull/455). It was not being used and was obsoleted byweaver.InstanceOf[T]
.Bug Fixes
weaver multi logs --format=json
did not include log entry attributes. This was fixed in https://github.com/ServiceWeaver/weaver/pull/470.Internals
Most of the core weaver implementation has moved to the private
internal/weaver
package. This has no effect on the users of Service Weaver, but does enable some internal cleanups. For example, we split the weavelet implementation into two separate and much simpler weavelets, one forgo run
and one for all other deployers. For those interested in learning more about the internals of Service Weaver, this change should make it much easier to understand what's going on under the hood. See https://github.com/ServiceWeaver/weaver/pull/461 and https://github.com/ServiceWeaver/weaver/pull/466 for details.Full Changelog: ServiceWeaver/weaver@v0.17.0...v0.18.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.