Update all dependencies #69
Reference in New Issue
Block a user
No description provided.
Delete Branch "renovate/all"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
v2.10.26->v2.12.2v1.39.1->v1.47.0v1.10.0->v1.11.11.24.1->1.25.5Release Notes
nats-io/nats-server (github.com/nats-io/nats-server/v2)
v2.12.2Compare Source
Changelog
Refer to the 2.12 Upgrade Guide for backwards compatibility notes with 2.11.x.
Go Version
Dependencies
070ab1a(#7539)Added
General
proxy_protocol: trueis set in the config (#7456)JetStream
meta_compactandmeta_compact_size, advanced JetStream config options to control how many log entries must be present in the metalayer log before snapshotting and compaction takes place (#7484, #7521)write_timeoutoption for clients, routes, gateways and leafnodes which controls the behaviour on reaching thewrite_deadline, values can bedefault,retryorclose(#7513)Monitoring
/debug/varsendpoint to the monitoring port (#7469)/jszendpoint (#7524)/jszendpoint can now show direct consumers with thedirect-consumers?trueflag (#7543)Improved
General
JetStream
max_bytesandmax_msgslimits (#7455)>for both republish source and destination (#7515)Fixed
General
JetStream
Complete Changes
v2.12.1Compare Source
Changelog
Refer to the 2.12 Upgrade Guide for backwards compatibility notes with 2.11.x.
Go Version
Dependencies
Added
General
NewServerFromConfigfunction has been added to the embedded server API for parsing an external configuration file whenConfigFileis supplied (#7364)proxysettings in the leafnoderemotes(#7242)write_deadlineoption in thecluster,leafnodeandgatewayconfig blocks allows configuring write deadlines on a finger-grained basis (#7405)Improved
Monitoring
jszmonitoring endpoint can now report leader counts (#7429)JetStream
opt_start_timeon consumers orstart_timeon message get requests, now use a binary search for improved lookup performance (#7357)Nats-Msg-Idheader (#7391)Fixed
General
SIGTERMsignal immediately after startup (#7367)$SYS.REQ.CLAIMS.DELETEendpoint now correctly strips headers, like the$SYS.REQ.CLAIMS.UPDATEendpoint already does (#7413)JetStream
stream.Aandstream.*.A, fixing some consumer or message get filters (#7349)sync_alwaysfor writing TTL and scheduling state files (#7385)Complete Changes
v2.12.0Compare Source
Changelog
Refer to the 2.12 Upgrade Guide for backwards compatibility notes with 2.11.x.
Go Version
Added
General
allow_insecure_cipher_suitesconfiguration option totlsblock, as insecure ciphers are now disabled by default (#7144)X25519MLKEM768option to the TLS curve preferences (#7280)Nats-Subjectheader (#5250)exact_matchfield to the filtering of various monitoring endpoints for server name, host or cluster matching (#7260)JetStream
Nats-Incrheaders, with full aggregate consistency over sources and mirrorsNats-Schedule-TTLmessage headerpartition(n)for deterministic hash-based partitioning andrandom(n)for non-deterministic random partitioning to subject transforms (#6950)Nats-Required-Api-Levelrequest header (#7157)server_metadatablock to server config, allowing arbitrary key-pairs to be set on a per-server basis, similar to stream/consumer metadata (#6935)"leader_since"to the stream and consumer info responses (#7189)Leafnodes
isolate_leafnode_interestconfiguration option, suppressing east-west traffic and reducing subscription overheads when there are many leafnodes (#7238, #7243, #7277)disabledoption for leafnode remotes, with support for reloading from the config at runtime (#7054)Changed
General
JetStream
2(#6969)sync: alwaysis not configured (#7018, #7163)max_buffered_msgshas been increased by 10x to 100,000 messages (#6633)Improved
General
JetStream
Leafnodes
Fixed
JetStream
Nats-Expected-Last-Subject-Sequence-Subjectheader is supplied but the accompanyingNats-Expected-Last-Subject-Sequenceheader is not (#7196)OCSP
Complete Changes
v2.11.11Compare Source
Changelog
Refer to the 2.11 Upgrade Guide for backwards compatibility notes with 2.10.x.
Go Version
Dependencies
070ab1a(#7539)Added
JetStream
meta_compactandmeta_compact_size, advanced JetStream config options to control how many log entries must be present in the metalayer log before snapshotting and compaction takes place (#7484, #7521)write_timeoutoption for clients, routes, gateways and leafnodes which controls the behaviour on reaching thewrite_deadline, values can bedefault,retryorclose(#7513)Monitoring
/jszendpoint (#7524)/jszendpoint can now show direct consumers with thedirect-consumers?trueflag (#7543)Improved
General
JetStream
max_bytesandmax_msgslimits (#7455)>for both republish source and destination (#7515)Monitoring
jszmonitoring endpoint can now report leader counts (#7429)Fixed
General
JetStream
sync_alwaysfor writing TTL and scheduling state files (#7385)Complete Changes
v2.11.10Compare Source
Changelog
Refer to the 2.11 Upgrade Guide for backwards compatibility notes with 2.10.x.
Go Version
Dependencies
Improved
General
accstatszresponses if empty (#7300)JetStream
opt_start_timeon consumers orstart_timeon message get requests, now use a binary search for improved lookup performance (#7357)Fixed
General
SIGTERMsignal immediately after startup (#7367)JetStream
stream.Aandstream.*.A, fixing some consumer or message get filters (#7349)Complete Changes
v2.11.9Compare Source
Changelog
Refer to the 2.11 Upgrade Guide for backwards compatibility notes with 2.10.x.
Go Version
Dependencies
Improved
JetStream
raftzendpoint now reports the cluster traffic account (#7186)leader_since(#7189)system_accountandtraffic_account(#7193)jszmonitoring endpoint now returnssystem_accountandtraffic_account(#7193)Fixed
General
default_sentinelJWT from a scoped signing key instead of requiring it to solely be a bearer token for auth callout (#7217)JetStream
Nats-TTLheader will now be correct if the subject delete marker TTL overwrites it (#7177)cluster_trafficstate for an account is now restored correctly when enabling JetStream at startup (#7191)Tests
Complete Changes
v2.11.8Compare Source
Changelog
Refer to the 2.11 Upgrade Guide for backwards compatibility notes with 2.10.x.
Go Version
Dependencies
Added
General
Fixed
General
JetStream
index.dbfile when truncating so that it is not inconsistent if the truncate operation is interrupted (#7162)Tests
Complete Changes
v2.11.7Compare Source
Changelog
Refer to the 2.11 Upgrade Guide for backwards compatibility notes with 2.10.x.
Go Version
Dependencies
Added
General
SubjectMatchesFilterfunction is now available as an exported function for embedded use (#7051)leafzmonitoring endpoint now includes the connection ID (#7063)Improved
JetStream
Nats-TTLheader are now scanned and processed (#7117)Fixed
General
default_sentinelJWT is a bearer token for auth callout (7074)$SYS.REQ.USER.INFOendpoint should now only be answered by the local server, fixing cases where the endpoint may sometimes return without full connection details (#7089)JetStream
no_waitorexpiresbehaviour has been fixed with replicated consumers (#7046)index.db, the deleted blocks are now correctly marked as lost data and the index is rebuilt (#7123)max_bytesreservations (#7131)Tests
Complete Changes
v2.11.6Compare Source
Changelog
Refer to the 2.11 Upgrade Guide for backwards compatibility notes with 2.10.x.
Go Version
Improved
JetStream
Fixed
General
subszmonitoring endpoint now returns the correcttotalfor subscription details, aligning behaviour with other endpoints for pagination (#7009)JetStream
reserved_memoryandreserved_storagestatistics will no longer underflow when no limits are set (#7024)Complete Changes
v2.11.5Compare Source
Changelog
Refer to the 2.11 Upgrade Guide for backwards compatibility notes with 2.10.x.
Go Version
Dependencies
Improved
General
connzmonitoring endpoint now includes leafnode connections (#6949)accstatszmonitoring endpoint now contains leafnode, route and gateway connection stats (#6967)JetStream
new consumer leaderon clustered setups, reducing log noise when watchers etc are in use (#7003)Fixed
General
JetStream
AllowMsgTTLsetting on a stream will now take effect correctly (#6922)NoWaitwill now return correctly from replicated consumers (#6960)Nats-Expected-headers that could interfere with mirroring operations (#6961)healthzmonitoring endpoint no longer tries to fix up cluster node skews, as this could interfere with processing assignments (#7001)DeliverLastPerSubjectdelivery policy now correctly deliver messages and handles acks when there are interior deletes, such as whenMaxMsgsPerSubjectlimits are in use on the stream (#7005)MaxWaitinglimit will no longer respond if the request heartbeat is set, to avoid client tightloops (#7011)Complete Changes
v2.11.4Compare Source
Changelog
Refer to the 2.11 Upgrade Guide for backwards compatibility notes with 2.10.x.
Go Version
Dependencies
Improved
General
JetStream
Fixed
General
JetStream
multi_lastdirect gets or when calculating the first sequence number for a consumer with a deliver-last-per-subject deliver policy (#6899)up_to_timeorstart_timein some configurations (#6911)Complete Changes
v2.11.3Compare Source
Changelog
Refer to the 2.11 Upgrade Guide for backwards compatibility notes with 2.10.x.
Go Version
Added
MQTT
js_api_timeoutoption controls how long to wait for JetStream operations caused by MQTT calls (#6833)Improved
JetStream
Fixed
General
JetStream
Monitoring
connzendpoint will now return open connections correctly withstateset toall(#6849)Complete Changes
v2.11.2Compare Source
Changelog
Refer to the 2.11 Upgrade Guide for backwards compatibility notes with 2.10.x.
Go Version
Dependencies
Added
General
trace_headersoption to ensure that trace logging only emits headers and not message payloads (#6638)JetStream
MaxAgepolicy (#6741)Improved
General
GOMAXPROCSandGOMEMLIMITare now reported in bothstatszandvarz(#6791)tls_timeoutconfiguration parsing consistency betweenauthorizationandtimeout(#6731)JetStream
PurgeDeletescalls, with optimised code paths for finding last sequences and reducing allocations (#6801, #6825)SubjectDeleteMarkerTTLwhen the stream has a max messages per subject limit of 1 (#6818)peer-remove'd can now be re-admitted automatically after 5 minutes without a server restart (#6815)Fixed
General
jszmonitoring endpoint now correctly paginates withoffset(#6794, #6816)cluster_trafficoption at startup no longer results in a panic if the account has not loaded yet (#6733)JetStream
AckNoneack policy and ordered consumers are not affected and may be more suitable for high-speed processing--jsand--store_diron the command line and then issuing a configuration reload (#6609)AckAllconsumers (#6587)FirstSeqconfigured are no longer incorrectly purged after a restart if the stream first sequence still matches the configured first sequence (#6753)@character (#6777)AckAllin R1 consumers (#6790)Nats-Msg-Id(#6725)FilterSubjects(#6828)Gateways
Complete Changes
v2.11.1Compare Source
Changelog
Go Version
CVEs
Fixed
JetStream
Complete Changes
v2.11.0Compare Source
Changelog
Refer to the 2.11 Upgrade Guide for backwards compatibility notes with 2.10.x.
Go Version
Dependencies
Added
General
Nats-Trace-Destheader set to a valid subject will receive events representing what happens to the message as it moves through the systemNats-Trace-Onlyheader, if set totrue, will produce the same tracing events but will not deliver the message to the final destination-toption on the command lineconfig_digestoption invarzjs-meta-onlyoption forhealthzhealthcheck (#6649)JetStream
Nats-TTLheader, provided either as a string duration (1m,30s) or an integer in seconds, will age out the message independently of stream limitsMaxAge(#6378, #6389, #6393, #6400, #6404, #6428, #6432)SubjectDeleteMarkerTTLstream configuration option determines whether to place marker messages and how long they should live forNats-Marker-Reasonheader explaining which limit caused the marker to be left behindPriorityGroupsandPriorityPolicyoptions in the consumer configuration control the policyPauseUntilconsumer configuration option and$JS.API.CONSUMER.PAUSEendpoint suspends message delivery to the consumer until the time specified is reached, after which point it will resume automaticallymax_buffered_sizeandmax_buffered_msgsoptions in thejetstreamblock of the server config control how many publishes should be queued before rate-limiting, making it easier to protect the system against Core NATS publishes into JetStreamNats-Expected-Last-Subject-Sequence-Subjectheader, customising the subject used when paired withNats-Expected-Last-Subject-Sequence(#5281) Thanks to @cchamplin for the contribution!cluster_trafficconfiguration option (#5466, #5947)preferredwhen issuing stepdown requests to the metaleader, streams or consumers (#6282, #6284)strictoption in thejetstreamblock of the server config (#5858)js_cluster_migrateoption can now be configured with a delay, controlling how long before a failure would result in asset migration (#5903)Leafnodes
handshake_firstoption (#4119, #5783)WebSocket
MQTT
Improved
General
SIGTERMsignal will now return exit code 0 instead of exit code 1 (#6336)JetStream
Fixed
General
JetStream
Complete Changes
v2.10.29Compare Source
Changelog
Refer to the 2.10 Upgrade Guide for backwards compatibility notes with 2.9.x.
Go Version
Fixed
JetStream
Monitoring
connzendpoint will now return open connections correctly withstateset toall(#6849)Complete Changes
v2.10.28Compare Source
Changelog
Refer to the 2.10 Upgrade Guide for backwards compatibility notes with 2.9.x.
Go Version
Dependencies
Improved
General
GOMAXPROCSandGOMEMLIMITare now reported in bothstatszandvarz(#6791)JetStream
PurgeDeletescalls, with optimised code paths for finding last sequences and reducing allocations (#6801)peer-remove'd can now be re-admitted automatically after 5 minutes without a server restart (#6815)Fixed
General
jszmonitoring endpoint now correctly paginates withoffset(#6794, #6816)JetStream
--jsand--store_diron the command line and then issuing a configuration reload (#6609)AckAllconsumers (#6587)FirstSeqconfigured are no longer incorrectly purged after a restart if the stream first sequence still matches the configured first sequence (#6753)@character (#6777)AckAllin R1 consumers (#6790)FilterSubjects(#6828, #6827)Gateways
Complete Changes
v2.10.27Compare Source
Changelog
Go Version
CVEs
Fixed
JetStream
Complete Changes
nats-io/nats.go (github.com/nats-io/nats.go)
v1.47.0Compare Source
Changelog
ADDED
FIXED
IMPROVED
MessagesContext.Next()doc (#1951)Complete Changes
v1.46.1Compare Source
Changelog
FIXED
Complete Changes
v1.46.0Compare Source
Changelog
Overview
This release enables features introduced in nats-server@v2.12.0.
Some features, while enabled in the client by adding relevant configuration, have APIs exposed in synadia-io/orbit.go, namely:
ADDED
ClusterInfo(#1935)AllowAtomicPublishstream configuration option (#1940)PersistModestream config option for configurable stream persistence settings (#1943)AllowMsgSchedulesstream configuration option to enable message scheduling (#1942)Messages.Next()plusFetchcontext support (#1938)IMPROVED
Complete Changes
v1.45.0Compare Source
Changelog
ADDED
WithExpectLastSequenceForSubjectpublish option (#1920)FIXED
SubscriptionClosedevent to prevent race condition (#1914)ReconnectErrHandlerfor initial connection failures withRetryOnFailedConnect(#1915)CreateOrUpdateStreampreserves domain prefix during updates (#1917)IMPROVED
Complete Changes
v1.44.0Compare Source
Changelog
Overview
This PR adds a
PushConsumerimplementation tojetstream, allowing easier migration to new API while maintaining usage of push consumers. For now it only supports the callback-basedConsume(), more consuming options will be added in future releases.ADDED
UserCredentialBytes()Connoption (#1877)PushConsumerimplementation injetstreampackageClientTraceinJetStreamOptions(#1886)WithEndpointPendingLimitsoption (#1899)Error()method toKeyListerandKeyWatcherinterfaces (#1889)FIXED
Consumer.Next()hangs after connection is closed (#1883)JetStreamContextif no deadline is set on ctx (#1909)Keys()andListKeys()returning duplicates (#1884)CHANGED
DefaultSubPendingMsgsLimit(#998)Complete Changes
v1.43.0Compare Source
Changelog
ADDED
nc.LocalAddr, similar tonc.ConnectedAddr(#1877)FIXED
fmt.PrintlnfromService.Stop()(#1880)Complete Changes
v1.42.0Compare Source
Changelog
Overview
This release adds per-key TTL functionality to key-value stores. It adds:
LimitMarkerTTLconfig option to enable automatic tombstone deletion.KeyTTLoption tokv.Create()PurgeTTL()option tokv.Purge()ADDED
Complete Changes
v1.41.2Compare Source
Changelog
ADDED
nc.RemoveStatusListener()method (#1856)FIXED
FetchandFetchBatchmemory leak (#1856)kv.PurgeDeletes()(#1858)Complete Changes
v1.41.1Compare Source
Changelog
FIXED
ObjectStore.Getwhen no deadline is set on ctx (#1850)IMPROVED
golang.org/x/textdependency (#1849)Complete Changes
v1.41.0Compare Source
Changelog
Overview
This release adds consumer priority groups to JetStream, exposing overflow and pinning policies. For more information on consumer priority groups, see ADR-42.
Added
WithDefaultTimeoutoption for JetStream API requests (#1843)Fixed
sub.StatusChangedandnc.StatusChanged(#1841)ForceReconnectto avoid panic on subsequentForceReconnectcalls (#1842, #1846)Changed
Improved
FetchandFetchBatchon reconnect (#1840)OrderedConsumerConfig.InactiveThreshold(#1845)PurgeDeletes(#1839)Complete Changes
v1.40.1Compare Source
Changelog
Overview
This release fixes an issue in legacy JetStream
Subscribewhich did not respect user-set context when creating a consumer.FIXED
js.Subscribe(#1835)Complete Changes
v1.40.0Compare Source
Changelog
Overview
This release focuses on adding support for new features from NATS Server v2.11.0. This includes:
Batch direct get will be released in orbit. Support for consumer priority groups will be added in the next minor release.
Added
ReconnectErrCBfor handling failed reconnect attempts in a callback. Thanks @sschleemilch for the contribution (#1804)Fixed
Consumer.Fetch(#1828)resp.Errorto show NATS error indeleteMsg. Thanks @imariman for the contribution (#1822)Changed
Complete Changes
stretchr/testify (github.com/stretchr/testify)
v1.11.1Compare Source
This release fixes #1785 introduced in v1.11.0 where expected argument values implementing the stringer interface (
String() string) with a method which mutates their value, when passed to mock.Mock.On (m.On("Method", <expected>).Return()) or actual argument values passed to mock.Mock.Called may no longer match one another where they previously did match. The behaviour prior to v1.11.0 where the stringer is always called is restored. Future testify releases may not call the stringer method at all in this case.What's Changed
Full Changelog: https://github.com/stretchr/testify/compare/v1.11.0...v1.11.1
v1.11.0Compare Source
What's Changed
Functional Changes
v1.11.0 Includes a number of performance improvements.
Fixes
Documentation, Build & CI
New Contributors
Full Changelog: https://github.com/stretchr/testify/compare/v1.10.0...v1.11.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Renovate Bot.
ℹ Artifact update notice
File name: go.mod
In order to perform the update(s) described in the table above, Renovate ran the
go getcommand, which resulted in the following additional change(s):Details:
github.com/klauspost/compressv1.18.0->v1.18.1github.com/minio/highwayhashv1.0.3->v1.0.4-0.20251030100505-070ab1a87a76github.com/nats-io/jwt/v2v2.7.3->v2.8.0github.com/nats-io/nkeysv0.4.10->v0.4.11golang.org/x/cryptov0.34.0->v0.43.0golang.org/x/sysv0.30.0->v0.38.0golang.org/x/timev0.10.0->v0.14.09055833c29to7269f915527269f91552tof85ef9d79af85ef9d79ato4418a1cdfd4418a1cdfdtoebfa212adaebfa212adato5df9420aba5df9420abato094e3c08d5094e3c08d5to9dbb70666f9dbb70666fto80717630598071763059to524907efa0524907efa0to0b4363d5d90b4363d5d9to10444ca10010444ca100tocc502132bacc502132bato252511a4d0252511a4d0to85dd97f7c485dd97f7c4to6c70d0892b6c70d0892bto8c3084d03d8c3084d03dtoa68663dff4a68663dff4toe9e367f76aView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.