Releases: couchbase/sync_gateway
Release list
4.1.1 — July 2026
https://docs.couchbase.com/sync-gateway/4.1/product-notes/release-notes.html
What's Changed
- [4.1.1 Backport] CBG-5541: Explicitly ignore collection-scoped 'non-metadata' _sync docs from metadata migration by @bbrks in #8428
- [4.1.1 backport] CBG-5552 ensure activeOnly+limit return all results with channel removals by @torcolvin in #8432
Full Changelog: 4.1.0.1...4.1.1
4.0.7 — July 2026
https://docs.couchbase.com/sync-gateway/4.0/product-notes/release-notes.html
What's Changed
- [4.0.7 backport] CBG-5553 ensure activeOnly+limit return all results with channel removals by @torcolvin in #8433
Full Changelog: 4.0.6...4.0.7
3.3.7 — July 2026
https://docs.couchbase.com/sync-gateway/3.3/product-notes/release-notes.html
What's Changed
- [3.3.7 backport] CBG-5554 ensure activeOnly+limit return all results with channel removals by @torcolvin in #8434
Full Changelog: 3.3.6...3.3.7
4.1.0.1 — July 2026
https://docs.couchbase.com/sync-gateway/4.1/product-notes/release-notes.html
What's Changed
- [4.1.0.1 backport] CBG-5550: Revert "CBG-5262 fix missing changes with active_only=true and limit=" by @torcolvin in #8418
Full Changelog: 4.1.0...4.1.0.1
4.1.0 — July 2026
https://docs.couchbase.com/sync-gateway/4.1/product-notes/release-notes.html
What's Changed
- CBG-4853: Cut
release/4.0.0and movemainto 4.1 by @bbrks in #7784 - CBG-4862 force SendRev to check for errors by @torcolvin in #7762
- CI: Add manifest validation by @bbrks in #7787
- modify revs_limit API docs by @torcolvin in #7786
- Bump golang.org/x/net from 0.43.0 to 0.44.0 by @dependabot[bot] in #7756
- Cleanup jenkins scripts by @torcolvin in #7648
- Expand EditorConfig with IntelliJ directives and align with ruff/yamllint by @bbrks in #7790
- Reformat manifest XMLs according to EditorConfig by @bbrks in #7789
- Refresh LongRunningTest for faster
-shorttest suite runs by @bbrks in #7791 - CBG-3594: Check if CORS config is actually empty before adding CORS response headers by @bbrks in #7792
- CBG-2318: Rename public channel const by @bbrks in #7793
- CBG-4866: delta sync for legacy rev mutations over ISGR will not send deltas by @gregns1 in #7780
- CBG-4799: allow active replicator tests to run in both v4 and < v4 protocol by @gregns1 in #7795
- Bump github.com/quasilyte/go-ruleguard/dsl from 0.3.22 to 0.3.23 by @dependabot[bot] in #7796
- Bump github.com/go-jose/go-jose/v4 from 4.1.1 to 4.1.3 by @dependabot[bot] in #7797
- Bump github.com/couchbase/gocb/v2 from 2.10.1 to 2.11.1 by @dependabot[bot] in #7769
- Run gopls modernize auto fix by @torcolvin in #7794
- CBG-4745 allow windows to be slow by @torcolvin in #7800
- CBG-4842: bump testify to 1.11.1 by @RIT3shSapata in #7799
- CBG-4907: fix for panic in CheckProposedVersion for legacy revision case by @gregns1 in #7802
- CBG-4894: Consider local/remote tombstones in the default conflict resolver for ISGR by @gregns1 in #7798
- CBG-4910: Add service type for wait until ready options by @RIT3shSapata in #7807
- CBG-4912 fix the RTE algorithm by @torcolvin in #7808
- CBG-4914 use standard rosmar SourceID when not using go test by @torcolvin in #7811
- CBG-4899: fix flaky test TestChangesFeedExitDisconnect by @RIT3shSapata in #7805
- Update github.com/shirou/gopsutil to v4 by @Juneezee in #7785
- CBG-4902: Fix Flaky Test
TestBlipOneShotChangesSubscriptionby @RIT3shSapata in #7815 - Bump golang.org/x/net from 0.44.0 to 0.46.0 by @dependabot[bot] in #7818
- Bump github.com/coreos/go-oidc/v3 from 3.15.0 to 3.16.0 by @dependabot[bot] in #7821
- Make TestLogFormat actually asserts by @torcolvin in #7822
- CBG-4926 deflake topologytests by @torcolvin in #7824
- Bump golang.org/x/oauth2 from 0.30.0 to 0.32.0 by @dependabot[bot] in #7820
- Bump github.com/shirou/gopsutil/v4 from 4.25.8 to 4.25.9 by @dependabot[bot] in #7819
- auth test: refactor for better error by @torcolvin in #7814
- CBG-4677 restart db initialization if needed by @torcolvin in #7825
- CBG-4579: Add uint64 support to few metrics in sgw by @RIT3shSapata in #7828
- Remove RetryLoopCas since RetryLoop behaves identically by @torcolvin in #7823
- CBG-971: wait for checkpointer to fire by @gregns1 in #7830
- CBG-4942 obey db scope for CORS.LoginOrigin by @torcolvin in #7831
- CBG-4947 create 4.0.0.1 and 3.3.0.1 builds by @torcolvin in #7832
- Fix for manifest/product-config mismatch by @adamcfraser in #7836
- Revert "Remove RetryLoopCas since RetryLoop behaves identically (#7823)" by @torcolvin in #7837
- CBG-4921: TestUserXattrRevCache flake fix by @gregns1 in #7838
- Bump github.com/KimMachineGun/automemlimit from 0.7.2 to 0.7.5 by @dependabot[bot] in #7839
- Add hlv test cases for legacy rev history by @torcolvin in #7827
- CBG-4962 create cookie with SameSite=None if CORS enabled by @torcolvin in #7841
- CBG-4963 create 4.0.0.2/3.3.0.2 by @torcolvin in #7842
- CBG-4895: Allow tuning of dcp_read_buffer and kv_buffer server connstr parameters by @RIT3shSapata in #7829
- CBG-4967 don't set SameSite:None without Secure by @torcolvin in #7847
- CBG-4948 update the documentation for CORS by @torcolvin in #7833
- Setup 3.2.7/3.3.1/4.0.1.xml by @torcolvin in #7848
- CBG-4966 create a one time session id for blipsync by @torcolvin in #7845
- CBG-4930: Add Revtree to RevMessage's stringer function by @RIT3shSapata in #7840
- CBG-4924 ignore updating local rev if BlipTesterCollectionClient is closed by @torcolvin in #7862
- CBG-4968: Avoid logging at debug in pruning of cache by @gregns1 in #7863
- CBG-4470: Simplify PutExistingCurrentVersion by @RIT3shSapata in #7866
- CBG-4746: Deduplicate channel set outside processEntry by @gregns1 in #7861
- CBG-4955 fix test flakes in attachment migration tests by @torcolvin in #7867
- CBG-4892: Add eccv to cluster_info endpoint by @RIT3shSapata in #7846
- CBG-4993 support views in test harness with CBS 8.0 by @torcolvin in #7872
- Bump golang.org/x/oauth2 from 0.32.0 to 0.33.0 by @dependabot[bot] in #7871
- CBG-4345 don't panic if role documents can't be read by @torcolvin in #7816
- CBG-4923: Prevent Excessive conflict logging in PutCurrentVersion by @RIT3shSapata in #7865
- CBG-4980: support /db/_flush for internal testing by @torcolvin in #7864
- CBG-4988 log panics in http by @torcolvin in #7876
- CBG-3689: CheckProposedRev does not unmarshall the entire history by @RIT3shSapata in #7875
- CBG-4714: collect goroutine stack traces on signal by @gregns1 in #7870
- CBG-4989 don't panic if no _vv but _sync.rev.ver on import by @torcolvin in #7877
- Bump golang.org/x/crypto from 0.43.0 to 0.44.0 by @dependabot[bot] in #7882
- Bump github.com/coder/websocket from 1.8.12 to 1.8.14 by @dependabot[bot] in #7883
- Bump golang.org/x/net from 0.46.0 to 0.47.0 by @dependabot[bot] in #7884
- CBG-4747: remove serialisation from caching process by @gregns1 in #7885
- CBG-4981: fix panic in _config?include_runtime=true endpoint by @gregns1 in #7887
- Remove goutils logger by @torcolvin in #7886
- Update test comment description by @torcolvin in #7826
- CBG-4928: Update log messages on changes feed being cancelled by @RIT3shSapata in #7880
- CBG-4932 improve ResyncManger test flakes by @torcolvin in #7891
- CBG-5006: Split ServerContext mutexes by @bbrks in #7889
- CBG-5020: fix panic in eviction based on out of sync stats by @gregns1 in #7895
- CBG-5020 Avoid double-counting memory correction by @adamcfraser in #7900
- CBG-5022: move rev cache locks into defer where possible...
4.0.6 — June 2026
https://docs.couchbase.com/sync-gateway/4.0/product-notes/release-notes.html
What's Changed
- [4.0.6 Backport] CBG-5396: User Access history Compaction by @RIT3shSapata in #8327
- [4.0.6 Backport] CBG 5394: Document Channel HIstory compaction by @RIT3shSapata in #8326
- CBG-5453: [4.0.6 backport] generate HLV.version from our own HLC for SGW actor writes by @gregns1 in #8366
Full Changelog: 4.0.5...4.0.6
3.3.6 — June 2026
https://docs.couchbase.com/sync-gateway/3.3/product-notes/release-notes.html
What's Changed
- [3.3.6 Backport] CBG-5393: Document channel history compaction by @RIT3shSapata in #8334
- [3.3.6 Backport] CBG-5395: User Access History Compaction by @RIT3shSapata in #8328
Full Changelog: 3.3.5...3.3.6
4.0.5 — June 2026
https://docs.couchbase.com/sync-gateway/4.0/product-notes/release-notes.html
What's Changed
- [4.0.5 backport] CBG-5342: add no race to avoid race detection on replator tests by @gregns1 in #8206
- CBG-5268: [4.0.5 backport] Add journalctl command to collect kernel messages by @gregns1 in #8228
- CBG-5255 [4.0.5 backports] allow metadata id to be nil while syncinfo exists by @gregns1 in #8229
- [4.0.5 backport] CBG-5287: fix missing changes with active_only=true and limit= by @gregns1 in #8227
- CBG-5361: [4.0.5 backport] fix panic for on demand get when ErrImportCancelled is returned from import by @gregns1 in #8249
- CBG-5368: [4.0.5 backport] escape . characters for channel removal macro expansion by @gregns1 in #8254
- CBG-5324: [4.0.5 backport] docs updates by @gregns1 in #8257
- CBG-5365-followup-backport: fix escaping issue by @gregns1 in #8258
- CBG-5311: [4.0.5 backport] Cleanup for GetUser by @gregns1 in #8261
- CBG-5383: [4.0.5 backport] fix resync regenerate sequences set sync info no-op by @gregns1 in #8273
Full Changelog: 4.0.4...4.0.5
3.3.5 — June 2026
https://docs.couchbase.com/sync-gateway/3.3/product-notes/release-notes.html
What's Changed
- [3.3.5 backport] CBG-5341: add no race to avoid race detection on replator tests by @gregns1 in #8207
- CBG-5269: [3.3.5 backport] Add journalctl command to collect kernel messages by @gregns1 in #8230
- CBG-5286 [3.3.5 backport] fix missing changes with active_only=true and limit= by @gregns1 in #8231
- CBG-5310: [3.3.5 backport] Cleanup for GetUser by @gregns1 in #8262
- CBG-5384: [3.3.5 backport] fix panic for on demand get when ErrImportCancelled is returned from import by @gregns1 in #8270
- CBG-5382: [3.3.5 backport] fix resync regenerate sequences set sync info no-op by @gregns1 in #8272
Full Changelog: 3.3.4...3.3.5
3.2.8 — June 2026
https://docs.couchbase.com/sync-gateway/3.2/product-notes/release-notes.html
What's Changed
- [3.2.8 backport] CBG-5033 Avoid panic during eviction when memory stats are incorrect by @adamcfraser in #7902
- [3.2.8] CBG-5008: Redo ServerContext lock changes by @bbrks in #7913
- [3.2.8 backport] CBG-5340: add no race to avoid race detection on replator tests by @gregns1 in #8208
- CBG-5309: [3.2.8 backport] Cleanup for GetUser by @gregns1 in #8263
- [3.2.8] Remove unused gocov by @gregns1 in #8268
- CBG-5385: [3.2.8 backport] fix panic for on demand get when ErrImportCancelled is returned from import by @gregns1 in #8271
Full Changelog: 3.2.7...3.2.8