Sync Gateway 2.8.0 - October, 2020
https://docs.couchbase.com/sync-gateway/2.8/release-notes.html#lbl-rel280
API Changes
This release introduces two new endpoints to the Admin Rest API.
_replication
- used to initialize Inter-Sync Gateway Replication_replicationStatus
- used to set or query the status of a replication- The
_replicate
and_active_tasks
endpoints are both deprecated, as they are replaced by the above.
Other Enhancements
- CBG-1022 — Require replication to be stopped prior to upsert
- CBG-921 — Ignore transaction ATR documents during DCP processing
- CBG-905 — Support using custom OIDC claim as Sync Gateway username
- CBG-880 — Python 3 support for sgcollect
- CBG-877 — Remove inappropriate logging warning related JSON parsing from ReadJSONFromMIME when request body is empty
- CBG-876 — Include Bearer prefix when sending token base authentication request in OIDC E2E tests
- CBG-864 — Improve addJSON-related error handling
- CBG-821 — Limit on channel queries triggered by 2.x replication
- CBG-820 — Add state for OIDC auth code authentication
- CBG-803 — Support for OIDC provider config refresh
- CBG-802 — Being able to configure OIDC Test Provider with HTTPS
- CBG-801 — Auto-generated OIDC callback URL should include provider when non-default
- CBG-800 — OnDemandImportForWrite bypasses migrate handling
- CBG-752 — sgcollect: Re-gzip rotated logfiles post-redaction, clean up intermediate extracted files
- CBG-751 — Improve REST-based sgcollect_info options validation
- CBG-719 — Update OIDC library
- CBG-714 — Log warning on ignored, invalid channel data
- CBG-709 — Inter-Sync Gateway Replication
- CBG-697 — SGW startup routine could use more retry logic while CBS warms up
- CBG-688 — Improve logging for x.509 connection errors
- CBG-673 — Include USE INDEX hint with channel queries
- CBG-665 — Make trace level logging a typical file logger
- CBG-664 — Enhance trace logging for blip messages
- CBG-658 — Optimize LogKey string lookup
- CBG-653 — Add 'norev' BLIP handler to log detailed error information
- CBG-640 — Wrong content type for _user and _role
- CBG-633 — Clean up duplicate db definitions in blipHandler/blipSyncContext
- CBG-630 — Validate whether multiple databases connect to the same bucket
- CBG-624 — Add database config option for HttpOnly cookies
- CBG-622 — Use secure cookies when SG is configured to listen over TLS
- CBG-600 — sgcollect_info TMPDIR setting should be a real argument
- CBG-585 — Avoid log redaction cost via UD/MD/SD when log-level disabled
- CBG-581 — Write simple JSON HTTP responses directly as raw bytes
- CBG-437 — Return error when receiving deltas for deltaSrc revisions which are tombstoned
Known Issues
- CBG-1127 — Treat resurrected tombstones as non-conflict when no shared history
- CBG-798 — Sync Gateway requires Couchbase Server nodes to use the same SSL memcached port
Fixed Issues
- CBG-1072 — CAS race can result in unordered recentSequences
- CBG-983 — _all_docs with keys parameter not returning revID
- CBG-951 — Deleted documents should set _deleted:true for import filter function
- CBG-946 — Repeated change entries on access grant to doc’s previous channel
- CBG-926 — User name not being logged for initial HTTP request
- CBG-819 — Generate empty delta as {} instead of null
- CBG-812 — Running compact when UseViews=true causes an infinite loop
- CBG-744 — OldDoc body in sync function for tombstone resurrections does not contain _deleted=true
- CBG-743 — Doc body in sync function contains _deleted=false
- CBG-741 — 403 Attachment’s doc not being synced during CBL replication
- CBG-731 — Channels query performance degradation when using limit
- CBG-727 — Panic when connecting to non-standard memcached port using couchbase(s):// scheme
- CBG-695 — Alternate addresses are always used if defined instead of applying heuristic
- CBG-661 — Errors from REST API produce invalid JSON