Releases: couchbase/sync_gateway
1.2.1
As part of this release we had 87 commits which resulted in 8 issues being closed.
Sync Gateway 1.2.1 is a patch release.
Enhancements
- #1646 "Not Imported" warning should include additional diagnostic information
Bugs
- #1573 Windows InstallShield installer fails when upgrading an existing SG 1.1.1 installation
- #1581 _sync:"sequence" is set to 0 causing documents not to replicate to our shadow bucket
- #1632 Use a ring buffer for storage of goroutineTracker snapshots
- #1638 Sync_gateway does not respawn automatically under systemd
- #1645 Upgrading from 1.1.1 to 1.2 on RHEL/CentOS does not install service
Where to get it
You can download this release from Couchbase.com
1.2.0
Sync Gateway 1.2 packs a comprehensive set of enhancements and bug fixes including:
- Database Offline/Online Administration - You can now take individual databases online/offline using the admin REST API for routine maintenance, upgrades, or to recover from datacenter network outages.
- Sync Gateway Accelerator - Optional service which enables your Sync Gateway applications to scale horizontally to meet demanding loads.
- Database
_purge
Command - Improve performance and reduce storage size by deleting tombstoned revisions from your Sync Gateway database.
Performance Improvements
- #1163 _bulk_get uses compression inefficiently
- #1179 Compress WebSocket _changes messages
- #1423 Performance degradation in distributed index testing post-access work
- #1503 First-time sync optimized backfill mode
Enhancements
- #479 Revisit service scripts to handle custom installations and multiple sync_gateway instances
- #545 Sync Gateway doesn't work with _doc_ids filter / Can't sync individual docs
- #748 Enable taking a bucket offline/online
- #881 -bucket param doesn't work in conjunction with config file where bucket not specified
- #884 Tool to collect sync gateway debugging info
- #899 Pass old current revision to 'document_changed' filter function
- #908 Allow an Admin to take a DB Offline
- #909 Allow Admin to take an Offline DB Online
- #910 Update _resync to use bucket online/offline
- #922 Channel Index - Feed Partitioning
- #923 Channel Index - Index Writes
- #925 Channel Index - Index Reads
- #948 SG as a service is not supported on Windows
- #969 Handle DCP stream end/reconnection
- #993 Channel Index - User and Role notification
- #1012 Put bucket in offline mode for n seconds
- #1013 Automatically put bucket in offline mode when lose TAP feed
- #1022 Run the service installer during package installation on Linux
- #1065 Managing hashed vector clock sequences
- #1066 Refactoring changes feed processing to support clock-based sequences
- #1072 Distributed index: deal with SG nodes going down
- #1073 Distributed index: Only open single vbucket stream for cfg document
- #1075 CBGT: Dead node detection autofailover
- #1084 Channel backfill when using vector clock sequence
- #1087 CBGT: Single manager per SG instance
- #1117 Emit vbucket sequences from access views
- #1140 [Distributed Index] Fix kvChangeIndex DocChanged() throughput bottleneck
- #1163 _bulk_get uses compression inefficiently
- #1176 Add WebHook notifications for bucket online/offline
- #1179 Compress WebSocket _changes messages
- #1205 Use bulk gocb operation for GetBulkRaw
- #1208 Avoid unnecessary channel clock retrieval
- #1209 Separate out
Server
header's functional version number from binary build number - #1219 Can't purge documents (_purge is not implemented)
- #1243 Shard clocks to avoid write bottlenecks
- #1247 Use single gocb BulkOp (BulkSet) for concurrent index writes
- #1298 [Distributed Index] sync_gateway panic when starting without feed_type.num_shards
- #1321 Consolidate feed_params and channel_index in config
- #1340 Change log path used in RPM
- #1342 Change config file path used in RPM
- #1349 Integrate Windows service wrapper into installer
- #1479 Support style=all_docs calls to _changes with a _doc_ids filter
- #1494 Enable REST retrieval of a running SG config
- #1503 First-time sync optimized backfill mode
Bugs
- #520 Fail to warn when sync_gateway user does not exist
- #787 RequireAccess throws even though user has access to "*"
- #792 Windows: MaxFileDescriptors console warning
- #807 Tests with large revs: http: panic serving [::1]:59607: can't find rev:
- #870 Documents missing when requesting _changes in SyncGateway
- #874 Sync Gateway sometimes returns incorrect last_seq
- #911 Detection of lost TAP feed impacting service availability
- #943 Some example JSON configs include non-UTF8 chars
- #959 Sync Gateway bucket shadowing crashes with error 'panic: parent id "xxx-xxxx" is missing'
- #976 Http: panic serving runtime error: index out of range on Sync Gateway 1.1 on Ubuntu 12.04.5 x86_64 cause sync failed
- #991 Panic if Origin header sent in request with no SG config
- #1007 Large revs with no common parent. Panic serving, can't find rev
- #1033 SG Panics if _bulk_get is passed empty JSON object
- #1049 Session disappears immediately with large TTL
- #1072 Distributed index: deal with SG nodes going down
- #1083 MaxFileDescriptors setting shouldn't reduce the system defined values
- #1093 Panic in (*DatabaseContext).getChangesInChannelFromView
- #1100 [distributed_index] should we support old config format/settings for SG
- #1111 [distributed_index] startup SG crash in sequence_clock
- #1153 SG can't be installed as a service on Couchbase SG AMI
- #1174 LastPolled retrieval not working during performance testing
- #1200 GET _design fails with "Internal error: http: read on closed response body"
- #1204 Create sysv-init script for CentOS 5
- #1213 Changes feed for * channel missing entries
- #1230 [distributed index] Empty channels trigger redundant clock lookups
- #1245 Distributed-index changes feed requests has high latency as compared with old sync gateway
- #1248 Duplicates in _changes feed with distributed index with multiple users and multiple channels
- #1253 Gocb retry logic: _changes intermittently returning 0 results for distributed index
- [*...
1.1.1
As part of this release we had 97 commits which resulted in 18 issues being closed.
enhancements
- #945 Set no-caching headers on _changes HTTP response
- #942 Support an array of URLs for the "server" key in config JSON
- #904 Support for max heartbeat in Sync Gateway
bugs
- #1027 SG panics if _bulk_docs is passed empty JSON object
- #1011 Uptake BucketUpdater for upgrade, stability
- #995 Error in sync function example: use of throw
- #986 Improve failure handling during invalidateChannels
- #936 High memory usage during push replication
- #916 _changes feed with "longpoll" and "since" sometimes returns empty results
- #895 Non int last_seq id in _changes request fails
- #768 Load balancer behavior results in high SG memory utilization
Where to get it
You can download this release from Couchbase.com
1.1.0
Sync Gateway 1.1 packs in a number of significant enhancements, including:
- A new integration mechanism: Webhooks. With this release, we are beginning to expose an event model to which you can add handlers. This makes it even easier to integate Couchbase Mobile with line of business applications, 3rd party services and apps, etc.
- PouchDB compatibility. Extend your Couchbase Mobile user experience to your HTML5/JavaScript apps.
Cross-Origin Resource Sharing (CORS) support. Enable Sync Gateway to respond to HTTP requests that origin from one or more approved external websites. - Friendlier default configuration. Now when you run Sync Gateway without providing any configuration options, the Guest user will be enabled and will have access to all documents. The tradeoff, for security reasons, is that Sync Gateway will default to listening on the local loopback interface only.
- Production certification for Couchbase 3.1, and non-production certification for using 4.0 (Beta 1). Sync Gateway users are encouraged to upgrade to 3.1 in order to take advantage of all the great improvements since the 2.5.2 release.
Performance
Enhancements
- #859 Uptake TCP keep-alive support for go-couchbase
- #763 Improve view creation by Sync Gateway
- #708 Insecure mode on default sync_gateway bucket
- #482 Sync Gateway web hooks
- #457 Add additional platform support for service installation scripts
- #404 Moving from TAP to DCP
Bugs
- #880 Changes feed fails to backfill channel under heavy access() load
- #878 sg doesn't properly handle config files with buckets '%' in the name
- #852 webhooks events can't POST for HTTPS servers using self-signed cert
- #850 Logging doesn't always use the same unit
- #847 Installing sync gateway service fails
- #821 Session API does not honor the password parameter
- #812 webhooks: Not all events are getting POSTed
- #811 webhook: Not all revision ids are sent with webhook events.
- #810 Sync Gateway crashes while processing webhook events
- #809 Sync Gateway crashes while processing the changes feed
- #808 The revision Id passed in the Etag header should be enclosed in quotes
- #783 Windows line breaks in sync function cause SG to fail
- #775 SG handling for mutations deduplicated by Couchbase feed
- #762 configurable CORS on login resources
- #745 Ignores heartbeat parameter in _changes POST request
- #691 Bucket name with percent symbol is not handled correctly in config file
- #687 Windows: Pull replication doesn't work on :4984 (no documents or changes returned)
- #679 Webhook does not give warning or error when http server delay response pass the timeout value
- #661 Webhook filter with invalid event type or event handler does not result in error or warning to users
- #653 Sync Gateway not starting first time
- #628 DCP events not appearing on changes feed
- #621 Changes Feed repeats all the changes when a change is made
- #563 SG service installation, when using --runas, update all paths that point to user home
- #562 PUT /db should not return 405; causes client replicator to fail
- #544 Sync_gateway service installation result in two data directories when there is an inactive service
- #535 sync_gateway_service_install.sh should explicitly state that command-line arguments require an '=' before the value
- #530 Some of the service install script parameters should be removed
- #525 SG TAP timeout issue
- #521 Fail to start sync_gateway service
- #513 When stopping Sync_gateway service on Centos 6 process is left running
- #501 Revision pruning isn't effective when history includes conflicts (even when tombstoned)
- #491 Items in SG channel not reflected in change feed.
Where to get it
You can download this release from Couchbase.com
Requirements
Sync Gateway 1.1 is compatible with the following editions of Couchbase Server:
Sync Gateway | Couchbase Server |
---|---|
1.1 | 2.2.x |
1.1 | 2.5.x |
1.1 | 3.0.5 |
1.1 | 4.0 Beta 1 (though not supported for production use) |
Support Statement
Version 1.0 was released in May, 2014. With this release of version 1.1, the support window for 1.0 expires in December 2015.
Release | Release Date | End of Life Date |
---|---|---|
1.0 | May 2014 | June 2016 |
1.1 | June 2015 |
Sync Gateway 1.0.4 GA
fixed error in plist format
1.0.0
Official 1.0 release. Downloads available at Couchbase.com.
1.0-beta3
See the list of changes since beta 2.