Update go deps to v4 (major) #1083
Open
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:
v3.0.4
->v4.1.2
v3.5.1
->v4.1.0
Release Notes
go-jose/go-jose (github.com/go-jose/go-jose/v3)
v4.1.2
Compare Source
What's Changed
go-jose v4.1.2 improves some documentation, errors, and removes the only 3rd-party dependency.
New Contributors
Full Changelog: go-jose/go-jose@v4.1.1...v4.1.2
v4.1.1
Compare Source
What's Changed
New Contributors
Full Changelog: go-jose/go-jose@v4.1.0...v4.1.1
v4.1.0
Compare Source
What's Changed
signatureAlgorithms
argument by @tgeoghegan in https://github.com/go-jose/go-jose/pull/163New Contributors
Full Changelog: go-jose/go-jose@v4.0.5...v4.1.0
v4.0.5
Compare Source
What's Changed
Fixes GHSA-c6gw-w398-hv78
Various other dependency updates, small fixes, and documentation updates in the full changelog
New Contributors
Full Changelog: go-jose/go-jose@v4.0.4...v4.0.5
v4.0.4
: Version 4.0.4Compare Source
Fixed
v4.0.3
: Version 4.0.3Compare Source
Changed
v4.0.2
: Version 4.0.2Compare Source
What's Changed
New Contributors
Full Changelog: go-jose/go-jose@v4.0.1...v4.0.2
v4.0.1
: Version 4.0.1Compare Source
Fixed
amounts of memory and CPU when decompressed by
Decrypt
orDecryptMulti
.Those functions now return an error if the decompressed data would exceed
250kB or 10x the compressed size (whichever is larger). Thanks to
Enze Wang@Alioth and Jianjun Chen@Zhongguancun Lab (@zer0yu and @chenjj)
for reporting.
v4.0.0
: Version 4.0.0Compare Source
This release makes some breaking changes in order to more thoroughly address the vulnerabilities discussed in Three New Attacks Against JSON Web Tokens, "Sign/encrypt confusion", "Billion hash attack", and "Polyglot token".
Changed
ParseSigned, ParseDetached, jwt.ParseEncrypted, jwt.ParseSigned,
jwt.ParseSignedAndEncrypted (#69, #74)
Added
puzpuzpuz/xsync (github.com/puzpuzpuz/xsync/v3)
v4.1.0
Compare Source
UMPSCQueue
#168LoadAndDelete
andDelete
in case of non-existingMap
key #167Map
resize #170UMPSCQueue
is meant to serve as a replacement for a channel. However, crucially, it has infinite capacity. This is a very bad idea in many cases as it means that it never exhibits backpressure. In other words, if nothing is consuming elements from the queue, it will eventually consume all available memory and crash the process. However, there are also cases where this is desired behavior as it means the queue will dynamically allocate more memory to store temporary bursts, allowing producers to never block while the consumer catches up.From now on,
Map
spawns additional goroutines to speed up resizing the hash table. This can be disabled when creating aMap
with the newWithSerialResize
setting:Thanks @PapaCharlie and @llxisdsh for the contributions!
v4.0.0
Compare Source
MapOf
's hasher API is gone. The default and only hash function is now based onmaphash.Comparable
.Map
'sCompute
API now supports no-op (cancel) compute operation.Thanks @PapaCharlie for making this release happen
Migration notes
*Of
types are kept as type aliases for the renamed data structures to simplify the migration, e.g.MapOf
is an alias forMap
.NewMapOfPresized
function is gone.NewMap
combined withWithPresize
should be used instead.Map.Compute
method now expectsvalueFn
to return aComputeOp
value instead of a boolean flag. That's to support compute operation cancellation, so that the call does nothing.Map.LoadOrTryCompute
method is renamed toLoadOrCompute
. The oldLoadOrCompute
method is removed as it was redundant.Configuration
📅 Schedule: Branch creation - "on monday" (UTC), 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 these updates again.
This PR was generated by Mend Renovate. View the repository job log.