Fixes for Data Explorer autocomplete, compilation fixes, other small fixes.
None.
- Server
- Avoid unaligned memory accesses and bus errors on 32-bit ARM (#7128)
- Compilation
- Replace bad zlib URL with working one (#7121)
- Fix new include errors (#7119)
- Avoid using deprecated
fstat64function (#7141)
- Web UI
- Fix data explorer auto-complete (#7111, #7113)
- Update ReQL documentation link (#7112, #7114)
- @sg5506844
- Sam Hughes (@srh)
Windows release, FreeBSD 13 compilation, certificate chain support, no update checker complaint.
None. Some console output is altered, though.
- Server
- Fail correctly when failing to remove directory (#4647)
- Improve --initial-password help text (#7064)
- Add machine arch and uname to rethinkdb version output (#7060)
- Improve general help formatting (#7095)
- Update OpenSSL version (if fetched and statically linked) to 3.0.7 (#7099)
- Make TLS configuration support certificate chains (#6969)
- Regenerate the version correctly (eliminating update checker annoyance) (#7100)
- Compilation
- Get the Windows build working (#7074, #7075, #7082, #7083)
- Switch from QuickJS to QuickJSpp (our fork hosted at https://github.com/rethinkdb/quickjspp )
- Include <time.h> in files using time function (#7091)
- and add more explicit includes for future-proofing (#7098)
- Get FreeBSD build working (#7088, #7098)
- Avoid some uses of egrep (#7092)
- Get the Windows build working (#7074, #7075, #7082, #7083)
- Web UI
- Update jQuery to 3.6.1 (#6937)
- Mariano Rodríguez (@MarianoRD)
- Hung-Te Lin (@hungte)
- Antoni Mróz (@MrBoombastic)
- unx (@unxcepted)
- Russel Beswick (@besworks)
- Sam Hughes (@srh)
- Gábor Boros (@gabor-boros)
Special thanks are due to Antoni Mróz and unx for getting the Windows release working.
Released on 2022-04-24
Bitrot, futureproofing, and bug fix release.
No migration is required when upgrading from RethinkDB 2.4.x. Please read the RethinkDB 2.4.0 release notes if you're upgrading from an older version.
RethinkDB 2.4.x servers cannot be mixed with servers running RethinkDB 2.3.x or earlier in the same cluster.
The r.js ReQL command now uses QuickJS to run instead of v8.
Because RethinkDB's v8 version was old, this will allow you to use
newer JavaScript features. However, performance and the results of
your JavaScript code may differ.
(Issue numbers point into the https://github.com/rethinkdb/rethinkdb
bugtracker. For a completionist list of changes, run git log v2.4.1..v2.4.2.)
- Server
- Fix 32-bit overflow bug with Raft log indexes (#7036)
- Make
r.httprequests use HTTP/1.1 (#7012). This works aroundr.http's inability to parse HTTP/2 responses. - Fix saslname decode logic (#7016)
- The limit of 127 threads has been removed (#6895)
- On newer MacOSes, make assertion failures abort the process (#7049)
- On newer MacOS builds, upon assertion failures, generate backtraces correctly (#7049)
- Fix an O(1) memory leak (#7010)
- Fix some newer MacOS warnings and compilation errors (#7014)
- Fix some other GCC warnings (various commits)
- Update curl dependency to 7.82.0
- Update jemalloc dependency to 5.2.1
- Update libidn dependency to 1.38
- Update openssl dependency (if fetched) to 3.0.1
- Get Apple M1 building working
- Compilation
- Split out web assets code and its build dependency chain to the
old_adminbranch (#6979) - Package generation updates for Ubuntu 21.10, 22.04, and Debian Bullseye (#7021)
- More package generation updates for Debian (commit da34c2f)
- Make install-include depend on dependency install witness (commit 79c6857)
- Make RPM building explicitly name fetched dependencies and dynamically link (#7035)
- Add RDB_NO_BACKTRACE flag for musl users (#7052)
- A patch for wider boost compatibility was supplied (#6934)
- Split out web assets code and its build dependency chain to the
- Web UI
- The web UI was excised to the branch https://github.com/rethinkdb/rethinkdb/tree/old_admin (#6979)
Many thanks to the following contributors whose patches made it into the RethinkDB 2.4.2 server release:
- Rui Chen (@chenrui333)
- Mathieu Schroeter (@Skywalker13)
- Yong-Hao Zou (@zouyonghao)
- zadcha (@zadsza)
- Leo Arias (@elopio)
And many thanks go to the driver committers, alternative admin console client developers, bug reporters, and other helpful people who are not listed here.
--
Released on 2020-08-13
Bug fix release.
No migration is required when upgrading from RethinkDB 2.4.x. Please read the RethinkDB 2.4.0 release notes if you're upgrading from an older version.
RethinkDB 2.4.0 servers cannot be mixed with servers running RethinkDB 2.3.x or earlier in the same cluster.
(Issue numbers point into the https://github.com/rethinkdb/rethinkdb bugtracker.)
- Server
- Force flushing when stdout isn't on a TTY (#6819)
- Fix code style issues (#6842)
- Fix warnings about missing assignment definitions in clang 10.0.0 (commit 3ca96904)
- Compilation
- Fix aarch64 builds in 2.4.x using clang++ (commit 01683d3e)
- Fix Linux Mint 20 build errors (commit 328ebfb)
- Web UI
- Reintroduce update checker (#6879)
- Allow hyphens in table and database names (#6908)
Released on 2019-12-19
RethinkDB 2.4 introduces write hooks and a few other enhancements.
Data files from RethinkDB version 1.16 onward will be automatically migrated. As with any major release, back up your data files before performing the upgrade. Please read the RethinkDB 2.3.0 release notes if you're upgrading from version 2.2.x or earlier.
RethinkDB 2.4.0 servers cannot be mixed with servers running RethinkDB 2.3.x or earlier in the same cluster.
Except for JavaScript, the official drivers are now generally
maintained as separate projects. But note that there is some coupling
of RethinkDB console commands, like rethinkdb dump, with the Python
driver. RethinkDB 2.4 contains some old copies of the drivers to keep
./test/run working with minimal effort. The JavaScript driver is
still used in the Web UI. However, the web assets are now
pre-generated, at src/gen/web_assets.cc, making the presence of the
driver in the repository not strictly necessary.
Here are links to the official drivers:
- Python: https://github.com/rethinkdb/rethinkdb-python/
- Ruby: https://github.com/rethinkdb/rethinkdb-ruby/
- Java: https://github.com/rethinkdb/rethinkdb-java/
- JavaScript: https://github.com/rethinkdb/rethinkdb/tree/next/drivers/javascript
- Write hooks add a new field to the table configuration.
- A bugfix changes the
matchcommand's behavior on empty regexes. It had previously been behaving incorrectly.
(Issue numbers point into the https://github.com/rethinkdb/rethinkdb bugtracker.)
- ReQL
- Added the
set_write_hookandget_write_hookcommands, which attach to tables a function that can modify the behavior of any write. (#5813) - Added bitwise operators for number types:
bit_and,bit_not,bit_or,bit_sal(orbit_shl),bit_sar,bit_shr, andbit_xor. (#6534) - Permitted the hyphen character (
-) to be used in table names. (#5537) - Users may be granted permissions on system tables. (#5692)
- Make
iso8601command round, not truncate. (#6909) - Fix timestamp millisecond down-truncation bug. (#6272)
- Added the
- Server
- Fixed crash with limit change feed
insertedguarantee failure. (#6710) - Avoid using DNS resolution when finding network interface addresses. (#6588)
- Removed update checker. (#6791)
- Added experimental support for arm64/aarch64. (#6438)
- Added experimental support for Power8/LE platform. (#6317)
- Fixed race condition in the query cache. (#6564)
- Avoid quadratic growth in segmented vector. (#6385)
- Big-Endian fixes and s390x support. (#6242)
- Fixed crash with limit change feed
- Web UI
- Implemented a new table viewer widget for browsing the contents of tables. (#6767)
- Improved table page performance in case with many databases. (#6790)
- Compilation
- The web assets are now pre-generated, so that macOS users can build them. (#6770)
- Debian package building is now parallelized. (#6780)
- Fixed extproc spawner bug. (#5572)
- Allowed building against libressl. (#6671)
- JavaScript Driver
- Avoided mutating object passed to
r.connect. (#6575)
- Avoided mutating object passed to
- Python Driver
- See more details at https://github.com/rethinkdb/rethinkdb-python/releases
- Other Drivers
- Changes omitted, as they're in separate repositories.
Released on 2017-07-17
Bug fix release
This is the first release of RethinkDB since October 2016. The RethinkDB project has joined the Linux Foundation. This release is brought to you by volunteers from the Open RethinkDB team. The RethinkDB source code is now licensed under an ASLv2 license.
On 32-bit platforms and on Windows (64 and 32 bit), RethinkDB 2.3.6 servers should not
be mixed with servers running RethinkDB 2.3.3 or older in the same cluster. Doing so can lead to
server crashes when using the web UI or when accessing the logs system table.
On 64-bit platforms, RethinkDB 2.3.6 servers can be mixed with older RethinkDB 2.3.x servers in the same cluster. We recommend that you run a mixed-version cluster only temporarily for upgrading purposes.
No migration is required when upgrading from RethinkDB 2.3.x. Please read the RethinkDB 2.3.0 release notes if you're upgrading from an older version.
- Server
- Improved the compatibility of the web UI with Chrome 49 and Edge (#5878, #5426, #5300) -- @danielmewes
- Fixed a crash caused by unwanted connections (#6084) -- @danielmewes
- Fixed a crash caused by recreating indexes with active changefeeds (#6093) -- @danielmewes
- Sizes passed to
sampleare now bound by the array size limit (#6148) -- @AtnNn - Fixed a crashing bug in the implementation of the
interleaveargument tounion(#6139) -- @AtnNn - Fixed a crash caused by
eqJoinof system tables when using theuuididentifierFormat(#6108) -- @nighelles - Fixed a bug that caused
r.match('')to return wrong results (#6241) -- @AtnNn - Miscellaneous regression fixes and code improvements by @srh and @VeXocide
- Fixed argument order in pretty-printed queries in the jobs table (#6240) -- @AtnNn
- Packaging
- Fix glibc version detection in RPM packaging script (#6229) -- @gamename
- Add packages for Ubuntu Yakkety and Zesty (#6364) -- @AtnNn
--
Released on 2016-08-26
Bug fix release
On 32-bit platforms and on Windows (64 and 32 bit), RethinkDB 2.3.5 servers should not
be mixed with servers running RethinkDB 2.3.3 or older in the same cluster. Doing so can lead to
server crashes when using the web UI or when accessing the logs system table.
On 64-bit platforms, RethinkDB 2.3.5 servers can be mixed with older RethinkDB 2.3.x servers in the same cluster. We recommend that you run a mixed-version cluster only temporarily for upgrading purposes.
No migration is required when upgrading from RethinkDB 2.3.x. Please read the RethinkDB 2.3.0 release notes if you're upgrading from an older version.
- Server
- Improved the efficiency of the on-disk garbage collector to reduce the risk of excessive file growth (#5923)
- Improved the latency of read queries under heavy write loads (#6072)
- Fixed a bug that could cause the server to crash with a deserialization error or to stop completing any table reads (#6033)
- Fixed a bug in the implementation of the
interleaveoption of theunioncommand, which could potentially lead to results being generated in the wrong order (#6041) - Fixed a bug in the batch handling of the
foldand multi-streammapcommands, that would stop results from being generated correctly if these commands were applied to a changefeed (#6007) - Fixed an issue that could cause proxies to remain listed in the
connected_tofield of theserver_statustable, even after they had disconnected (#5871) - Fixed the detection of non-deterministic conflict functions in the
insertcommand (#5842) - Improved the Raft election timeout logic to avoid infinite Raft election loops (#6038)
- Improved the response time when reading from the
table_statussystem table (#4589) - The server no longer logs the message
Rejected a connection from server X since one is already openwhen trying to connect to itself (#5456) - Fixed a bug that could cause an
Uncaught exceptionserver crash if a TLS-encrypted connection was closed during a certain connection stage (#5904) - Fixed a bug in
mergethat could causer.literalobjects to remain after themergeand be stored in a table (#5977) - On Windows: Fixed a bug in the
r.httpcommand that resulted in decoding issues (#5924) - On Windows: RethinkDB now binds TCP ports exclusively (#6008)
- On Windows: No longer print an error to the log whenever a connection attempt fails (no issue #)
- Fixed a build issue that caused system libraries to not be found during
makeon OpenSUSE (#2363)
- JavaScript driver
- Fixed the server nonce validation in the connection handshake (#5916)
- The
hostargument toconnectis now optional (#5846)
- Java driver
- Cursors now implement the
Closeableinterface (#5468) - Fixed no-reply queries as run through
runNoReply(#5938) - Fixed a bug in the
reconnectmethod (#5841) - Fixed a memory leak in the
Connectionobject that was caused by the driver not properly cleaning up closed cursors (#5980)
- Cursors now implement the
- Python driver
- The
asyncioloop type is now available when using the driver from a Python .egg file (#6043)
- The
- Ruby driver
- Fixed a rounding issue with time objects (#5825)
Many thanks to external contributors from the RethinkDB community for helping us ship RethinkDB 2.3.5.
- Arve Seljebu (@arve0)
- Ben Sharpe (@bsharpe)
- Brian Chavez (@bchavez)
- Dan Wiechert (@DWiechert)
- mbains (@mbains)
- QianJin2013 (@QianJin2013)
- Raman Gupta (@rocketraman)
--
Released on 2016-06-03
Bug fix release
On 32-bit platforms and on Windows (64 and 32 bit), RethinkDB 2.3.4 servers should not
be mixed with older RethinkDB 2.3.x servers in the same cluster. Doing so can lead to
server crashes when using the web UI or when accessing the logs system table.
On 64-bit platforms, RethinkDB 2.3.4 servers can be mixed with older RethinkDB 2.3.x servers in the same cluster. We recommend that you run a mixed-version cluster only temporarily for upgrading purposes.
No migration is required when upgrading from RethinkDB 2.3.x. Please read the RethinkDB 2.3.0 release notes if you're upgrading from an older version.
- Server
- Fixed a segmentation fault in the
orderBy.limitchangefeed implementation (#5824) - Fixed an incompatibility in the cluster protocol between Windows and Linux / OS X servers (#5819)
- Fixed a segmentation fault in the
- Python driver
- Fixed various bugs in the connection class for the asyncio event loop (#5795, #5816, #5820)
Many thanks to external contributors from the RethinkDB community for helping us ship RethinkDB 2.3.4.
- Ultrabug (@ultrabug)
--
Released on 2016-06-01
Bug fix release
RethinkDB 2.3.3 servers can be mixed with older RethinkDB 2.3.x servers in the same cluster. We recommend that you run a mixed-version cluster only temporarily for upgrading purposes.
No migration is required when upgrading from RethinkDB 2.3.x. Please read the RethinkDB 2.3.0 release notes if you're upgrading from an older version.
RethinkDB 2.3.0 was the first version to include native Windows compatibility. In RethinkDB 2.3.3, the Windows port is ready to emerge from "beta" testing. We now officially support RethinkDB on the Windows platform alongside our existing support for Linux and Mac OS X. We're also extending our commercial support services to include RethinkDB on Windows.
Although RethinkDB is now stable on Windows, there are still a few remaining limitations that we are actively working to address. We also haven't yet carried out as much performance tuning on the Windows port as we have on the Linux and OS X releases.
- Server
- Fixed a bug in
orderBy.limitchangefeeds that caused the server to crash withGuarantee failed: [sub_it != real_added.end()](#5561) - Improved the performance of the
table_statussystem table when the cluster is under high load (#5586) - Fixed a race condition in the cluster connection logic that could cause occasional
crashes with a
Guarantee failed: [refcount == 0]error (#5783) - Fixed a stack overflow when executing queries with a very high number of chained commands (#5792)
- Made the
foldcommand work on a changefeed stream (#5800) - Fixed the server uptime calculation on Windows (#5388)
- Fixed source code incompatibilities with GCC 6.0 (#5757)
- Fixed a bug in
- JavaScript driver
- The
Connectionclass is now exported from the RethinkDB JavaScript module (#5758)
- The
- Java driver
- Added the
clientPortandclientAddressmethods to theConnectionclass in the Java driver (#5571)
- Added the
Many thanks to external contributors from the RethinkDB community for helping us ship RethinkDB 2.3.3.
- Gergely Nemeth (@gergelyke)
--
Released on 2016-05-06
Bug fix release
RethinkDB 2.3.2 servers can be mixed with older RethinkDB 2.3.x servers in the same cluster. We recommend that you run a mixed-version cluster only temporarily for upgrading purposes.
No migration is required when upgrading from RethinkDB 2.3.x. Please read the RethinkDB 2.3.0 release notes if you're upgrading from an older version.
- Server
- Fixed a data corruption issue in the secondary index construction logic. The issue
could be triggered by creating a secondary index while the table is under write load
and could result in a
Guarantee failed: [token.has()]error when accessing the index (#5715) - Fixed an issue in the Windows beta release that caused data corruption whenever growing a table to more than 4 GB (#5719)
- Fixed a crash with the message
Guarantee failed: [num_subs == 0]that could occur when shutting down a server while trying to start new changefeeds at the same time (#5708) - Fixed a crash with the message
Guarantee failed: [!pair.first.inner.overlaps(region.inner)]that could occur when using changefeeds while resharding (#5745) - Added a
--tls-min-protocolserver option for reducing the minimum required TLS protocol version. Drivers using an old OpenSSL version (e.g. on OS X) might require this option in order to connect to a TLS-enabled RethinkDB server (#5734) - Added a check to disallow using
order_bywith a non-deterministic predicate function (#5548) - Fixed a segmentation fault at address 0x18 that could occur in low-memory conditions on Linux (#5348)
- Fixed a stack overflow issue when parsing very deeply nested objects (#5601)
- Improved the stack protection logic in order to avoid exceeding the system's memory map limit. This issue affected Linux servers when having a very high number of concurrently running queries (#5591)
- The server is now built with jemalloc version 4.1 on Linux (#5712)
- Fixed the message that is displayed when a query times out in the Data Explorer (#5113)
- Improved the handling and reporting of OpenSSL-related errors (#5551)
- Added a new server option
--cluster-reconnect-timeoutto control how quickly RethinkDB gives up trying to reconnect to a previously connected server (#5701) - Fixed a race condition when writing to system tables that could lead to incorrect update results (#5711)
- A custom conflict resolution function for the
insertcommand can now returnnullin order to delete a conflicting document (#5713) - Improved the error message emitted when opening a changefeed on an
orderBy.limitquery that has additional transformations (#5721) - Fixed an incompatibility with Safari that could cause undesired page reloads in the web UI (#3983)
- Fixed a data corruption issue in the secondary index construction logic. The issue
could be triggered by creating a secondary index while the table is under write load
and could result in a
- Python driver
- The Python driver's
ssloption now supports older Python versions from 2.7 up (#4815) - Added a REPL mode that can be launched through the new
python -m rethinkdbcommand (#5147) - Added a cache for PBKDF2 authentication tokens to reduce the costs of repeatedly opening connections (#5614)
- Refactored how the RethinkDB import and export scripts load the driver (#4970)
- Improved the error message reported when attempting to connect to a pre-2.3.0 server (#5678)
- Fixed an incompatibility with Python 3 in the
rethinkdb dumpscript that causedname 'file' is not definederrors (#5694) - Fixed an incompatibility with Python 3.3 in the protocol handshake code (#5742)
- The Python driver's
Many thanks to external contributors from the RethinkDB community for helping us ship RethinkDB 2.3.2. In no particular order:
- Matt Broadstone (@mbroadst)
- Saad Abdullah (@saadqc)
--
Released on 2016-04-22
Bug fix release
RethinkDB 2.3.1 servers can be mixed with RethinkDB 2.3.0 servers in the same cluster. We recommend that you run a mixed-version cluster only temporarily for upgrading purposes.
No migration is required when upgrading from RethinkDB 2.3.0. Please read the RethinkDB 2.3.0 release notes if you're upgrading from an older version.
We now provide packages for Ubuntu 16.04 (Xenial Xerus).
The r.http command no longer supports fetching data from encrypted https resources on
OS X 10.7 and 10.8 (#5681). Newer releases of OS X are not affected.
- Server
- Fixed a segmentation fault triggered by performing a batched
insertwith multiple occurrences of the same primary key (#5683) - Fixed an uncaught exception bug in the
hostname_to_ipsfunction that could be triggered by connecting a server with an unresolvable address (#5629) - Fixed a query failure when opening a changefeed with the
squash: trueoption on a system table (#5644) - Fixed a crash that was triggered when joining servers with identical server names (#5643)
- Fixed an issue with the random number generator that stopped initial server names from getting randomized correctly (#5655)
- Fixed a bug that caused memory to not be released properly after dropping a table or removing its replicas from a server (#5666)
- Fixed a bug causing
eqJointo freeze the server when chained after achangescommand (#5696) - Fixed an issue that caused the
returnChanges: "always"option of theinsertcommand to miss certain types of errors in thechangesresult (#5366) - Fixed a crash on OS X 10.7 when using the .dmg uninstaller (#5671)
- The OS X .dmg uninstaller is now signed (#5615)
- Fixed an edge case in the error handling for auto-generated primary keys when inserting into a system table (#5691)
- RethinkDB can now be compiled with GCC 5.3 (#5635)
- Fixed a segmentation fault triggered by performing a batched
- JavaScript driver
- Renamed the
usernameoption of ther.connectcommand touser. Theusernameoption is still supported for backwards-compatibility with existing code (#5659) - Improved the error message shown when connecting with the 2.3 driver to an older server (#5667)
- Renamed the
- Python driver
- Improved the error message that is emitted when trying to connect to a server with a wrong password (#5624)
- Fixed the "global name 'options' is not defined" bug in the
rethinkdb importscript (#5637) - Fixed a Python 3 incompatibility in the
rethinkdb restorescript (#5647)
- Java driver
- Implemented the timeout option for
getNext(#5603) - Losing the server connection while having a changefeed open now correctly results in an error (#5660)
- The driver now caches authentication nonces in order to speed up connection setup (#5614)
- Implemented the timeout option for
Many thanks to external contributors from the RethinkDB community for helping us ship RethinkDB 2.3.1. In no particular order:
- Brian Chavez (@bchavez)
- Neil Hanlon (@NeilHanlon)
- Jason Soares (@JasonSoares)
- Magnus Lundgren (@iorlas1)
--
Released on 2016-04-06
RethinkDB 2.3 introduces a users and permissions system, TLS encrypted connections, a
Windows beta, and numerous improvements to the ReQL query language. ReQL improvements
include up to 10x better performance for distributed joins, and a new fold command that
allows you to implement efficient stateful transformations on streams.
Read the blog post for more details.
Data files from RethinkDB version 1.16 onward will be automatically migrated. As with any major release, back up your data files before performing the upgrade.
If you're upgrading from RethinkDB 1.15.x or earlier, please read the data migration guide to find out about the required migration steps.
RethinkDB 2.3.0 servers cannot be mixed with servers running RethinkDB 2.2.x or earlier in the same cluster.
If you migrate a cluster from a previous version of RethinkDB and have an auth_key set,
the auth_key is turned into the password for the "admin" user. If no auth_key is
set, a new "admin" user with an empty password is automatically created during
migration.
RethinkDB 2.3 adds a new restriction when adding a server to an existing cluster. If
the existing cluster has a non-empty password set for the "admin" user, a new server
is only allowed to join the cluster if it has a password set as well. This is to avoid
insecure states during the join process. You can use the new --initial-password auto
command line option for joining a new server or proxy to a password-protected cluster.
The --initial-password auto option assigns a random "admin" password on startup,
which gets overwritten by the previously configured password on the cluster once the join
process is complete.
- The
eqJoincommand no longer returns results in the order of its first input. You can pass in the new{ordered: true}option to restore the previous behavior. - Operations on geospatial multi-indexes now emit duplicate results if multiple index
keys of a given document match the query. You can append the
.distinct()command in order to restore the previous behavior. - Changefeeds on queries of the form
orderBy(...).limit(...).filter(...)are no longer allowed. Previous versions of RethinkDB allowed the creation of such changefeeds, but did not provide the correct semantics. - The commands
r.wait,r.rebalanceandr.reconfigurecan no longer be called on the globalrscope. Previously, these commands defaulted to the"test"database implicitly. Now they have to be explicitly called on either a database or table object. For example:r.db("test").wait(),r.db("test").rebalance(), etc. - The
{returnChanges: "always"}option with theinsertcommand will now add{error: "..."}documents to thechangesarray if the insert fails for some documents. Previously failed documents were simply omitted from thechangesresult. - The special values
r.minvalandr.maxvalare no longer permitted as return values of secondary index functions.
- The JavaScript
eachfunction is deprecated in favor ofeachAsync. In a future release,eachwill be turned into an alias ofeachAsync. We recommend converting existing calls of the form.each(function(err, row) {})into theeachAsyncequivalent.eachAsync(function(row) {}, function(err) {}). You can read more abouteachAsyncin the documentation. - The
auth_keyoption toconnectin the official drivers is deprecated in favor of the newuserandpasswordoptions. For now, a providedauth_keyvalue is mapped by the drivers to a password for the"admin"user, so existing code will keep working.
We no longer provide packages for the Debian oldstable distribution 7.x (Wheezy).
When compiling from source, the minimum required GCC version is now 4.7.4.
- Added support for user accounts, user authentication, and access permissions. Users can
be configured through the
"users"system table. Permissions can be configured through either the new"permissions"system table or through thegrantcommand. (#4519) - Driver, intracluster and web UI connections can now be configured to use TLS encryption. For driver and intracluster connections, the server additionally supports certificate verification. (Linux and OS X only, #5381)
- Added beta support for running RethinkDB on Windows (64 bit only, Windows 7 and up). (#1100)
- Added a
foldcommand to allow stateful transformations on ordered streams. (#3736) - Added support for changefeeds on
getIntersectingqueries. (#4777)
- Server
- The
--bindoption can now be specified separately for the web UI (--bind-http), client driver port (--bind-driver) and cluster port (--bind-cluster). (#5467) - RethinkDB servers now detect non-transitive connectivity in the cluster and raise a
"non_transitive_error"issue in the"current_issues"system table when detecting an issue. Additionally, the"server_status"system table now contains information on each server's connectivity in the newconnected_tofield. (#4936) - Added a new
"memory_error"issue type for the"current_issues"system table that is displayed when the RethinkDB process starts using swap space. (Linux only) (#1023) - Reduced the number of scenarios that require index migration after a RethinkDB upgrade. Indexes no longer need to be migrated unless they use a custom index function. (#5175)
- Added support for compiling RethinkDB on Alpine Linux. (#4437)
- Proxy servers now print their server ID on startup. (#5515)
- Raised the maximum query size from 64 MB to 128 MB. (#4529)
- Increased the maximum number of shards for a table from 32 to 64. (#5311)
- Implemented a
--join-delayoption to better tolerate unstable network conditions (#5319) - Added an
--initial-passwordcommand line option to secure the process of adding new servers to a password-protected cluster. (#5490) - Implemented a new client protocol handshake to support user authentication. (#5406)
- The
- ReQL
- Added an
interleaveoption to theunioncommand to allow merging streams in a particular order. (#5090) - Added support for custom conflict-resolution functions to the
insertcommand. (#3753) - The
insertcommand now returns changes in the same order in which they were passed in when thereturnChangesoption is used. (#5041) - Added an
includeOffsetsoption to thechangescommand to obtain the positions of changed elements in anorderBy.limitchangefeeds. (#5334) - Added an
includeTypesoption to thechangescommand that adds atypefield to every changefeed result. (#5188) - Made geospatial multi-indexes behave consistently with non-geospatial multi-indexes
if a document is indexed under multiple matching keys.
getIntersectingandgetNearestnow return duplicates if multiple index keys match. (#3351) - The
and,orandgetAllcommands can now be called with zero arguments. (#4696, #2588) - Disallowed calling
r.wait,r.rebalanceandr.reconfigureon the global scope to avoid confusing semantics. (#4382) - The
countandslicecommands can now be applied to strings. (#4227, #4228) - Improved the error message from
reconfigureif too many servers are unreachable. (#5267) - Improved the error message for invalid timezone specifications. (#1280)
- Added an
- Performance
- Implemented efficient batching for distributed joins using the
eqJoincommand. (#5115) - Optimized
tableCreateto complete more quickly. (#4746) - Reduced the CPU overhead of ReQL function calls and term evaluation. (no issue number)
- Implemented efficient batching for distributed joins using the
- Web UI
- The web UI now uses the
conn.server()command for getting information about the connected server. (#5059)
- The web UI now uses the
- All drivers
- Implemented a new protocol handshake and added
userandpasswordoptions to theconnectmethod to enable user authentication. (#5458, #5459, #5460, #5461) - Added
clientPortandclientAddressfunctions to the connection objects in the JavaScript, Python and Ruby drivers. (#4796)
- Implemented a new protocol handshake and added
- JavaScript driver
- Added new variants of the
cursor.eachAsyncfunction. (#5056) - Added a
concurrencyoption forcursor.eachAsync. (#5529) r.min,r.max,r.sum,r.avgandr.distinctnow accept an array argument (#4594)
- Added new variants of the
- Python driver
- Added a
"gevent"loop type to the Python driver. (#4433) - Printing a cursor object now displays the first few results. (#5331)
- Removed the dependency on
tarfor therethinkdb restoreandrethinkdb dumpcommands. (#5399) - Added a
--tls-certoption to therethinkdb import,rethinkdb export,rethinkdb dump,rethinkdb restoreandrethinkdb index-rebuildcommands to enable TLS connections. (#5330) - Added
--passwordand--password-fileoptions to therethinkdb import,rethinkdb export,rethinkdb dump,rethinkdb restoreandrethinkdb index-rebuildcommands to connect to password-protected servers. (#5464) - Added a
--format ndjsonoption torethinkdb exportthat allows exporting tables in a newline-separated JSON format. (#5101) - Made
rethinkdb dumprethinkdb restoreandrethinkdb importable to write to stdout and load data from stdin respectively. (#5525, #3838) r.min,r.max,r.sum,r.avgandr.distinctnow accept an array argument (#5494)
- Added a
- Java driver:
- Made it easier to publish the driver on local Ivy and Maven repositories. (#5054)
- Server
- Fixed a crash with the message
[cmp != 0]when querying withr.minvalorr.maxvalvalues inside of an array. (#5542) - Fixed in issue that caused orphaned tables to be left behind when deleting a database
through the
"db_config"system table. (#4465) - Fixed a crash when trying to restore a backup from a version of RethinkDB that is too new. (#5104)
- Fixed a bug in data migration from RethinkDB 2.0.x and earlier. (#5570)
- Fixed a race condition causing server crashes with the message
Guarantee failed: [!pair.first.inner.overlaps(region.inner)]when rebalancing a table while simultaneously opening new changefeeds. (#5576) - Fixed an issue causing backfill jobs to remain in the
jobssystem table even after finishing. (#5223)
- Fixed a crash with the message
- ReQL
- Disallowed changefeeds on queries of the form
orderBy(...).limit(...).filter(...), since they do not provide the correct semantics. (#5325) - Coercing a binary value to a string value now properly checks for illegal characters in the string. (#5536)
- Disallowed changefeeds on queries of the form
- Web UI
- Fixed the "The request to retrieve data failed" error when having an orphaned table whose database has been deleted. (#4985)
- Fixed the maximum number of shards display for clusters with more than 32 servers. (#5311)
- Fixed an empty "Connected to" field when accessing the web UI through a RethinkDB proxy server. (#3182)
- JavaScript driver
- Fixed the behavior of
cursor.closewhen there are remaining items in the buffer. (#5432)
- Fixed the behavior of
- Python driver
- Fixed a bug in the
__str__function of cursor objects. (#5567) - Fixed the handling of the error generated for over-sized queries. (#4771)
- Fixed a bug in the
- Ruby driver
- Fixed the handling of the error generated for over-sized queries. (#4771)
Many thanks to external contributors from the RethinkDB community for helping us ship RethinkDB 2.3. In no particular order:
- Aaron Rosen (@aaronorosen)
- @crockpotveggies
- Daniel Hokka Zakrisson (@dhozac)
- Igor Lukanin (@igorlukanin)
- @janisz
- Joshua Bronson (@jab)
- Josh Hawn (@jlhawn)
- Josh Smith (@Qinusty)
- Marshall Cottrell (@marshall007)
- Mike Mintz (@mikemintz)
- Niklas Hambüchen (@nh2)
- Qian Jin (@QianJin2013)
- Taylor Murphy (@tayloramurphy)
- Vladislav Botvin (@darrrk)
- Adam Grandquist (@grandquista)
- @bakape
- Bernardo Santana (@bsantanas)
- Bheesham Persaud (@bheesham)
- Christopher Cadieux (@ccadieux)
- Chuck Bassett (@chuckSMASH)
- Diney Wankhede (@dineyw23)
- Heinz Fiedler (@heinzf)
- Mark Yu (@vafada)
- Mike Krumlauf (@mjkrumlauf)
- Nicolás Santángelo (@NicoSantangelo)
- Samuel Volin (@untra)
- Stefan de Konink (@skinkie)
- Tommaso (@raspo)
--
Released on 2016-03-25
Bug fix release
RethinkDB 2.2.6 servers cannot be mixed with servers running RethinkDB 2.2.1 or earlier in the same cluster.
No migration is required when upgrading from RethinkDB 2.2.0 or higher. Please read the RethinkDB 2.2.0 release notes if you're upgrading from an older version.
- Fixed two bugs in the changefeed code that caused crashes with an "Unreachable code" error in certain edge cases (#5438, #5535)
- Fixed a
SANITY CHECK FAILED: [d.has()]error when using themapcommand on a combination of empty and non-empty input streams (#5481) - The result of
conn.server()now includes aproxyfield (#5485) - Changed the connection behavior of proxy servers to avoid repeating "Rejected a connection from server X since one is open already" warnings (#5456)
- The Python driver now supports connecting to a server via IPv6, even when using the async API (asyncio, tornado, twisted) (#5445)
- Fixed an incompatibility with certain versions of Python that made the driver unable to
load the
backports.ssl_match_hostnamemodule (#5470) - Fixed a resource leak in the Java driver's
cursor.close()call (#5448) - Cursors in the Java driver now implement the
Closeableinterface (#5468) - Fixed a remaining incompatibility with Internet Explorer 10 in the JavaScript driver (#5499)
Many thanks to external contributors from the RethinkDB community for helping us ship RethinkDB 2.2.6. In no particular order:
- Paulo Pires (@pires)
- Mike Mintz (@mikemintz)
--
Released on 2016-02-23
Bug fix release
RethinkDB 2.2.5 servers cannot be mixed with servers running RethinkDB 2.2.1 or earlier in the same cluster.
No migration is required when upgrading from RethinkDB 2.2.0 or higher. Please read the RethinkDB 2.2.0 release notes if you're upgrading from an older version.
- Improved the CPU efficiency of
orderByqueries on secondary indexes (#5280) - Improved the efficiency of geospatial queries on indexes with point values (#5411)
- Connections in the Java driver are now thread-safe (#5166)
- Made the JavaScript driver compatible with Internet Explorer 10 (#5067)
- The Ruby driver now supports nested pseudotypes (#5373)
- Fixed an issue that caused servers to not connect and/or reconnect properly (#2755)
- Fixed an issue that caused servers to time out when running queries on secondary indexes with long index keys (#5280)
- Changefeeds now always emit events for documents leaving or entering the changefeed range (#5205)
- Fixed a bug in the Java driver that caused null pointer exceptions (#5355)
- Fixed the
isFeed()function in the Java driver (#5390, #5400) - The
r.nowcommand now performs arity checking correctly (#5405) - Fixed a test failure in the
unit.ClusteringBranchtest (#5182)
Many thanks to external contributors from the RethinkDB community for helping us ship RethinkDB 2.2.5. In no particular order:
- Mike Mintz (@mikemintz)
- Paulo Pires (@pires)
- Nicolas Viennot (@nviennot)
- Brian Chavez (@bchavez)
--
Released on 2016-02-01
This bug fix release addresses a critical bug in RethinkDB's clustering system, that can lead to data loss and invalid query results under certain rare circumstances. The bug can appear if a table is reconfigured during a network partition (read more in GitHub issue #5289).
We recommend upgrading to this release as soon as possible to avoid data loss.
If you see replicas get stuck in the transitioning state during a reconfiguration
after upgrading, you can run .reconfigure({emergencyRepair: '_debug_recommit'})
on the table to allow the reconfiguration to complete. Please make sure that the
cluster is idle when running this operation, as RethinkDB does not guarantee
consistency during the emergency repair.
RethinkDB 2.2.4 servers cannot be mixed with servers running RethinkDB 2.2.1 or earlier in the same cluster.
No migration is required when upgrading from RethinkDB 2.2.0 or higher. Please read the RethinkDB 2.2.0 release notes if you're upgrading from an older version.
- Fixed a bug in the clustering system that could lead to data loss, inconsistent reads, and server crashes after reconfiguring a table during incomplete connectivity (#5289, #4949)
- Fixed a segmentation fault that occurred when requesting certain documents from the
statssystem table (#5327) - Changefeeds on system tables now support
map,filterand related commands (#5241) - Backtraces are now printed even if the
addr2linetool is not installed (#5321) - The Java driver now supports SSL connections thanks to a contribution by @pires (#5284)
- Fixed the "Serialized query" debug output in the Java driver (#5306)
- Fixed an incompatibility of the
rethinkdb importscript with Python 2.6 (#5294)
--
Released on 2016-02-01
Legacy bug fix release
This release maintains full compatibility with RethinkDB 2.1.5, while fixing a critical bug in RethinkDB's clustering system.
We recommend installing this version only if upgrading to RethinkDB 2.2.4 is not an option, for example if you depend on a driver that still uses the old protocol buffer client protocol.
- Fixed a bug in the clustering system that could lead to data loss, inconsistent reads, and server crashes after reconfiguring a table during incomplete connectivity (#5289, #4949)
--
Released on 2016-01-11
Bug fix release
RethinkDB 2.2.3 servers cannot be mixed with servers running RethinkDB 2.2.1 or earlier in the same cluster.
No migration is required when upgrading from RethinkDB 2.2.0 or higher. Please read the RethinkDB 2.2.0 release notes if you're upgrading from an older version.
- Fixed a bug in the changefeed code that caused crashes with the message
Guarantee failed: [env.has()](#5238) - Fixed a crash in
r.httpwhen using pagination (#5256) - Fixed a bug that made
orderBy.limitchangefeeds prevent other changefeeds on the same table from becoming ready (#5247) - Replaced a call to the deprecated
Object#timeoutfunction in the Ruby driver (#5232)
--
Released on 2015-12-21
Bug fix release
RethinkDB 2.2.2 servers cannot be mixed with servers running RethinkDB 2.2.1 or earlier in the same cluster. The protocol change was necessary to address correctness issues in the changefeed implementation.
No migration is required when upgrading from RethinkDB 2.2.0 or higher. Please read the RethinkDB 2.2.0 release notes if you're upgrading from an older version.
- Server
- Fixed an issue causing
include_initialchangefeeds to miss changes (#5216) - Fixed an issue causing
include_initialchangefeeds to stall and never reach the"ready"state (#5157) - Fixed an issue causing
include_initialchangefeeds to emit unexpected initial results with anullvalue (#5153) - Improved the efficiency of
skipin combination withlimit(#5155) - Fixed an issue with determinism checking in geospatial commands (#5130)
- Fixed an invalid memory access that caused segmentation faults on ARM (#5093)
- Fixed a crash with "Unreachable code" when migrating from versions of RethinkDB older than 1.16 (#5158)
- Fixed an issue where the server would send an extra response to the client after a cursor completed (#5159)
- Fixed a build dependency issue with OpenSSL on OS X 10.11 (#4963)
- Fixed compiler warnings on ARM (#4541)
- Made the APT repository compatible with APT 1.1 (#5174)
- Fixed an issue causing
- Drivers
- Fixed missing backtraces on
ReQLCompileErrorin the JavaScript driver (#4803) - Upgraded the version of CoffeeScript used to compile the JavaScript driver in order to avoid errors in strict mode (#5198)
- Fixed a syntax error warning in the Python driver during installation on older Python versions (#4702)
rethinkdb restorenow waits for tables to be available (#5154)
- Fixed missing backtraces on
--
Released on 2015-11-16
Bug fix release
RethinkDB 2.2.1 is fully compatible with RethinkDB 2.2.0. Please read the RethinkDB 2.2.0 release notes if you're upgrading from an older version.
- Fixed a crash with the message "Guarantee failed: [found_hash_pair]" when running
getAllqueries (#5085) rethinkdb exportandrethinkdb dumpnow limit the number of subprocesses to reduce memory consumption (#4809)- Fixed a segmentation fault in
orderBy.limitchangefeeds (#5081) - Fixed a crash when using
getAllwith illegal keys (#5086) r.uuidis now considered a deterministic operation if it is passed a single argument (#5092)- Fixed the "Task was destroyed but it is pending!" error when using the
asyncioevent loop on Python (#5043)
--
Released on 2015-11-12
RethinkDB 2.2 introduces atomic changefeeds. Atomic changefeeds include existing values from the database into the changefeed result, and then atomically transition to streaming updates.
Atomic changefeeds make building realtime apps dramatically easier: you can use a single code path to populate your application with initial data, and continue receiving realtime data updates.
This release also includes numerous performance and scalability improvements designed to help RethinkDB clusters scale to larger sizes while using fewer resources.
Read the blog post for more details.
Data files from RethinkDB version 1.16 onward will be automatically migrated. As with any major release, back up your data files before performing the upgrade.
If you're upgrading from RethinkDB 1.14.x or 1.15.x, you need to migrate your secondary indexes first. You can do this by following these steps:
- Install RethinkDB 2.0.5.
- Update the RethinkDB Python driver (
sudo pip install 'rethinkdb<2.1.0'). - Rebuild your indexes with
rethinkdb index-rebuild.
Afterwards, you can install RethinkDB 2.2 and start it on the existing data files.
If you're upgrading directly from RethinkDB 1.13 or earlier, you will need to manually
upgrade using rethinkdb dump.
- Changefeeds on
.orderBy.limitas well as.getqueries previously provided initial results by default. You now need to include the optional argumentincludeInitial: trueto.changesto achieve the same behavior. - The deprecated protocol buffer driver protocol is no longer supported. The newer JSON
protocol is now the only supported driver protocol. Older drivers using the deprecated
protocol no longer work with RethinkDB 2.2.0. See the drivers list for
up-to-date drivers.
- If you're using Java, please note that at the time of writing, existing community drivers have not been updated to use the newer JSON protocol. However, an official Java driver is in active development and will be available soon.
- Certain argument errors that used to throw
ReqlDriverErrorexceptions now throwReqlCompileErrorexceptions. See #4669 for a full list of changes.
RethinkDB 2.2.0 now comes with official packages for Ubuntu 15.10 (Wily Werewolf) and CentOS 7.
We no longer provide packages for Ubuntu 10.04 (Lucid Lynx), which has reached end of life.
- Added full support for atomic changefeeds through the
include_initialoptarg (#3579) - Added a
valuescommand to obtain the values of an object as an array (#2945) - Added a
conn.servercommand to identify the server for a given connection (#3934) - Extended
r.uuidto accept a string and work as a hash function (#4636)
- Server
- Improved the scalability of range queries on sharded tables (#4343)
- Improved the performance of
betweenqueries on secondary indexes (#4862) - Reduced the memory overhead for large data sets (#1951)
- Redesigned the internal representation of queries to improve efficiency (#4601)
- Removed the deprecated protocol buffer driver protocol (#4601)
- Improved the construction of secondary indexes to make them resumable and to reduce their impact on any production workload (#4959)
- Improved the performance when using
getAllwith a secondary index in some edge cases (#4948) - Removed the limit of 1024 concurrent changefeeds on a single connection (#4732)
- Implemented automatically growing coroutine stacks to avoid stack overflows (#4462)
- Optimized the deserialization of network messages to avoid an extra copy (#3734)
- Added a
raft_leaderfield to a table's status to expose its current Raft leader (#4902) - Made the handling of invalid lines in the
'logs'system table more robust (#4929)
- ReQL
indexStatusnow exposes the secondary index function (#3231)- Added an optarg called
changefeed_queue_sizeto specify how many changes the server should buffer on a changefeed before generating an error (#3607) - Extended
branchto accept an arbitrary number of conditions and values (#3199) - Strings can now contain null characters (except in primary keys) (#3163)
- Streams can now be coerced directly to an object (#2802)
- Made
coerceTo('BOOL')consistent withbranch(#3133) - Changefeeds on
filterandmapqueries involving geospatial terms are now allowed (#4063) - Extended
orandandto accept zero arguments (#4132)
- Web UI
- The Data Explorer now allows executing only parts of a query be selecting them (#4814)
- All drivers
- Improved the consistency of ReQL error types by throwing
ReqlCompileErrorrather thanReqlDriverErrorfor certain errors (#4669)
- Improved the consistency of ReQL error types by throwing
- JavaScript driver
- Added an
eachAsyncmethod on cursors that behaves likeeachbut also returns a promise (#4784)
- Added an
- Python driver
- Implemented an API to override the default JSON encoder and decoder (#4825, #4818)
- Server
- Fixed a segmentation fault that could happen when disconnecting a server while having open changefeeds (#4972)
- Updated the description of the
--server-nameparameter inrethinkdb --help(#4739) - Fixed a crash with the message "Guarantee failed: [ts->tv_nsec >= 0 && ts->tv_nsec < (1000LL * (1000LL * 1000LL))] " (#4931)
- Fixed a problem where backfill jobs didn't get removed from the
'jobs'table (#4923) - Fixed a memory corruption that could trigger a segmentation fault during
getIntersectingqueries (#4937) - Fixed an issue that could stop data files from RethinkDB 1.13 from migrating properly (#4991)
- Fixed a "Guarantee failed: [pair.second] key for entry_t already exists" crash when rapidly reconnecting servers (#4968)
- Fixed an "Uncaught exception of type interrupted_exc_t" crash (#4977)
- Added a check to catch
r.minvalandr.maxvalvalues when writing to the'_debug_scratch'system table (#4032)
- ReQL
- Fixed the error message that's generated when passing in a function with the wrong arity (#4189)
- Fixed a regression that caused
r.asc("test")to not fail as it should (#4951)
- JavaScript driver
- Object keys in
toStringare now properly quoted (#4997)
- Object keys in
Many thanks to external contributors from the RethinkDB community for helping us ship RethinkDB 2.2. In no particular order:
- Peter Hollows (@captainpete)
- Zhenchao Li (@fantasticsid)
- Marshall Cottrell (@marshall007)
- Adam Grandquist (@grandquista)
- Ville Immonen (@fson)
- Matt Broadstone (@mbroadst)
- Pritam Baral (@pritambaral)
- Elian Gidoni (@eliangidoni)
- Mike Mintz (@mikemintz)
- Daniel Compton (@danielcompton)
- Vinh Quốc Nguyễn (@kureikain)
- Shayne Hodge (@schodge)
- Alexander Zeillinger (@alexanderzeillinger)
- Ben Gesoff (@bengesoff)
- Dmitriy Lazarev (@wKich)
- Chris Gaudreau (@clessg)
- Paweł Świątkowski (@katafrakt)
- Wang Zuo (@wangzuo)
- Chris Goller (@goller)
- Mateus Craveiro (@mccraveiro)
--
Released on 2015-10-08
Bug fix release
- RethinkDB 2.1.5 servers cannot be mixed with servers running RethinkDB 2.1.4 or earlier in the same cluster
- Fixed a memory corruption bug that caused segmentation faults on some systems (#4917)
- Made the build system compatible with OS X El Capitan (#4602)
- Fixed spurious "Query terminated by
rethinkdb.jobstable" errors (#4819) - Fixed an issue that caused changefeeds to keep failing after a table finished reconfiguring (#4838)
- Fixed a race condition that resulted in a crash with the message
std::terminate() called without any exception.when losing a cluster connection (#4878) - Fixed a segmentation fault in the
mark_ready()function that could occur when reconfiguring a table (#4875) - Fixed a segmentation fault when using changefeeds on
orderBy.limitqueries (#4850) - Made the Data Explorer handle changefeeds on
orderBy.limitqueries correctly (#4852) - Fixed a "Branch history is incomplete" crash when reconfiguring a table repeatedly in quick succession (#4866)
- Fixed a problem that caused
indexStatusto report results for additional indexes that were not specified in its arguments (#4868) - Fixed a segmentation fault when running RethinkDB on certain ARM systems (#4839)
- Fixed a compilation issue in the UTF-8 unit test with recent versions of Xcode (#4861)
- Fixed an
Assertion failed: [ptr_]error when reconfiguring tables quickly with a debug-mode binary (#4871) - Improved the detection of unsupported values in
r.jsfunctions to avoid aGuarantee failed: [!key.IsEmpty() && !val.IsEmpty()]crash in the worker process (#4879) - Fixed an unitialized data access issue on shutdown (#4918)
- Improved the performance of
getAllqueries that fetch multiple keys at once (#1526) - Optimized the distribution of tasks across threads on multi-core servers (#4905)
--
Released on 2015-09-16
Bug fix release
- RethinkDB 2.1.4 servers cannot be mixed with servers running RethinkDB 2.1.1 or earlier in the same cluster
- Fixed a data corruption bug that could occur when deleting documents (#4769)
- The web UI no longer ignores errors during table configuration (#4811)
- Added a check in case
reconfigureis called with a non-existent server tag (#4840) - Removed a spurious debug-mode assertion that caused a server crash when trying
to write to the
statssystem table (#4837) - The
rethinkdb restoreandrethinkdb importcommands now wait for secondary indexes to become ready before beginning the data import (#4832)
--
Released on 2015-09-04
Bug fix release
- RethinkDB 2.1.3 servers cannot be mixed with servers running RethinkDB 2.1.1 or earlier in the same cluster
- Fixed a data corruption bug in the b-tree implementation (#4769)
- Fixed the
ssloption in the JavaScript driver (#4786) - Made the Ruby driver compatible with Ruby on Rails 3.2 (#4753)
- Added the
backports.ssl_match_hostnamelibrary to the Python driver package (#4683) - Changed the update check to use an encrypted https connection (#3988, #4643)
- Fixed access to
httpssources inr.httpon OS X (#3112) - Fixed an
Unexpected exceptionerror (#4758) - Fixed a
Guarantee failed: [pair.second]crash that could occur during resharding (#4774) - Fixed a bug that caused some queries to not report an error when interrupted (#4762)
- Added a new
"_debug_recommit"recovery option toemergency_repair(#4720) - Made error reporting in the Python driver compatible with
celeryandnose(#4764) - Changed the handling of outdated indexes from RethinkDB 1.13 during an import to no longer terminate the server (#4766)
- Improved the latency when reading from a system table in
r.db('rethinkdb')while the server is under load (#4773) - Improved the parallelism of JSON encoding on the server to utilize multiple CPU cores
- Refactored JSON decoding in the Python driver to allow the use of custom JSON parsers and to speed up pseudo type conversion (#4585)
- Improved the prefetching logic in the Python driver to increase the throughput of cursors
- Changed the Python driver to use a more efficient data structure to store cursor results (#4782)
Many thanks to external contributors from the RethinkDB community for helping us ship RethinkDB 2.1.3. In no particular order:
- Adam Grandquist (@grandquista)
- ajose01 (@ajose01)
- Paulius Uza (@pauliusuza)
--
Released on 2015-08-25
Bug fix release
- RethinkDB 2.1.2 servers cannot be mixed with servers running earlier versions in the same cluster
- Changefeeds on a
get_allquery no longer return initial values. This restores the behavior from RethinkDB 2.0
- Fixed an issue where writes could be acknowledged before all necessary data was written to disk
- Restored the 2.0 behavior for changefeeds on
get_allqueries to avoid various issues and incompatibilities - Fixed an issue that caused previously migrated tables to be shown as unavailable (#4723)
- Made outdated secondary index warnings disappear once the problem is resolved (#4664)
- Made
index_createatomic to avoid race conditions when multiple indexes were created in quick succession (#4694) - Improved how query execution times are reported in the Data Explorer (#4752)
- Fixed a memory leak in
r.js(#4663) - Fixed the
Branch history is missing pieceserror (#4721) - Fixed a race condition causing a crash with
Guarantee failed: [!send_mutex.is_locked()](#4710) - Fixed a bug in the changefeed code that could cause crashes with the message
Guarantee failed: [active()](#4678) - Fixed various race conditions that could cause crashes if changefeeds were present during resharding (#4735, #4734, #4678)
- Fixed a race condition causing a crash with
Guarantee failed: [val.has()](#4736) - Fixed an
Assertion failedissue when running a debug-mode binary (#4685) - Added a workaround for an
eglibcbug that caused anunexpected address familyerror on startup (#4470) - Added precautions to avoid secondary index migration issues in subsequent releases
- Out-of-memory errors in the server's JSON parser are now correctly reported (#4751)
--
Released on 2015-08-25
Bug fix release
- Added precautions to avoid secondary index migration issues in subsequent releases
- Fixed a memory leak in
r.js(#4663) - Added a workaround for an
eglibcbug that caused anunexpected address familyerror on startup (#4470) - Fixed a bug in the changefeed code that could cause crashes with the message
Guarantee failed: [active()](#4678) - Fixed a bug that caused intermittent server crashes with the message
Guarantee failed: [fn_id != __null]in combination with ther.jscommand (#4611) - Improved the performance of the
is_emptyterm (#4592)
--
Released on 2015-08-12
Bug fix release
- Fixed a problem where after migration, some replicas remained unavailable when reconfiguring a table (#4668)
- Removed the defunct
--migrate-inconsistent-datacommand line argument (#4665) - Fixed the slider for setting write durability during table creation in the web UI (#4660)
- Fixed a race condition in the clustering subsystem (#4670)
- Improved the handling of error messages in the testing system (#4657)
--
Released on 2015-08-11
Release highlights:
- Automatic failover using a Raft-based protocol
- More flexible administration for servers and tables
- Advanced recovery features
Read the blog post for more details.
Data files from RethinkDB versions 1.14.0 onward will be automatically migrated. As with any major release, back up your data files before performing the upgrade.
If you're upgrading directly from RethinkDB 1.13 or earlier, you will need to manually
upgrade using rethinkdb dump.
Note that files from the RethinkDB 2.1.0 beta release are not compatible with this version.
This release introduces a new system for dealing with server failures and network partitions based on the Raft consensus algorithm.
Previously, unreachable servers had to be manually removed from the cluster in order to restore availability. RethinkDB 2.1 can resolve many cases of availability loss automatically, and keeps the cluster in an administrable state even while servers are missing.
There are three important scenarios in RethinkDB 2.1 when it comes to restoring the availability of a given table after a server failure:
- The table has three or more replicas, and a majority of the servers that are hosting these replicas are connected. RethinkDB 2.1 automatically elects new primary replicas to replace unavailable servers and restore availability. No manual intervention is required, and data consistency is maintained.
- A majority of the servers for the table are connected, regardless of the number of replicas. The table can be manually reconfigured using the usual commands, and data consistency is always maintained.
- A majority of servers for the table are unavailable. The new
emergency_repairoption totable.reconfigurecan be used to restore table availability in this case.
To reflect changes in the underlying cluster administration logic, some of the tables in
the rethinkdb database changed.
Changes to table_config:
- Each shard subdocument now has a new field
nonvoting_replicas, that can be set to a subset of the servers in thereplicasfield. write_acksmust now be either"single"or"majority". Custom write ack specifications are no longer supported. Instead, non-voting replicas can be used to set up replicas that do not count towards the write ack requirements.- Tables that have all of their replicas disconnected are now listed as special documents
with an
"error"field. - Servers that are disconnected from the cluster are no longer included in the table.
- The new
indexesfield lists the secondary indexes on the given table.
Changes to table_status:
- The
primary_replicafield is now calledprimary_replicasand has an array of current primary replicas as its value. While under normal circumstances only a single server will be serving as the primary replica for a given shard, there can temporarily be multiple primary replicas during handover or while data is being transferred between servers. - The possible values of the
statefield now are"ready","transitioning","backfilling","disconnected","waiting_for_primary"and"waiting_for_quorum". - Servers that are disconnected from the cluster are no longer included in the table.
Changes to current_issues:
- The issue types
"table_needs_primary","data_lost","write_acks","server_ghost"and"server_disconnected"can no longer occur. - A new issue type
"table_availability"was added and appears whenever a table is missing at least one server. Note that no issue is generated if a server which is not hosting any replicas disconnects.
Changes to cluster_config:
- A new document with the
id"heartbeat"allows configuring the heartbeat timeout for intracluster connections.
RethinkDB 2.1 introduces new error types that allow you to handle different error classes separately in your application if you need to. You can find the complete list of new error types in the documentation.
As part of this change, ReQL error types now use the Reql name prefix instead of Rql
(for example ReqlRuntimeError instead of RqlRuntimeError).
The old type names are still supported in our drivers for backwards compatibility.
.split('')now treats the input as UTF-8 instead of an array of bytesnullvalues in compound index are no longer discarded- The new
read_mode="outdated"optional argument replacesuse_outdated=True
The older protocol-buffer-based client protocol is deprecated in this release. RethinkDB 2.2 will no longer support clients that still use it. All "current" drivers listed on the drivers page use the new JSON-based protocol and will continue to work with RethinkDB 2.2.
- Server
- Added automatic failover and semi-lossless rebalance based on Raft (#223)
- Backfills are now interuptible and reversible (#3886, #3885)
table.reconfigurenow works even if some servers are disconnected (#3913)- Replicas can now be marked as voting or non-voting (#3891)
- Added an emergency repair feature to restore table availability if consensus is lost (#3893)
- Reads can now be made against a majority of replicas (#3895)
- Added an emergency read mode that extracts data directly from a given replica for data recovery purposes (#4388)
- Servers with no responsibilities can now be removed from clusters without raising an issue (#1790)
- Made the intracluster heartbeat timeout configurable (#4449)
- ReQL
- Added
ceil,floorandround(#866) - Extended the ReQL error type hierarchy to be more fine-grained (#4544)
- Added
- All drivers
- Added driver-side support for SSL connections and CA verification (#4075, #4076, #4080)
- Python driver
- Added Python 3 asyncio support (#4071)
- Added Twisted support (#4096)
rethinkdb exportnow supports the--delimiteroption for CSV files (#3916)
- Server
- Improved the handling of cluster membership and removal of servers (#3262, #3897, #1790)
- Changed the formatting of the
table_statussystem table (#3882, #4196) - Added an
indexesfield to thetable_configsystem table (#4525) - Improved efficiency by making
datum_tmovable (#4056) - ReQL backtraces are now faster and smaller (#2900)
- Replaced cJSON with rapidjson (#3844)
- Failed meta operations are now transparently retried (#4199)
- Added more detailed logging of cluster events (#3878)
- Improved unsaved data limit throttling to increase write performance (#4441)
- Improved the performance of the
is_emptyterm (#4592) - Small backfills are now prioritized to make tables available more quickly after a server restart (#4383)
- Reduced the memory requirements when backfilling large documents (#4474)
- Changefeeds using the
squashoption now send batches early if the changefeed queue gets too full (#3942)
- ReQL
.split('')is now UTF-8 aware (#2518)- Improved the behaviour of compound index values containing
null(#4146) - Errors now distinguish failed writes from indeterminate writes (#4296)
r.unionis now a top-level term (#4030)condition.branch(...)now works just liker.branch(condition, ...)(#4438)- Improved the detection of non-atomic
updateandreplacearguments (#4582)
- Web UI
- Added new dependency and namespace management system to the web UI (#3465, #3660)
- Improved the information visible on the dashboard (#4461)
- Improved layout of server and replica assignment lists (#4372)
- Updated to reflect the new clustering features and changes (#4283, #4330, #4288, ...)
- JavaScript driver
- The version of bluebird was updated to 2.9.32 (#4178, #4475)
- Improved compatibility with Internet Explorer 10 (#4534)
- TCP keepalive is now enabled for all connections (#4572)
- Python driver
- Added a new
--max-document-sizeoption to therethinkdb importscript to handle very large JSON documents (#4452) - Added an
r.__version__property (#3100) - TCP keepalive is now enabled for all connections (#4572)
- Added a new
- Ruby driver
- TCP keepalive is now enabled for all connections (#4572)
time_of_dateanddatenow respect timezones (#4149)- Added code to work around a bug in some versions of GLIBC and EGLIBC (#4470)
- Updated the OS X uninstall script to avoid spurious error messages (#3773)
- Fixed a starvation issue with squashing changefeeds (#3903)
has_fieldsnow returns a selection when called on a table (#2609)- Fixed a bug that caused intermittent server crashes with the message
Guarantee failed: [fn_id != __null]in combination with ther.jscommand (#4611) - Web UI
- Fixed an issue in the table list that caused it to get stuck showing "Loading tables..." if no database existed (#4464)
- Fixed the tick marks in the shard distribution graph (#4294)
- Python driver
- Fixed a missing argument error (#4402)
- JavaScript driver
- Made the handling of the
dboptional argument torunconsistent with the Ruby and Python drivers (#4347) - Fixed a problem that could cause connections to not be closed correctly (#4526)
- Made the handling of the
- Ruby driver
- Made the EventMachine API raise an error when a connection is closed while handlers are active (#4626)
Many thanks to external contributors from the RethinkDB community for helping us ship RethinkDB 2.1. In no particular order:
- Thomas Kluyver (@takluyver)
- Jonathan Phillips (@jipperinbham)
- Yohan Graterol (@yograterol)
- Adam Grandquist (@grandquista)
- Peter Hamilton (@hamiltop)
- Marshall Cottrell (@marshall007)
- Elias Levy (@eliaslevy)
- Ian Beringer (@ianberinger)
- Jason Dobry (@jmdobry)
- Wankai Zhang (@wankai)
- Elifarley Cruz (@elifarley)
- Brandon Mills (@btmills)
- Daniel Compton (@danielcompton)
- Ed Costello (@epc)
- Lowe Thiderman (@thiderman)
- Andy Wilson (@wilsaj)
- Nicolas Viennot (@nviennot)
- bnosrat (@bnosrat)
- Mike Mintz (@mikemintz)
- Lahfa Ryan (@raitobezarius)
- Sebastien Diaz (@sebadiaz)
--
Released on 2015-07-08
Bug fix release
- Fixed the version number used by the JavaScript driver (#4436)
- Fixed a bug that caused crashes with a "Guarantee failed: [stop]" error (#4430)
- Fixed a latency issue when processing indexed
distinctqueries over low-cardinality data sets (#4362) - Changed the implementation of compile time assertions (#4346)
- Changed the Data Explorer to render empty results more clearly (#4110)
- Fixed a linking issue on ARM (#4064)
- Improved the message showing the query execution time in the Data Explorer (#3454, #3927)
- Fixed an error that happened when calling
infoon an ordered table stream (#4242) - Fixed a bug that caused an error to be thrown for certain streams in the Data Explorer (#4242)
- Increased the coroutine stack safety buffer to detect stack overflows in optarg processing (#4473)
--
Released on 2015-06-10
Bug fix release
- Fixed a bug that broke autocompletion in the Data Explorer (#4261)
- No longer crash for certain types of stack overflows during query execution (#2639)
- No longer crash when returning a function from
r.js(#4190) - Fixed a race condition when closing cursors in the JavaScript driver (#4240)
- Fixed a race condition when closing connections in the JavaScript driver (#4250)
- Added support for building with GCC 5.1 (#4264)
- Improved handling of coroutine stack overflows on OS X (#4299)
- Removed an invalid assertion in the server (#4313)
--
Released on 2015-05-22
Bug fix release
- Fixed "duplicate token" error in the web UI that happened with certain browsers (#4174)
- Fixed a cross site request forgery vulnerability in the HTTP admin interface (#2018)
- Fixed the EventEmitter interface in the JavaScript driver (#4192)
- Fixed a problem with the RDBInterrupt.InsertOp unit test in some compilation modes (#4038)
- Added packages for Ubuntu 15.04 (#4123)
- Added a
return_changes: 'always'option to restore thereturn_changesbehavior from before 2.0.0 (#4068) - Fixed a bug with
return_changeswhere it would populatechangesdespite an error occurring (#4208) - Fixed a performance regression when calling
get_allwith many keys (#4218) - Added support for using
r.rowwith thecontainscommand in the JavaScript driver (#4125)
--
Released on 2015-04-20
Bug fix release
- Fixed a regression in the backup scripts that detected the server version incorrectly (#3706)
- Fixed a bug in the cache balancer that could degrade performance (#4066)
--
Released on 2015-04-14
Release highlights:
- Support for attaching a changefeed to the
get_allandunioncommands - Improved support for asynchronous queries
- The first production-ready release of RethinkDB
Read the release blog post for more details.
Data files from RethinkDB versions 1.13.0 onward will be automatically migrated to version 2.0. As with any major release, back up your data files before performing the upgrade.
IEEE 754 floating point numbers distinguish between negative (-0) and positive (+0) zero. The following information is only relevant if you are storing negative zero values in your documents. We expect very few users to be affected by this change.
ReQL compares -0 and +0 as equal in accordance with IEEE 754. In previous versions of RethinkDB, -0 and +0 were however treated as distinct values in primary and secondary indexes. This could lead to inconsistent behavior and wrong query results in some rare cases.
Starting with RethinkDB 2.0, -0 and +0 are indexed as equal values.
Secondary indexes can be migrated online using
the rethinkdb index-rebuild utility. If any of your documents have
negative zero values in their primary keys, those documents will
become partially inaccessible in RethinkDB 2.0. You will need to
re-import the affected tables using the rethinkdb dump and
rethinkdb restore commands. See the article "Back up your
data" for more information.
If you are unsure if any of your documents are affected, you can run
python -m rethinkdb._negative_zero_check after upgrading both the
server and Python driver. See the output of python -m rethinkdb._negative_zero_check --help for additional options.
-
betweenno longer acceptsnullbounds. The newr.minvalandr.maxvalcan be used instead -
The
anyandallcommands have been removed. Theorandandcommands can be used instead -
indexes_ofhas been renamed tooffsets_of -
The
squashargument tochangesnow defaults tofalse -
The type hierarchy for exception types in the Python driver changed. All exceptions including
RqlDriverErrornow inherit from theRqlErrortype.RqlRuntimeError,RqlCompileErrorandRqlClientErroradditionally inherit from the newRqlQueryErrortype
- Overall
- Reached a production-ready state (#1174)
- ReQL
- Added support for changefeeds on
get_allandunionqueries (#3642) betweenno longer acceptsnullas a bound. The newr.minvalandr.maxvalcan be used instead (#1023)- Added support for getting the state of a changefeed using the new
include_statesoptarg tochanges(#3709)
- Added support for changefeeds on
- Drivers
- Added support for non-blocking
cursor.next(#3529) - Added support for executing multiple queries in parallel on a single connection (#3754)
- Consolidated the return types and use the new
ResponseNotesfield to convey extra information (#3715)
- Added support for non-blocking
- Python driver
- Added an optional script that warns for documents with negative zero in a primary key (#3637)
- Added an asynchronous API based on Tornado (#2622)
- Ruby driver
- Added an asynchronous API based on EventMachine (#2622)
- Server
- Report open cursors as a single entry in the jobs table (#3662)
- Timestamps are no longer sent between servers in
batchspec_t(#2671) - Some expensive changefeed checks are no longer performed in release mode (#3656)
- Include the remote port number in the heartbeat timeout message (#2891)
- Improved the ordering and throttling of reads and writes (#1606)
- Limit the number of documents per write batch to reduce the impact of large writes on other queries (#3806)
- Execute multiple queries in parallel on a single connection (#3296)
- Improved the performance of sending responses (#3744)
- Immediately send back an empty first batch when the result is a changefeed (#3852)
- Simplified the
multi_throttlinginfrastructure (#4021) - The server now reports handshake errors to client drivers earlier (#4011)
- Set
TCP_NODELAYin the Python and Ruby driver to avoid delays in combination withnoreply(#3998)
- Web UI
- Added a configurable limit for the results per page in the Data Explorer (#3910)
- Added an "add table" button to each database (#3522)
- ReQL
table.rebalancewith insufficient data is no longer an error (#3679)- Renamed
indexes_oftooffsets_ofto avoid confusion with secondary indexes (#3265) - Removed
anyandallin favor oforandand(#1581) - Trivial changes are filtered out from
return_changes(#3697) - Reduced the size of profiles (#3218)
- Changefeeds are no longer squashed by default (#3904)
- JavaScript driver
- Added an upper bound to the bluebird dependency (#3823)
- Ruby driver
- Added a
timeoutoption tor.connect(#1666) - Improved the code style (#3900, #3901, #3906)
- Strings are now allowed as keys in the config options (#3905)
- Added a
- Build
- Upgraded to a more recent version of V8 and dropped support for out-of-tree V8 (#3472)
- Added support for building with Python 3 (#3731)
- Packaging
- Got rid of the outdated bash completion script (#719)
- Allow installing RethinkDB in 32-bit OS X on a 64-bit processor (#1595)
- Tests
- Increased the number of retries in the
RDBBtreetests to avoid false positives (#3805)
- Increased the number of retries in the
- Server
- Fixed a race condition that could be caused by concurrent queries (#3766)
- Deleted servers and tables are no longer counted during version checks (#3692)
- Made JSON parsing more strict (#3810)
- Fixed a bug that could cause the server to crash when killed (#3792)
- Databases can no longer be renamed to "rethinkdb" (#3858)
- Return an initial value for point changefeeds on system tables (#3723)
- Improved the handling of negative zero (#3637)
- Correctly abort
order_by.limitchangefeeds when a table become unavailable (#3932) - Do not unlink files early to avoid crashing in virtual environments (#3791)
- Fallback to TCP4 when binding sockets (#4000)
- No longer crash when the data files are in a VirtualBox shared folder (#3791)
- ReQL
- Fixed the behavior of point changefeeds on system tables (#3944)
noreplyWaitno longer waits for non-noreplyqueries (#3812)- Initial values for
order_bychangefeeds are now returned in order (#3993) - Reduced the size of profiles when deleting documents (#3218)
- Web UI
- Fixed a bug that caused the status icon to be green when a table was unavailable (#3500)
- Fixed a bug that truncated labels in the performance graph (#3751)
- Correctly handle the escape key in modal dialogs (#3872)
- Fixed a bug that caused an
InternalErrorwhen loading large tables (#3873) - Fixed a bug that caused the Data Explorer to break when reading older data from
localStorage(#3935) - Fixed a bug that caused autocompletion to fail in certain cases (#3143)
- Python driver
- Fixed
rethinkdb exportcompatibility between Python 2 and Python 3 (#3911) - Fixed a bug that caused
rethinkdb exportto hang when certain errors occur (#4005)
- Fixed
- JavaScript driver
- Fixed a bug that caused
cursor.eachto fail with an exception (#3826) - Fixed a bug that caused connection errors to be discarded (#3733)
- Fixed a bug that could be triggered by calling
closetwice (#4017) - Fixed a bug in
feed.close(#3967)
- Fixed a bug that caused
- Ruby driver
- Fixed a bug that caused failures when using JRuby (#3795)
- Signals are now handled correctly (#4029)
- Fixed a bug in the arity check (#3968)
- Build
- Fetching Browserify during the build process is now more reliable (#4009)
Many thanks to external contributors from the RethinkDB community for helping us ship RethinkDB 2.0. In no particular order:
- Andrey Deryabin (@aderyabin)
- Krishna Narasimhan (@krishnanm86)
- Elian Gidoni (@eliangidoni)
- Sherzod Kuchkarov (@tundrax)
- Jason Dobry (@jmdobry)
- Justin Mealey (@justinmealey)
- Jonathan Ong (@jonathanong)
- Andrey Deryabin (@aderyabin)
- Angelo Ashmore (@angeloashmore)
- Bill Barsch (@billbarsch)
- Ed Costello (@epc)
- Ilya Radchenko (@knownasilya)
- Kai Curry (@webmasterkai)
- Loring Dodge (@loringdodge)
- Mike Marcacci (@mike-marcacci)
- Param Aggarwal (@paramaggarwal)
- Tinco Andringa (@tinco)
- Armen Filipetyan (@armenfilipetyan)
- Andrei Horak (@linkyndy)
- Shirow Miura (@sharow)
--
Released on 2015-03-26
Bug fix update.
- Fixed a bug that could cause a crash when reading from a secondary index in some rare circumstances (#3976)
- Fixed a bug that could cause a connection to hang indefinitely on OS X (#3954)
- Fixed
rethinkdb exportcompatibility between Python 2 and Python 3 (#3911) - Heartbeat timeout messages now include the remote port number (#2891)
- Python driver: patched to work in PyPy (#3969)
- Python driver: fixed an "Unterminated string" error during
rethinkdb restore(#3859) - JavaScript driver: fixed a bug that caused
cursor.eachto fail with an exception (#3826) - JavaScript driver: fixed a bug that caused connection errors to be discarded (#3733)
- Ruby driver: fixed a bug that caused failures when using JRuby (#3795)
- Sherzod Kuchkarov (@tundrax)
- Elian Gidoni (@eliangidoni)
--
Released on 2015-02-16
Bug fix update.
- Fixed a bug in
r.rangethat caused query failures (#3767) - Fixed a race condition in the implementation of
.order_by.limit.changes(#3765) - Fixed a build error that caused very slow
r.jsperformance (#3757) - Removed spurious comma in the Data Explorer (#3730)
--
Released on 2015-02-12
Bug fix update.
- Write a message to the log every time a file is deleted (#1780)
- Fixed
rethinkdb dumpand other backup scripts to correctly detect the server version (#3706) - Changed the output of
rethinkdb dumpto clarify that indexes are being saved (#3708) - Fixed unbounded memory consumption when using the official OS X package or when building with boost 1.56.0 or higher (#3712)
- Fixed the
written_docs_totalfield ofrethinkdb.stats(#3713) - Fixed a bug that caused the web UI to hang when creating or deleting indexes (#3717, #3721)
- Fixed rounding of document counts in the web UI (#3722)
- Fixed a bug that broke the
-fflag ofrethinkdb import(#3728) - Fixed a bug that prevented the web UI from loading data properly (#3729)
- Fixed a bug that caused RethinkDB to refuse to link with jemalloc dynamically (#3741)
- Fixed an uncaught exception in the handling of
r.js(#3745)
--
Released on 2015-01-29
The highlights of this release are:
- A new administration API
- Changefeeds on complex queries
- Numerous improvements and enhancements throughout RethinkDB
Read the release blog post for more details.
Data files from RethinkDB versions 1.13.0 onward will be automatically migrated to version 1.16.x. As with any major release, back up your data files before performing the upgrade. If you are upgrading from a release earlier than 1.13.0, follow the migration instructions before upgrading.
Secondary indexes now use a new format; old indexes will continue to work, but you should rebuild indexes after upgrading to 1.16.x. A warning about outdated indexes will be issued on startup.
Indexes can be migrated to the new format with the rethinkdb index-rebuild
utility. Consult the troubleshooting document for more information.
The abstraction of datacenters has been replaced by server tags. Existing datacenter assignments will be converted to server tags automatically.
The tableCreate, tableDrop, dbCreate and dbDrop terms have a new set of return values.
The previous return values created and dropped have been renamed to tables_creates / dbs_created and
tables_dropped / dbs_dropped respectively. The terms now additionally return a config_changes field.
Consult the API documentation for these commands for details: tableCreate, tableDrop, dbCreate, dbDrop
Changefeeds on a table now combine multiple changes to the same document into a single notification if they happen rapidly.
You can turn this behavior off by passing the squash: false optional argument (see the
API documentation for details).
Strings passed to ReQL are now rejected if they are not valid UTF-8. Non UTF-8 conformant data can be stored as binary data instead.
- ReQL admin: a new cluster management and monitoring API (#2169)
- Added a special system database named
rethinkdb- The
table_configtable allows changing a table's configuration (#2870) - The
server_configtable allows listing and managing servers in the cluster (#2873) - The
db_configtable allows listing and renaming databases (#151, #2871) - The
cluster_configtable contains cluster-wide settings (#2924) - The
table_statustable displays each table's availability and replication status (#2983, #3269) - The
server_statustable contains information about the servers in the cluster (#2923, #3270) - The
current_issuestable lists issues affecting the cluster and suggests solutions (#2864, #3258) - The
jobstable lists running queries and background tasks (#3115) - The
statstable contains real-time statistics about the server (#2885) - The
logstable provides access to the server logs (#2884) - The
identifierFormatoptional argument totableswitches how databases, tables and servers are referenced in the system tables. Can be either "name" or "uuid" (#3266) - Added hidden debug tables (
_debug_table_status,_debug_stats). These tables are subject to change and not part of the official administration interface (#2901, #3385)
- The
- Improved cluster management
- Servers can now be associated with multiple tags using the
--server-tagflag or by updating theserver_configtable (#2856) - Removed the datacenter abstraction and changed the arguments to
tableCreate(#2876) - Removed the
rethinkdb admincommand line interface - Added a
reconfigurecommand to change the replication and sharding settings of a table (#2932) - Added a
rebalancecommand to even out the size of a table's shards (#2981) - Added a
configcommand for tables and databases as an alias for the corresponding row indb_configortable_config - Added a
statuscommand for tables as an alias for the corresponding row intable_status - Most of the
/ajaxendpoints have been removed. Their functionality has been moved to the system tables (#2878, #2879) - The stats now contains the number of client connections (#2989)
- Added more information to the return value of
db_create,db_drop,table_createandtable_drop(#3001) - Changed how
durabilityandwrite_acksare configured (#3066) - The cache size can now be changed at runtime (#3166)
- Improved the scalability for large table creation and reconfiguration in large clusters (#3198)
- Added a new UI for table configuration (#3229)
- Empty tables can now be sharded (#3271, #1679)
- Servers can now be associated with multiple tags using the
- Added a special system database named
- ReQL
- Added
r.rangewhich generates all numbers from a given range (#875) - Enforce UTF-8 encoding on input strings (#1181)
- Added a
waitcommand which waits for a table to be ready (#2259) - Added
toJsonStringwhich converts a datum into a JSON string (#2513) - Turned
mapinto a variadic function for mapping over multiple sequences in parallel (#2574) - Added a prefix version of
map(#3321) - Added an optional
squashargument to thechangescommand, which lets the server combine multiple changes to the same document (defaults totrue) (#2726, #3558) minandmaxnow use an index when passed the newindexparameter (#2974, #2981)- It is now possible to get changefeeds for more types of queries.
changescan now be chained onto:- Ranges generated with
between(#3232) - Single documents with
get - Subsets with
filter - Sub-documents and modified documents with
mapand other commands that are stream-polymorphic such asmerge - Certain reductions such as
minandmax - Top scoring documents with
orderByandlimit - Combinations of the above, such as
betweenfollowed bymap
- Ranges generated with
- Added
- Server
- Made buffered IO the default, added a
--direct-ioflag to enable direct IO and deprecated the--no-direct-ioflag (#3391)
- Made buffered IO the default, added a
- Python driver
rethinkdb exportnow exports secondary index information andrethinkdb importre-creates those indexes unless it is given the--no-secondary-indexesflag (#3484)
- Web UI
- The web assets are now compiled into the
rethinkdbexecutable (#1093) getAllqueries on secondary indexes are now shown in the performance graph (#2379)- Added
getFieldto the autocompletion in the Data Explorer (#2624) - Added live updates for changefeeds in the Data Explorer (#2643)
- Reduced the amount of data transferred to and processed by the browser by the dashboard (#2786)
- The database view was removed (#3491)
- Added a secondary index monitor to the dashboard (#3493)
- The web assets are now compiled into the
- Server
- Removed code used to support outdated tests (#1524)
- Improved implementation of erase range operations (#2034)
jemallocis now used by default instead oftcmalloc, which solves some memory inflation (#2279)- Replaced vector clocks with automatic timestamp-based conflict resolution (#2784)
- No longer complain when
stderrcan't be flushed (#2790) - Replaced uses of the word "machine" to use "server" instead. The old
--machine-nameflag is now--server-name(#2877, #3254) - The server now prints its own name on startup (#2992)
- Adjusted the formatting of log levels, no longer print
info:lines to stderr and added anoticelog level (#3040) - Added a
--no-default-bindoption that prevents the server from listening on loopback addresses (#3154) - Lower the CPU load of an idle server (#3185)
- The OS disk cache is now ignored when calculating available memory (#3193)
kqueueis now used instead ofpollfor events on OS X for better performance (#3403)- Tables now become available faster and table metadata takes less space on disk (#3463)
- Queries that perform multiple HTTP requests now share the same cookies (#3469)
- Made resolving of ties in secondary indexes more consistent (#3550)
- The server now calls home to RethinkDB HQ to check for newer versions and send anonymized statistics. This can be turned off with the new
--no-update-checkflag (#3170)
- Testing
- The ReQL tests can now run in parallel (#2305, #2672)
- The Ruby driver is now tested against different versions of Ruby (#2526)
- Relaxing floating point comparison to account for rounding issues (#2912)
- No longer depend on external HTTP servers (#3047)
- Switched to using the new cluster management features in the test suite (#3398, #3401)
- ReQL
- Allow querying the version of the server (#2698)
- Improved the error message when pseudo-types are used as objects (#2766)
- The names of types returned by
typeOfandinfonow match (#3059) - No longer silently ignore unknown global optional arguments (#2052)
- Improved handling of socket, protocol and cursor errors (#3207)
- Added an
isOpenmethod to connections (#2113) infoon tables now works whenuseOutdatedis true (#3355)infoon tables now includes the table id (#3358)
- Driver protocol
- Made internal names of commands more consistent (#3147)
- Added the
SUCCESS_ATOM_FEEDreturn type, used when returning changes for a single document (#3389)
- JavaScript driver
- Upgrade to bluebird 2 (#2973)
- Python driver
- Added a
nextmethod for cursors (#3042) r.exprnow accepts any iterable or mapping (#3146)rethinkdb exportnow avoids traversing each table twice by using an estimated document count (#3483)
- Added a
- Build
- Updated code to build with post-Yosemite versions of Xcode (#3219)
- Fetch Curl 7.40.0 when not using the system-installed one (#3540)
- Packaging
- Added
procpsas a dependency in the Debian packages (#3404) - Now depend on
jemallocinstead ofgperftools(#3419)
- Added
- Tests
- Fixed the
TimerTesttest (#549) - Always use the in-tree driver for testing (#711)
- Fixed the
- Server
- Some startup log messages are now consolidated into a single log entry (#925)
- Fixed continuation of partially-interrupted vectored I/O (#2665)
- Fixed an issue in the log file parser (#3694)
- ReQL
- Changed type of
betweenqueries to fromTABLEto the more correctTABLE_SLICE(#1728)
- Changed type of
- Web UI
- Use a real fixed width font for backtraces to make them align correctly (#2065)
- No longer show empty batches when more data is available (#3432)
- Python driver
- Correctly handle Unicode characters in error messages (#3051)
- JavaScript driver
- Added support for passing batch configuration arguments to
run(#3161)
- Added support for passing batch configuration arguments to
- Ruby driver
- Optional arguments can now be passed to
order_by(#3221)
- Optional arguments can now be passed to
Many thanks to external contributors from the RethinkDB community for helping us ship RethinkDB 1.16. In no particular order:
- Adam Grandquist (@grandquista)
- Ilya Radchenko (@knownasilya)
- Gianluca Ciccarelli (@sturmer)
- Alexis Okuwa (@wojons)
- Mike Ma (@cosql)
- Patrick Stapleton (@gdi2290)
- Mike Marcacci (@mike-marcacci)
- Andrei Horak (@linkyndy)
- Param Aggarwal (@paramaggarwal)
- Brandon Zylstra (@brandondrew)
- Ed Costello (@epc)
- Alessio Basso (@alexdown)
- Benjamin Goodger (@goodgerster)
- Vinh Quốc Nguyễn (@kureikain)
--
Released on 2015-01-08
Bug fix update.
- Fixed a bug that caused the endpoints of a reversed range to not be correctly included or excluded (#3449)
- Fixed the
reverse_iteratorimplementation for leaf nodes (#3446) - Fixed a bug that could cause a bad ordering of secondary indexes for rows with different primary key sizes (#3444)
- Fixed a bug that could cause a crash under high load when using changefeeds (#3393)
- Fixed a bug that made it impossible to chain
betweenanddistinct(#3346) - Changed some calls to avoid passing
NULLtomemcpy(#3317) - Fixed the installer artwork on OS X Yosemite (#3253)
- Changed the version scheme for the JavaScript driver to avoid mis-use of pre-release numbers (#3281)
- Fixed a bug that could cause
rethinkdb importandrethinkdb exportto hang (#3458)
Released on 2014-11-07
Bug fix update.
- Added packages for Ubuntu 14.10 "Utopic Unicorn" (#3237)
- Fixed a bug with memory handling in S2 (#3201)
- Fixed a bug handling paged results in the Data Explorer (#3111)
- Fixed a bug that caused a crash on exit if a joined server with an open changefeed crashed (#3038)
- Fixed a bug that caused a crash when unsharding discarded more rows than expected when batching results (#3264)
- Fixed a bug that could lead to crashes when changefeeds were frequently registered and unregistered (#3205)
- Changed the
r.pointconstructor to be deterministic, allowing it to be used in secondary index functions (#3287) - Fixed an incompatibility problem between Python 3.4 and the
importcommand (#3259) - Fixed a buffer alignment issue with
object_buffer_tdata (#3300)
Released on 2014-10-07
Bug fix update.
- Fixed a bug where tables were always created with hard durability, regardless
of the
durabilityoption (#3128) - Fixed a bug that caused HTTPS access with
r.httpto fail under OS X (#3112) - Fixed a bug in the Python driver that caused pickling/unpickling of time objects to fail (#3024)
- Changed the Data Explorer autocomplete to not override Ctrl+Tab on Firefox (#2959)
- Fixed a bug that caused a crash when a non-directory file was specified as RethinkDB's startup directory (#3036)
- Added native packages for Debian (#3125, #3107)
- Fixed a compilation error on ARM CPUs (#3116)
- Support building with Protobuf 2.6.0 (#3137)
Released on 2014-09-23
The highlights of this release are support for geospatial objects and queries, and significant performance upgrades relating to datum serialization (twice as fast for many analytical workloads). Read the release blog post for more details.
Only documents modified after upgrading to 1.15 will receive these performance gains. You may "upgrade" older documents by performing any write that modifies their contents. For example, you could add a dummy field to all the documents in a table and then remove it:
r.table('tablename').update({dummy_field: true})
r.table('tablename').replace(r.row.without('dummy_field'))
There are no API-breaking changes in this release.
- ReQL
- Added geospatial query and index support (#2571, #2847, #2851, #2854, #2859, #3003, #3011)
- Added
r.uuidfor generating unique IDs (#2063) - Added a
BRACKETterm to the query language, to improve the bracket operator in client drivers (#1179)
- Server
- Significantly improved performance of read operations by lazily deserializing data: ~1.15x faster for simple queries, ~2x faster for many analytical queries, and ~50x for count queries (#1915, #2244, #2652)
- Removed the option for
datum_tto be uninitialized (#2985) - Improved the performance of
zipby replacing thezip_datum_stream_ttype with a transformer function (#2654) - Clarified error messages when the data in the selection could not be printed (#972)
- Improved performance of
r.matchby adding regex caching and a framework for generic query-based caches (#2196)
- Testing
- Removed unnecessary files from
test/common(#2829) - Changed all tests to run with
--cache-sizeparameter (#2816)
- Removed unnecessary files from
- Python driver
- Modified
r.rowto provide an error message on an attempt to call it like a function (#2960)
- Modified
- JavaScript driver
- Errors thrown by the driver now have a stack trace (#3087)
- ReQL
- Fixed a bug for
r.literalcorner cases (#2710) - Improved error message when
r.literalis used in an invalid context (#1600)
- Fixed a bug for
- Web UI
- Fixed a bug that caused selection in the query text area to become unresponsive with large queries (#3043)
- Fixed a bug that caused "more data is available" to be displayed incorrectly in certain cases (#3037)
- Server
- Fixed a display bug with log entries in the web UI (#2627)
- Fixed a bug where Makefile miscounted dependencies when
ql2.protowas changed (#2965) - Fixed a bug where the connection authorization key was improperly encoded (#2952)
- Fixed an uninitialized variable warning during builds (#2977)
- Testing
- Fixed various bugs in tests (#2940, #2887, #2844, #2837, #2603, #2793)
- JavaScript driver
- Fixed a bug in the JavaScript driver that caused backtraces to not print properly (#2793)
- Python driver
- Replaced
or isinstancewith a tuple of types (#2968) - Removed unused
kwargassignments (#2969)
- Replaced
- Ruby driver
- Fixed a bug where
default_db,hostandportwere not exposed in the Connection object (#2849)
- Fixed a bug where
Many thanks to external contributors from the RethinkDB community for helping us ship RethinkDB 1.15. In no particular order:
- Sathyanarayanan Gunasekaran (@gsathya)
- Adam Grandquist (@grandquista)
- Duane Johnson (@canadaduane)
- Colin Mattson(@cmattson)
- Justas Brazauskas (@jutaz)
- Matt Stith (@stith)
- Dmitry Minkovsky (@dminkovsky)
Released on 2014-09-09
Bug fix update.
- Fixed a bug that caused
rethinkdb index-rebuildto fail with auth keys (#2970) - Changed
rethinkdb exportto specifybinary_format='raw'to work with binary data correctly (#2964) - Fixed
rethinkdb importto handle Unicode in CSV files (#2963) - Updated the Valgrind suppressions file to fix false "uninitialized value" warnings (#2961)
- Fixed a bug that caused duplicate perfmons when recreating an index (#2951)
- Fixed a bug that could cause
r.httpto crash when used with pagination andcoerce_to(#2947) - Improved the printing of binary data in Python and Ruby REPLs (#2942)
- Fixed a bug that could corrupt databases larger than 4GB on 32-bit systems (#2928)
- Fixed permission issues with the web admin interface files (#2927)
- Fixed a bug that caused a crash due to incorrect error handling in profile mode (#2718)
- Fixed a bug that caused a crash when existing servers tried to connect to a new server with an unresolvable hostname (#2708)
Released on 2014-08-20
The highlights of this release are:
- Support for storing binary data
- Seamless database migration
- Support for Python 3
Read the release blog post for more details.
Data files from RethinkDB versions 1.13.0 onward will be automatically migrated to version 1.14.x. As with any major release, back up your data files before performing the upgrade. If you are upgrading from a release earlier than 1.13.0, follow the migration instructions before upgrading:
Secondary indexes now use a new format; old indexes will continue to work, but you should rebuild indexes after upgrading to 1.14.x. A warning about outdated indexes will be issued on startup.
Indexes can be migrated to the new format with the rethinkdb index-rebuild
utility. Consult the troubleshooting document for more
information:
The return_vals optional argument for insert, delete and update has
been changed to return_changes, and works with all write operations
(previously, this only worked with single-document writes). The returned
object is in a new format that is backwards-incompatible with previous
versions. Consult the API documentation for insert, delete,
and update for details:
The upsert optional argument to insert has been replaced with conflict
and new allowed values of error, replace or update. This is a
backwards-incompatible change. Consult the API documentation for more
information.
- Server
- Return old/new values for multi-row write operations (#1382)
upsertreplaced withconflictargument forinsert(#1838)- Added binary data type support via
binary(#137, #2612, #2931) binary_format="raw"added torun(#2762)- Secondary indexes can be renamed with
index_rename(#2794) - Secondary indexes can be duplicated (#2797)
- Out of date secondary indexes logged on startup (#2798)
r.httpcan return a binary object (#2806)
- Python driver
- Added Python 3 support (#2502)
- Data Explorer
- Support for displaying binary types (#2804, #2865)
- Server
- Server names now default to the hostname of the machine (#236, #2548)
distinctis faster and now works on indexes (#1864)- Improve secondary index queue handling (#1947)
- The array limit is now configurable (#2059)
- Allow initializing an empty directory (#2359)
- Max number of extprocs raised (#2391, #2584)
- Argument count errors are prettier (#2568)
- Better error reporting in
r.js(#2748) index_statusprovides more info (#2791)
- Command line
- Table names in the CLI are disambiguated (#2360, #2550)
- Python driver
- Cleanup unneeded files (#2610)
- Documentation examples are now PEP8 compliant (#2534)
- Testing
- Polyglot targets for Ruby 1.8, 1.9, 2.0, 2.1 (#773)
- Multiple versions of Python can be tested simultaneously
- Web UI
- Added a notification and helpful message for out-of-date secondary indexes (#2799)
- Server
--runuserand--rungroupset proper permissions when used withrethinkdb create(#1722)- Improved behavior and error messages for write acks (#2039)
- Fix
getaddrinfoerror handling (#2110) - Fix a bug with machine name generation (#2552, #2569)
- Fix a bug when compiling on GCC 4.7.2 (#2572)
- Fix memory corruption error (#2589)
- Fix stream cache error (#2607)
- Fix linking issue with RE2 (#2685)
- Miscellaneous build fixes (#2666, #2827)
- Fix rare conflict bug in cluster config (#2738)
- Fix variable initialization error (#2741)
- Fix bug in
RPCSemilatticeTest.MetadataExchange(#2758) - Changefeeds work on multiple joined servers (#2761)
- Secondary index functions ignore global optargs (#2767)
- Secondary indexes sort correctly (#2774, #2789)
- Fix crashing bug with undefined ordering (#2777)
- Fix dependency includes in Makefile (#2779)
- Convert
query_paramsto amap(#2812) - Convert
header_linesinto amap(#2818) - Improve robustness with big documents (#2832)
- Wipe out old secondary index tree when post-constructing (#2925)
- Preliminary fix for web permission issues on CentOS (#2927)
- ReQL
- Fix a bug in
delete_at(#2696) insertandsplicenow check array size limit (#2697)- Fix error in undocumented
batch_confoption (#2709)
- Fix a bug in
- Web UI
- Improve interval notation for shard boundaries (#2081, #2635)
- The Data Explorer now remembers the current query on disconnects (#2460)
- The Data Explorer now hides overflowing text in its popup containers (#2593)
- Testing
- Miscellaneous testing improvements (#2396, #2583, #2760, #2787, #2788, #2795)
- Update testing scripts for drivers (#2815)
- Python driver
- Make
allandanybehave likeand_andor_(#2659) - Use
os.path.splitextto check file extensions (#2681)
- Make
- JavaScript driver
- Return errors rather than throw them (#2852, #2883)
Many thanks to external contributors from the RethinkDB community for helping us ship RethinkDB 1.14. In no particular order:
- Sathyanarayanan Gunasekaran (@gsathya)
- James Costian (@jamescostian)
- Ed Rooth (@sym3tri)
- Cole Gleason (@colegleason)
- Mikhail Goncharov (@metaflow)
- Elian Gidoni (@eliangidoni)
- Ivan Fraixedes (@ifraixedes)
- Brett Griffin (@brettgriffin)
- Ed Costello (@epc)
- Juuso Haavisto (@9uuso)
- Nick Verlinde (@npiv)
- Ayman Mackouly (@1N50MN14)
- Adam Grandquist (@grandquista)
Released on 2014-08-14
Bug fix update.
- Resolved several memory leaks (#2899, #2840, #2744)
- Added a
--temp-diroption torethinkdb dumpandrethinkdb restore(#2783) - The
batchConfargument torunnow works in the JavaScript driver (#2707) - Fixed the
Accept-Encodingheader sent byr.http(#2695) - Improved the performance of inserting large objects from the JavaScript driver (#2641)
cursor.closenow takes a callback in the JavaScript driver (#2591)- Fixed a bug that caused
illegal to destroy fifo_enforcer_sink_terrors (#2264) - Fixed a bug that caused
Assertion failed: [!parent->draining.is_pulsed()]errors (#2811) - Improved the error message when running into version incompatibilities (#2657)
- Improved the garbage collection for
r.js(#2642)
Released on 2014-07-07
Bug fix update.
- Fix a compiler warning:
cluster_version may be used uninitialized(#2640) - Fix code that used
std::movetwice on the same object (#2638) - Prepare for live cluster upgrades (#2563)
- Fix a bug that could lead to inconsistent data (#2579)
Released on 2014-06-26
Bug fix update.
- Fixed a bug that caused
Assertion failed: [ptr_]errors when shutting down (#2594) - Fixed a performance issue in the JSON parser (#2585)
- The JavaScript driver no longer buffers change feeds (#2582)
- Fixed a bug that caused
Uncaught exception of type "cannot_perform_query_exc_t"errors (#2576) - No longer crash when a secondary index is named
primary(#2575) - Queries that return
nullare now handled correctly in the Data Explorer (#2573) r.httpnow properly parses headers when following a redirection (#2556)- Improved the performance of write operations on sharded tables (#2551)
- Fixed a bug that caused
r.jsto crash in certain circumstances (#2435) - Correctly handle
EPIPEerrors when connecting to an old version of the server (#2422) - Fixed a bug that caused
Could not bind socketerrors when using--bind(#2405) - Fixed a bug that caused
Failed to parse as valid uuiderrors (#2401) - Improved the
bad magic numbererror message (#2302) defaultnow catches index out of bounds errors on streams (#1922)- Improved arity error messages in the JavaScript driver (#2449)
Released on 2014-06-13
The highlights of this release are the r.http command for external
data access, change feed support via the new changes command, and
full support for Node.js promises in the JavaScript driver.
Read the release blog post for more details.
This release is not compatible with data files from earlier releases. If you have data you want to migrate from an older version of RethinkDB, please follow the migration instructions before upgrading:
There are also some backwards incompatible changes in the JavaScript driver.
- The
hasNextcommand for cursors has been removed.nextcan be used instead.
- ReQL
- Added
r.randomfor generating random numbers (#865) - Made the second argument to
sliceoptional (#2048) eq_joinnow accepts a function as its first argument, and does not fail if the field doesn't exist (#1764)nthcan now return a selection, just likeget(#348)- Improved the
master not availableerror message (#1811) - Switched to the JSON protocol in the Ruby, JavaScript and Python drivers (#2224, #2390)
- Added the
changescommand for creating live change feeds (#997) - Added
r.argsto allow specifying a dynamic number of arguments to commands such asget_all(#1854) - Added
r.httpfor interfacing with external APIs (#1383)
- Added
- Server
- Added a JSON protocol to replace the protobuf protocol, which is now deprecated (#1868)
- Added a README describing the structure of the
src/folder (#2301) - Switched to manual versioning of the intra-cluster protocol (#2295)
- Made the serialization format version-aware (#2308, #2353)
- Improved the error message when running out of disk space (#1945)
- JavaScript driver
- Added support for promises (using bluebird) (#1395)
- Removed the
hasNextcommand (#2497) - Added the
on,once,removeListenerandremoveAllListenersmethods to cursors (#2223) - The first argument to
r.connecthas been made optional (#2273)
- Tests
- Improved the run-test script and ported it to Python (#2235)
- Improved the ReQL tests (#1402)
- Build
- Symbol files are now generated (#2330)
- Build with debugging symbols by default (#2323)
- Added a signature to the OS X package (#1565)
- Dropped support for GCC 4.4 (#1748)
- Added an explicit dependency on Python 2 in the
configurescript (#2478) - Added a dependency on libcurl (#2400)
- Server
- Allocate smaller pages in the cache (#2130)
- Reduce overhead by handling requests locally on the primary if possible (#2083)
- Adjusted the value of
chunk_processing_semaphore(#2392) - Improved backfilling on rotational drives (#2393)
- Metadata is no longer copied when evaluating
r.db(#1907) - No longer update the stat block when updating secondary indexes (#2431)
- Block writes are better combined in the cache (#2127)
- Concurrent garbage collection to improve disk space efficiency (#2457)
- Testing
- Added automated performance regression tests (#1963)
- Server
- Fixed the threaded coroutine implementation (#2168, #2332)
- HTTP 500 errors are now accompanied by an error message (#511)
- Got rid of vestigial memcache support (#803)
- Made
order_byand other sortings be stable (#2155) - Cleaned up blob_t code to make it more reliable (#2227)
- Fixed a bug that caused crashes when dropping secondary indexes under load (#2251)
- Fixed a bug in the JSON parsing code that caused a crash (#2489)
- Fixed a bug that could cause segfaults (#2491)
- Avoid high memory consumption on startup (#2329)
- Disabled Nagle algorithm for outgoing TCP connections (#2529)
- Remove some potentially objectionable server names (#2468)
- Fixed a bug that caused
Callstack overflow in a coroutineerrors (#2357) - Merged upstream fixes to
cJSON(#2496) - Fixed a bug that could cause a segmentation fault (#2500)
- Fixed a bug in the serializer garbage byte calculation (#2541)
- ReQL
- Added the database name to error messages (#2280)
- No longer report run-time errors as client errors (#1908)
- Arguments to
r.exprare now properly validated (#2384) - No longer crash when
r.jsreturns a bad datum (#2409) - Fixed handling of global optargs (#2525)
- Ruby driver
- Ignore
closeerrors when reconnecting (#2276) - Fixed conflicts with active support (#2284)
- Added a missing
nesting_depthargument tor.expr(#2408) - Modified the driver to work with JRuby (#2296)
- The driver now prefetches cursor data (#2373)
- Ignore
- JavaScript driver
- Improved the variable names in error messages (#2461)
- Web UI
- Fixed a bug that caused JavaScript exceptions (#2503)
- Fixed the per-server document count (#1836)
- The database name is now shown on the table page (#2366)
- Removed the inconsistent green tick next to the secondary index status (#2084)
- Fixed email highlighting (#2378)
- Large responses no longer cause the Data Explorer to become unresponsive (#2481)
- Fixed a bug triggered by clearing the Data Explorer history (#2389)
- Tests
- Converted the memcache tests to use ReQL (#803)
Many thanks to external contributors from the RethinkDB community for helping us ship RethinkDB 1.13. In no particular order:
- Liu Aleaxander (@Aleaxander)
- Nicolas Viennot (@nviennot)
- Elian Gidoni (@eliangidoni)
- Matthew Frazier (@leafstorm)
- Masatoshi Ishida (@Masatoshi)
Released on 2014-05-21
Bug fix update.
- Fixed a bug that caused
Guarantee failed: [!mod_info->deleted.second.empty() && mod_info->added.second.empty()]errors (#2285) - Fixed the behaviour of
order_byfollowingbetween(#2307) - Fixed a bug that caused
Deserialization of rdb value failed with error archive_result_t::RANGE_ERRORerrors (#2399) - JavaScript driver:
reduceno longer accepts thebaseargument (#2288) - Python driver: improved the error message when a cursor's connection is closed (#2291)
- Python driver: improved the implementation of cursors (#2364, #2337)
Released on 2014-04-22
Bug fix update.
- Fixed a bug that caused
Assertion failed: [page->is_disk_backed()]errors (#2260) - Fixed a bug that caused incorrect query results and frequent server crashes under low memory conditions (#2237)
Released on 2014-04-17
Bug fix update.
- Compilation no longer fails with SEMANTIC_SERIALIZER_CHECK=1 (#2239)
- Identical
--joinoptions no longer cause a crash (#2219) - Fixed a race condition in the Ruby driver (#2194)
- Concurrent backfills are now limited to 4 per peer and 12 total (#2211)
- Failure to
fsynca directory is now a warning instead of an error (#2255) - Packages are now available for Ubuntu 14.04, codename Trusty Tahr (#2101)
Released on 2014-04-08
Bug fix update.
- Fixed a bug that caused
illegal to destroy fifo_enforcer_sink_terrors (#2092) - Fixed a bug that caused
Guarantee failed: [resp != __null]errors (#2214) - Fixed a bug that caused
Segmentation faulterrors (#2222) - Use less memory for common operations (#2164, #2213)
- Ruby 2.1.1 support (#2177)
- Fixed the
PageTestunit test (#2187) - Updated the documentation (#2197)
- Updated the sample config file (#2205)
Released on 2014-03-27
Bug fix update.
- Fixed crash
evicter.cc at line 124: Guarantee failed: [initialized_](#2182) - Fixed
index_waitwhich did not always work (#2170, #2179) - Fixed a segmentation fault (#2178)
- Added a
--hard-durabilityoption to import/restore - Changed the default
--cache-sizeto be more friendly towards machines with less free RAM - Changed tables to scale their soft durability throttling based on their cache size
- Fixed some build failures (#2183, #2174)
- Fixed the Centos i686 packages (#2176)
Released on 2014-03-26
The highlights of this release are a simplified map/reduce, an experimental ARM port, and a new caching infrastructure.
Read the release blog post for more details.
This release is not compatible with data files from earlier releases. If you have data you want to migrate from an older version of RethinkDB, please follow the migration instructions before upgrading:
There are also some backwards incompatible changes in ReQL, the query language.
grouped_map_reduceandgroup_bywere replaced bygroupreduceno longer takes abaseargument; usedefaultinsteadtable_createno longer takes acache_sizeargument- In JavaScript, the calling convention for
runhas changed.
- Server
- Added support for the ARM architecture (#1625)
- Added per-instance cache quota and removed per-table quotas (#97)
- Added a
--cache-sizecommand line option that sets the cache size in MiB for a single instance - Removed the
cache_sizeoptional argument fortable_create
- Added a
- Wrote a new and improved cache (#1642)
- Added gzip compression to the built-in web server (#1746)
- ReQL
mergenow accepts functions as an argument (#1345)- Added an
objectcommand to build objects from dynamic field names (#1857) - Removed the optional
baseargument toreduce(#888) - Added a
splitcommand to split strings (#1099) - Added
upcaseanddowncasecommands to change the case of a string (#874) - Change how aggregation and grouping is performed (#1096)
- Removed
grouped_map_reduceandgroupBy - Added
groupandungroup - Changed the behavior of
count,sumandavgand addedmaxandmin
- Removed
- Web UI
- Display index status and progress bars in the web UI (#1614)
- Server
- Improved the scalability of meta operations (such as table creation) to allow for more nodes in a cluster (#1648)
- Changed the CPU sharding factor to 8 for improved multi-core scalability (#1043)
- Batch sizes now scale better, which speeds up operations like
limit(#1786) - Tweaked batch sizes to avoid computing unused results (#1962)
- Improved throttling and LBA garbage collection to avoid stalls in query throughput (#1820)
- Many optimizations to avoid having the web UI time out when the server is under load (#1183)
- Improved backfill performance by using batches for sending and inserting data (#1971)
- Reduced wasteful copies when serializing (#1431)
- Evaluating queries now yields occasionally to avoid timeouts (#1631)
- Reduced performance impact of backfilling on other queries (#2071)
- Web UI
- Improved how the web UI handles large clusters with many tables (#1662)
- Ruby driver
- Removed inefficient construction-location backtraces (#1843)
- Tests
- Added automated performance tests (#1806)
- Server
- Improved the code to avoid heartbeat timeout errors when resharding (#1708)
- Resharding one table no longer makes other tables unavailable (#1751)
- Improved the blueprint suggester to distribute shards more evenly (#344)
- Queries from the data explorer are now interruptible (#1888)
- No longer fail if IPv6 is not available (#1925)
- Added support for the new v8 scope API (#1510)
- Coroutine stacks now freed to reduce memory consumption (#1670)
- Added range get, backfill and secondary index reads to the stats (#660)
r.table(...).count()no longer stalls inserts (#1870)- Fixed crashes when adding a secondary index (#1621, #1437)
- Improve the handling of out-of-memory conditions (#2003)
- Secondary index construction is now reported as a write operation in the stats (#1953)
- Fixed a crash that occasionally happened during replication (#1389)
linux_file_t::set_sizeno longer makes blocking syscalls (#265)- Fixed a crash caught by the unit tests (#1084)
- Command line
rethinkdb adminnow prints warnings to stderr instead of stdout (#1316)- The
importandexportscripts now display a row count when done (#1659) - Added support for
log_fileandno_direct_ioin the init script (#1769, #1892) - Do not display a stack trace for regular errors printed by the backup scripts (#2098)
rethinkdb exportno longer fails when there are no tables (#1904)rethinkdb importno longer tries to parse CSV files as JSON (#2097)
- Web UI
- No longer display wrong number of rows when a string is returned (#1669)
- The data explorer now properly closes cursors (#1569)
- The data explorer now displays empty tables correctly (#1698)
- Links are now relative so they can be proxied from a subdirectory (#1791)
- The server time reported by the profiler is now accurate (#1784)
- Improved the flow for removing dead servers (#1366)
- No longer lower replicas to 0 if the datacenter is primary (#1834)
- Now displays consistent availability information (#1756)
- Fixed a XSS security issue (#2018)
- Changing the number of acks no longer displays the sharding bar (#2023)
- The backfilling progress bar doesn't disappear when refreshing the page (#1997)
- Correctly handle newlines in the data explorer (#2021)
- Sort the table list in alphabetical order (#1704)
- Added mouseover text to the query execution time (#1940)
- The replication status no longer blinks (#2019)
- Fix inconsistencies in dates caused by DST (#2047)
- Ruby driver
- Added a missing
closemethod on cursors (#1568) - Improved conflict handling (#1814)
- Use
define_methodinstead ofmethod_missing, which improves compatibility with Sinatra (#1896)
- Added a missing
- Python driver
- Improved the quality of the generated documentation (#1729)
- Added missing
and_andor_and a warning for misuse of|and&(#1582) - Added support for
r.rowineq_join(#1810) - Added a detailed error message when brackets are not used properly (#1434)
countwith an argument now behaves correctly (#1992)- Added missing
get_fieldcommand (#1941)
- JavaScript driver
- Added support for
r.rowineqJoin(#1810) - Timeout events on the socket are now handled correctly (#1909)
- No longer use the deprecated ArrayBuffer API (#1803)
- Fix backtraces for optional arguments (#1935)
- Changed the syntax of
run(#1890) - Exposed the error constructors (#1926)
- Fixed the string representation of functions (#1919, #1894)
- Backtrace printing now works correctly for both protobufjs and node-protobuf (#1879)
- No longer extend
Array.prototype(#2112)
- Added support for
- Build
./configurenow checks forboostand can fetch it if it is not installed (#1699)- The source distribution now includes the v8 source (#1844)
- Use Python 2 to build v8 (#1873)
- Improved how the build system fetches and builds external packages, and changed the default to not fetch anything (#1231)
- Support for Ubuntu Raring has been dropped (#1924)
Released on 2014-01-14
Bug fix update.
- Fixed a crash on multiple ctrl-c (#1848)
- Ruby driver: fixed mutable backtraces (#1846)
- Fixed a build failure on older versions of GCC (#1824)
- Added missing durability argument to the Javascript driver (#1821)
- Fixed a crash caused by changing the cluster configuration when there are unresolved issues (#1813)
- Fixed a bug triggered by using
order_byfollowed bycount(#1796) - Tables can now be referenced by full name (e.g.
database.table) inrethinkdb admin(#1795) - Fixed a bug triggered by chaining multiple joins (#1793)
- Fixed a crash occasionally triggered by dropping an index (#1789)
- The init script now fails when given wrong arguments (#1779)
- RethinkDB now refuses to start if it cannot open the log file (#1778)
- Fixed a JavaScript error in the Web UI (#1754)
- Speed up count queries (#1733)
- Fix a bug with thread-local storage that caused a segfault on certain platforms (#1731)
getof a non-existent document followed byreplacenow works as documented (#1570)
Released on 2013-12-06
Bug fix update.
- Fixed a bug caused by suggesting
r.ISO8601in the Data Explorer - Cursor in the Data Explorer is restored when a command is selected via dropdown
- Fixed a bug where queries returning null in the Data Explorer could not be parsed (#1739)
- Always
fsyncparent directories to avoid data loss (#1703) - Fixed IPv6 issues with link-local addresses (#1694)
- Add some support for Python 3 in the build scripts (#1709)
Released on 2013-12-02
Bug fix update.
- Drivers no longer ignore the timeFormat flag (#1719)
- RethinkDB now correctly sets the
ResponseTypefield in responses toSTOPqueries (#1715) - Fixed a bug that caused RethinkDB to crash with a failed guarantee (#1691)
Released on 2013-11-25
This release introduces a new query profiler, an overhauled streaming infrastructure, and many enhancements that improve ease and robustness of operation.
Read the release blog post for more details.
- Server
- Removed anaphoric macros (#806)
- Changed the array size limit to 100,000 (#971)
- The server now reads blobs off of disk simultaneously (#1296)
- Improved the batch replace logic (#1468)
- Added IPv6 support (#1469)
- Reduced random disk seeks during write transactions (#1470)
- Merged writebacks on the serializer level (#1471)
- Streaming improvements: smarter batch sizes are sent to clients (#1543)
- Reduced the impact of index creation on realtime performance (#1556)
- Optimized insert performance (#1559)
- Added support for sending data back as JSON, improving driver performance (#1571)
- Backtraces now span coroutine boundaries (#1602)
- Command line
- Added a progress bar to
rethinkdb importandrethinkdb export(#1415)
- Added a progress bar to
- ReQL
- Added query profiling, enabled by passing
profile=Truetorun(#175) - Added a sync command that flushes soft writes made on a table (#1046)
- Made it possible to wait for no-reply writes to complete (#1388)
- Added a
waitcommand - Added an optional argument to
closeandreconnect
- Added a
- Added
index_statusandindex_waitcommands (#1562)
- Added query profiling, enabled by passing
- Python driver
- Added documentation strings (#808)
- Added streaming and performance improvements (#1371)
- Changed the installation procedure for using the C++ protobuf implementation (#1394)
- Improved the streaming logic (#1364)
- JavaScript driver
- Changed the installation procedure for using the C++ protobuf implementation (#1172)
- Improved the streaming logic (#1364)
- Packaging
- Made the version more explicit in the OS X package (#1413)
- Server
- No longer access
perfmon_collection_tafter destruction (#1497) - Fixed a bug that caused nodes to become unresponsize and added a coroutine profiler (#1516)
- Made database files compatible between 32-bit and 64-bit versions (#1535)
- No longer use four times more cache space (#1538)
- Fix handling of errors in continue queries (#1619)
- Fixed heartbeat timeout when deleting many tables at once (#1624)
- Improved signal handling (#1630)
- Reduced the load caused by using the Web UI on a large cluster (#1660)
- No longer access
- Command line
- Made
rethinkdb exportmore resilient to low-memory conditions (#1546) - Fixed a race condition in
rethinkdb import(#1597)
- Made
- ReQL
- Non-indexed
order_byqueries now return arrays (#1566) - Type system now includes selections on both arrays and streams (#1566)
- Fixed wrong
insertedresult (#1547) - Fixed crash caused by using unusual strings in
r.js(#1638) - Redefined batched stream semantics (includes a specific fix for the JavaScipt driver as well) (#1544)
r.jsnow works with time values (#1513)
- Non-indexed
- Python driver
- Handle interrupted system calls (#1362)
- Improved the error message when inserting dates with no timezone (#1509)
- Made
RqlTzInfocopyable (#1588)
- JavaScript driver
- Fixed argument handling (#1555, #1577)
- Fixed
ArrayResult(#1578, #1584) - Fixed pretty-printing of
limit(#1617)
- Web UI
- Made it obvious when errors are JavaScript errors or database errors (#1293)
- Improved the message displayed when there are more than 40 documents (#1307)
- Fixed date formatting (#1596)
- Fixed typo (#1668)
- Build
- Fixed item counts in make (#1443)
- Bump the fetched version of
gperftools(#1594) - Fixed how
termcapis handled by./configure(#1622) - Generate a better version number when compiling from a shallow clone (#1636)
Released on 2013-10-23
Bug fix update.
- Server
r.jsno longer fails when interrupted too early (#1553)- Data for some
get_allqueries is no longer duplicated (#1541) - Fixed crash
Guarantee failed: [!token_pair->sindex_write_token.has()](#1380) - Fixed crash caused by rapid resharding (#728)
- ReQL
pluckin combination withlimitnow returns a stream when possible (#1502)
- Python driver
- Fixed
undefined variableerror intzname()(#1512)
- Fixed
- Ruby driver
- Fixed error message when calling unbound function (#1336)
- Packaging
- Added support for Ubuntu 13.10 (Saucy) (#1554)
Released on 2013-09-26
Read the release blog post for more details.
- Added multi-indexes (#933)
- Added selective history deletion to the Data Explorer (#1297)
- Made
filtersupport the nested object syntax (#1325) - Added
r.not_to the Python driver (#1329) - The backup scripts are now installed by the Python driver (#1355)
- Implemented variable-width object length encoding and other improvements to serialization (#1424)
- Lowered the I/O pool threads' stack size (#1425)
- Improved datum integer serialization (#1426)
- Added a thin wrapper struct
threadnum_tinstead of using raw ints for thread numbers (#1445) - Re-enabled full perfmon capability (#1474)
- Fixed the output of
rethinkdb admin help(#936, #1447) makeno longer runs./configure(#979)- Made the Python code mostly Python 3 compatible (still a work in progress) (#1050)
- The Data Explorer now correctly handles unexpected token errors (#1334)
- Improved the performance of JSON parsing (#1403)
batched_rget_stream_tno longer uses an out-of-date interruptor (#1411)- The missing
protobuf_implementationvariable was added to the JavaScript driver (#1416) - Improved the error and help messages in the backup scripts (#1417)
r.jsonis no longer incorrectly marked as non-deterministic (#1430)- Fixed the import of
rethinkdb_pbcppin the Python driver (#1438) - Made some stores go on threads other than just 0 through 3 (#1446)
- Fixed the error message when using
groupBywith illegal pattern (#1460) defaultis no longer unprintable in Python (#1476)
Released on 2013-09-09
Read the release blog post for more details.
Bug fix update.
- Server
- Fixed a potential crash caused by a coroutine switch in exception handlers (#153)
- No longer duplicate documents in the secondary indexes (#752)
- Removed unnecessary conversions between
datum_tandcJSON(#1041) - No longer load documents from disk for count queries (#1295)
- Changed extproc code to use
datum_tinstead ofcJSON_t(#1326)
- ReQL
- Use
Bufferinstead ofArrayBufferin the JavaScript driver (#1244) orderByon an index no longer destroys the precedingbetween(#1333)- Fixed error in the python driver caused by multiple threads using lambdas (#1377)
- Fixed Unicode handling in the Python driver (#1378)
- Use
- Web UI
- No longer truncate server names (#1313)
- CLI
rethinkdb importnow works with Python 2.6 (#1349)
Released on 2013-08-21
Bug fix update.
- The shard suggester now works with times (#1335)
- The Python backup scripts no longer rely on
pip show(#1331) rethinkdb helpno longer uses a pager (#1315, #1308)- The web UI now correctly positions
SVGRectElement(#1314) - Fixed a bug that caused a crash when using
filterwith a non-deterministic value (#1299)
Released on 2013-08-14
This release introduces date and time support, a new syntax for querying nested objects and 8x improvement in disk usage.
Read the release blog post for more details.
- ReQL
order_bynow accepts a function as an argument and can efficiently sort by index (#159, #1120, #1258)sliceandbetweenare now half-open by default (#869)- The behaviour can be changed by setting the new optional
right_boundargument toclosedor by settingleft_boundtoopen
- The behaviour can be changed by setting the new optional
containscan now be passed a predicate (#870)mergeis now deep by default (#872)- Introduced
literalto merge flat values
- Introduced
coerce_tocan now convert strings to numbers (#877)- Added support for times (#977)
+,-,<,<=,>,>=,==and!=: arithmetic and comparisonduring: match a time with an intervalin_timezone: change the timezone offsetdate,time_of_day,timezone,year,month,day,weekday,hour,minuteandsecond: accessorstime,epoch_timeandiso8601: constructorsmondaytosundayandjanuarytodecember: constantsnow: current timeto_iso8601,to_epoch_time: conversion
- Add the nested document syntax to functions other than
pluck(#1094)without,group_by,with_fieldsandhas_fields
- Remove Google Closure from the JavaScript driver (#1194)
- It now depends on the
protobufjsandnode-protobuflibraries
- It now depends on the
- Server
- Added a
--canonical-address HOST[:PORT]command line option for connecting RethinkDB nodes across different networks (#486)- Two instances behind proxies can now be configured to connect to each other
- Optimize space efficiency by allowing smaller block sizes (#939)
- Added a
--no-direct-iostartup flag that turns off direct IO (#1051) - Rewrote the
extproccode, makingr.jsinteruptible and fixing many crashes (#1097, #1106) - Added support for V8 >= 3.19 (#1195)
- Clear blobs when they are unused (#1286)
- Added a
- Web UI
- Use relative paths (#1053)
- Build
- Add support for Emacs'
flymake-mode(#1161)
- Add support for Emacs'
- ReQL
- Check the type of the callback passed to
nextandeachin the JavaScript driver (#656) - Fixed how some backtraces are printed in the JavaScript driver (#973)
- Coerce the port argument to a number in the Python driver (#1017)
- Functions that are polymorphic on objects and sequences now only recurse one level deep (#1045)
- Affects
pluck,has_fields,with_fields, etc
- Affects
- In the JavaScript driver, no longer fail when requiring the module twice (#1047)
r.unionnow returns a stream when given two streams (#1081)r.dbcan now be chained withdoin the JavaScript driver (#1082)- Improve the error message when combining
for_eachandreturn_vals(#1104) - Fixed a bug causing the JavaScript driver to overflow the stack when given an object with circular references (#1133)
- Don't leak internal functions in the JavaScript driver (#1164)
- Fix the qurey printing in the Python driver (#1178)
- Correctly depend on node >= 0.10 in the JavaScript driver (#1197)
- Check the type of the callback passed to
- Server
- Improved the error message when there is a version mismatch in data files (#521)
- The
--no-http-adminoption now disables the check for the web assets folder (#1092) - No longer compile JavaScript expressions once per row (#1105)
- Fixed a crash in the 32-bit version caused by not using 64-bit file offsets (#1129)
- Fixed a crash caused by malformed json documents (#1132)
- Fixed a crash caused by moving
func_tbetweek threads (#1157) - Improved the scheduling the coroutines that sometimes caused heartbeat timeouts (#1169)
- Fixed
conflict_resolving_diskmgr_tto suport files over 1TB (#1170) - Fixed a crash caused by disconnecting too fast (#1182)
- Fixed the error message when
js_runner_t::calltimes out (#1218) - Fixed a crash caused by serializing unintitialised values (#1219)
- Fixed a bug that caused an assertion failure in
protob_server_t(#1220) - Fixed a bug causing too many file descriptors to be open (#1225)
- Fixed memory leaks reported by valgrind (#1233)
- Fixed a crash triggered by the BTreeSindex test (#1237)
- Fixed some problems with import performance, interruption, parsing, and error reporting (#1252)
- RethinkDB proxy no longer crashes when interacting with the Web UI (#1276)
- Tests
- Fixed the connectivity tests for OS X (#613)
- Fix the python connection tests (#1110)
- Web UI
- Provide a less scary error message when a request times out (#1074)
- Provide proper suggestions in the presence of comments in the Data Explorer (#1214)
- The
More datalink in the data explorer now works consistently (#1222)
- Documentation
- Improved the documentaiton for
updateandpluck(#1141)
- Improved the documentaiton for
- Build
- Fixed bugs that caused make to not rebuild certain files or build files it should not (#1162, #1215, #1216, #1229, #1230, #1272)
Released on 2013-07-19
Bug fix update.
- RethinkDB no longer fails to create the data directory when using
--daemon(#1191)
Released on 2013-07-18
Bug fix update.
- Fixed
wire_func_tserialization that caused inserts to fail (#1155) - Fixed a bug in the JavaScript driver that caused asynchronous connections to fail (#1150)
- Removed
nice_crashandnice_guaranteeto improve error messages and logging (#1144) rethinkdb importnow warns when unexpected files are found (#1143)rethinkdb importnow correctly imports nested objects (#1142)- Fixed the connection timeout in the JavaScript driver (#1140)
- Fixed
r.without(#1139) - Add a warning to
rethinkdb dumpabout indexes and cluster config (#1137) - Fixed the
debian/rulesmakefile to properly build the rethinkdb-dbg package (#1130) - Allow multiple instances with different port offsets in the init script (#1126)
- Fixed
make installto not use/dev/stdin(#1125) - Added missing files to the OS X uninstall script (#1123)
- Fixed the documentation for insert with the returnVals flag in JavaScript (#1122)
- No longer cache
index.htmlin the web UI (#1117) - The init script now waits for rethinkdb to stop before restarting (#1115)
rethinkdbporcelain now removes the new directory if it fails (#1070)- Added cooperative locking to the rethinkdb data directory to detect conflicts earlier (#1109)
- Improved the comments in the sample configuration file (#1078)
- Config file parsing now allows options that apply to other modes of rethinkdb (#1077)
- The init script now creates folders with the correct permissions (#1069)
- Client drivers now time out if the connection handshake takes too long (#1033)
Released on 2013-07-04
Bug fix update.
- Fixed a bug causing
rethinkdb importto crash on single files - Added options to
rethinkdb importfor custom CSV separators and no headers (#1112)
Released on 2013-07-03
This release introduces hot backup, atomic set and get operations, significant insert performance improvements, nested document syntax, and native binaries for CentOS / RHEL.
Read the release blog post for more details.
- ReQL
- Added
r.jsonfor parsing JSON strings server-side (#887) - Added syntax to
pluckto access nested documents (#889) get_allnow takes a variable number of arguments (#915)- Added atomic set and get operations (#976)
update,insert,deleteandreplacenow take an optionalreturn_valsargument that returns the values that have been atomically modified
- Renamed
getattrtoget_fieldand make it polymorphic on arrays (#993) - Drivers now use faster protobuf libraries when possible (#1027, #1026, #1025)
- Drivers now use
r.jsonto improve the performance of inserts (#1085) - Improved the behaviour of
pluck(#1095)- A field with a non-pluckable value is considered absent
- Added
- Web UI
- It is now possible to resolve
auth_keyconflicts via the web UI (#1028) - The web UI now uses relative paths (#1053)
- It is now possible to resolve
- Server
- Flushes to disk less often to improve performance without affecting durability (#520)
- CLI
- Import and export JSON and CSV files (#193)
- Four new subcommands:
rethinkdb import,rethinkdb export,rethinkdb dumpandrethinkdb restore
- Four new subcommands:
rethinkdb adminno longer requires the--joinoption (#1052)- It now connects to localhost:29015 by default
- Import and export JSON and CSV files (#193)
- Documentation
- Documented durability settings correctly (#1008)
- Improved instructions for migration (#1013)
- Documented the allowed character names for tables (#1039)
- Packaging
- RPMs for CentOS (#268)
- ReQL
- Fixed the behaviour of
betweenwithnulland secondary indexes (#1001)
- Fixed the behaviour of
- Web UI
- Moved to using a patched Bootstrap, Handlebars.js 1.0.0 and LESS 1.4.0 (#954)
- Fixed bug causing nested arrays to be shown as
{...}in the Data Explorer (#1038) - Inline comments are now parsed correctly in the Data Explorer (#1060)
- Properly remove event listeners from the dashboard view (#1044)
- Server
- Fixed a crash caused by shutting down the server during secondary index creation (#1056)
- Fixed a potential btree corruption bug (#986)
- Tests
- ReQL tests no longer leave zombie processes (#1055)
Released on 2013-06-19
- Fixed a buffer overflow in the networking code
- Fixed a possible timing attack on the API key
- In python,
r.table_list()no longer throws an error (#1005) - Fixed compilation failures with clang 3.2 (#1006)
- Fixed compilation failures with gcc 4.4 (#1011)
- Fixed problems with resolving a conflicted auth_key (#1024)
Released on 2013-06-13
This release introduces basic access control, regular expression matching, new array operations, random sampling, better error handling, and many bug fixes.
Read the release blog post for more details.
- ReQL
- Added access control with a single, common API key (#266)
- Improved handshake to the client driver protocol (#978)
- Added
samplecommand for random sampling of sequences (#861, #182) - Secondary indexes can be queried with boolean values (#854)
- Added
onFinishedcallback toeachin JavaScript to improve cursors (#443) - Added per-command durability settings (#890)
- Changed
hard_durability=Truetodurability = 'soft' | 'hard' - Added a
durabilityoption torun
- Changed
- Added
with_fieldscommand, andpluckno longer throws on missing attributes (#886) - Renamed
containstohas_fields(#885)has_fieldsruns on tables, objects, and arrays, and doesn't throw on missing attributescontainsnow checks if an element is in an array
- Added
defaultcommand: replaces missing fields with a default value (#884) - Added new array operations (#868, #198, #341)
prepend: prepends an element to an arrayappend: appends an element to an arrayinsert_at: inserts an element at the specified indexsplice_at: splices a list into another list at the specified indexdelete_at: deletes the element at the specified indexchange_at: changes the element at the specified index to the specified value+operator: adds two arrays -- returns the ordered union*operator: repeats an arrayntimesdifference: removes all instances of specified elements from an arraycount: returns the number of elements in an arrayindexes_of: returns positions of elements that match the specified value in an arrayis_empty: check if an array or table is emptyset_insert: adds an element to a setset_intersection: finds the intersection of two setsset_union: returns the union of two setsset_difference: returns the difference of two sets
- Added
matchcommand for regular expression matching (#867) - Added
keyscommand that returns the fields of an object (#181)
- Web UI
- Document fields are now sorted in alphabetical order in the table view (#832)
- CLI
- Added
-vflag as an alias for--version(#839) - Added
--io-threadsflag to allow limiting the amount of concurrent I/O operations (#928)
- Added
- Build system
- Allow building the documentation with Python 3 (#826, #815)
- Have
makebuild the Ruby and Python drivers (#923)
- Server
- Fixed a crash caused by resharding during secondary index creation (#852)
- Fixed style problems: code hygiene (#805)
- Server code cleanup (#920, #924)
- Properly check permissions for writing the pid file (#916)
- ReQL
- Use the correct function name in backtraces (#995)
- Fixed callback issues in the JavaScript driver (#846)
- In JavaScript, call the callback when the connection is closed (#758)
- In JavaScript, GETATTR now checks the argument count (#992)
- Tweaked the CoffeeScript source to work with older versions of coffee and node (#963)
- Fixed a typo in the error handling of the JavaScript driver (#961)
- Fixed performance regression for
pluckandwithout(#947) - Make sure callbacks get cleared in the Javascript driver (#942)
- Improved errors when
returnis omitted in Javascript (#914)
- Web UI
- Correctly distinguish case sensitive table names (#822)
- No longer display some results as
{ ... }in the table view (#937) - Ensured tables are available before listing their indexes (#926)
- Fixed the autocompletion for opening square brackets (#917)
- Tests
- Modified the polyglot test framework to catch more possible errors (#724)
- Polyglot tests can now run in debug mode (#614)
- Build
- Look for
libprotobufin the correct path (#860, #853) - Always fetch and use the same version of Handlebars.js (#821, #819, #958)
- Check for versions of LESS that are known to work (#956)
- Removed bitrotted MOCK_CACHE_CHECK option (#804)
- Look for
Released on 2013-05-24
Bug fix update.
- Fix #844: Compilation error when using
./configure --fetch protobufresolved - Fix #840: Using
.runin the data explorer gives a more helpful error message - Fix #817: Fix a crash caused by adding a secondary index while under load
- Fix #831: Some invalid queries no longer cause a crash
Released on 2013-05-16
Bug fix update.
- Fix a build error
- Fix #816: Table view in the data explorer is no longer broken
Released on 2013-05-16
This release introduces secondary indexes, stability and performance enhancements and many bug fixes.
Read the release blog post for more details.
- Server
- #69: Bad JavaScript snippets can no longer hang the server
r.jsnow takes an optionaltimeoutargument
- #88: Added secondary and compound indexes
- #165: Backtraces on OS X
- #207: Added soft durability option
- #311: Added daemon mode (via --daemon)
- #423: Allow logging to a specific file (via --log-file)
- #457: Significant performance improvement for batched inserts
- #496: Links against libc++ on OS X
- #672: Replaced environment checkpoints with shared pointers in the ReQL layer, reducing the memory footprint
- #715: Adds support for noreply writes
- #69: Bad JavaScript snippets can no longer hang the server
- CLI
- #566: In the admin CLI,
ls tables --longnow includes adurabilitycolumn
- #566: In the admin CLI,
- Web UI
- #331: Improved data explorer indentation and brace pairing
- #355: Checks for new versions of RethinkDB from the admin UI
- #395: Auto-completes databases and tables names in the data explorer
- #514: Rewrote and improved the documentation generator
- #569: Added toggle for Data Explorer brace pairing
- #572: Changed button styles in the Data Explorer
- #707: Two step confirmation added to the delete database button
- ReQL
- #469: Added an
infocommand that provides information on any ReQL value (useful for retreiving the primary key) - #604: Allow iterating over result arrays as if they were cursors in the JavaScript client
- #670: Added a soft durability option to
table_create
- #469: Added an
- Testing
- #480: Run tests on Travis-CI
- #517: Improved the integration tests
- #587: Validate API documentation examples
- #669: Added color to
make testoutput
- Server
- Fix #403: Serialization of
perfmon_result_tis no longer 32-bit/64-bit dependent - Fix #505: Reduced memory consumption to avoid failure on read query "tcmalloc: allocation failed"
- Fix #510: Make bind to
0.0.0.0be equivalent toall - Fix #639: Fixed bug where 100% cpu utilization was reported on OSX
- Fix #645: Fixed server crash when updating replicas / acks
- Fix #665: Fixed queries across shards that would trigger
Assertion failed: [!br.point_replaces.empty()] in src/rdb_protocol/protocol.cc - Fix #750: Resolved intermittent RPCSemilatticeTest.MetadataExchange failure
- Fix #757: Fixed a crashing bug in the environment checkpointing code
- Fix #796: Crash when running batched writes to a sharded table in debug mode
- Fix #403: Serialization of
- Documentation
- Fix #387: Documented the command line option --web-static-directory (custom location for web assets)
- Fix #503: Updated outdated useOutdated documentation
- Fix #563: Fixed documentation for
typeof() - Fix #610: Documented optional arguments for
table_create:datacenterandcache_size - Fix #631: Fixed missing parameters in documentation for
reduce - Fix #651: Updated comments in protobuf file to reflect current spec
- Fix #679: Fixed incorrect examples in protobuf spec
- Fix #691: Fixed faulty example for
zipin API documentation
- Web UI
- Fix #529: Suggestion arrow no longer goes out of bounds
- Fix #583: Improved Data Explorer suggestions for
table - Fix #584: Improved Data Explorer suggestion style and content
- Fix #623: Improved margins on modals
- Fix #629: Updated buttons and button styles on the Tables View (and throughout the UI)
- Fix #662: Command key no longer deletes text selection in Data Explorer
- Fix #725: Improved documentation in the Data Explorer
- Fix #790: False values in a document no longer show up as blank in the tree view
- ReQL
- Fix #46: Added top-level
tableCreate,tableDropandtableListto drivers - Fix #125: Grouped reductions now return a stream, not an array
- Fix #370:
mapafterdbListandtableListno longer errors - Fix #421: Return values from mutation operations now include all attributes, even if zero (
inserted,deleted,skipped,replaced,unchanged,errors) - Fix #525: Improved error for
groupBy - Fix #527: Numbers that can be represented as integers are returned as native integers
- Fix #603: Check the number of arguments correctly in the JavaScript client
- Fix #632: Keys of objects are no longer magically converted to strings in the drivers
- Fix #640: Clients handle system interrupts better
- Fix #642: Ruby client no longer has a bad error message when queries are run on a closed connection
- Fix #650: Python driver successfully sends
STOPquery when the connection is closed - Fix #663: Undefined values are handled correctly in JavaScript objects
- Fix #678:
limitno longer automatically converts streams to arrays - Fix #689: Python driver no longer hardcodes the default database
- Fix #704:
typeOfis no longer broken in JavaScript driver - Fix #730: Ruby driver no longer accepts spurious methods
- Fix #733:
groupBycan now handle both aMAKE_OBJprotobuf and a literalR_OBJECTdatum protobuf - Fix #767: Server now detects
NaNin all cases - Fix #777: Ruby driver no longer occasionally truncates messages
- Fix #779: Server now rejects strings that contain a null byte
- Fix #789: Style improvements in Ruby driver
- Fix #799: Python driver handles
use_outdatedwhen specified as a global option argument
- Fix #46: Added top-level
- Testing
- Fix #653:
make testnow works on OS X
- Fix #653:
- Build
- Fix #475: Added a workaround to avoid
make -j2segfaulting when building on older versions ofmake - Fix #541:
make cleanis more aggressive - Fix #630: Removed cruft from the RethinkDB source tree
- Fix #635: Building fails quickly with troublesome versions of
coffee-script - Fix #694: Improved warnings when building with
clangandccache - Fix #717: Fixed
./configure --fetch-protobuf
- Fix #475: Added a workaround to avoid
- Migration
- Fix #782: Improved speed in migration script
- #508: Removed the JavaScript mock server
- All closed issues between 1.4.5 and 1.5.0
Released on 2013-05-03.
Bug fix update:
- Increase the TCP accept backlog (#369).
Released on 2013-04-19.
Bug fix update:
- Improved the documentation
- Made the output of
rethinkdb helpand--helpconsistent (#643) - Clarify details about the client protocol (#649)
- Made the output of
- Cap the size of data returned from rgets not just the number of values (#597)
- The limit changed from 4000 rows to 1MiB
- Partial bug fix: Rethinkdb server crashing (#621)
- Fixed bug: Can't insert objects that use 'self' as a key with Python driver (#619)
- Fixed bug: [Web UI] Statistics graphs are not plotted correctly in background tabs (#373)
- Fixed bug: [Web UI] Large JSON Causes Data Explorer to Hang (#536)
- Fixed bug: Import command doesn't import last row if doesn't have end-of-line (#637)
- Fixed bug: [Web UI] Cubism doesn't unbind some listeners (#622)
- Fixed crash: Made global optargs actually propagate to the shards properly (#683)
Released on 2013-04-10.
Bug fix update:
- Improve the networking code in the Python driver
- Fix a crash triggered by a type error when using concatMap (#568)
- Fix a crash when running
rethinkdb proxy --help(#565) - Fix a bug in the Python driver that caused it to occasionally return
None(#564)
Released on 2013-03-30.
Bug fix update:
- Replace
~withAboutin the web UI (#485) - Add framing documentation to the protobuf spec (#500)
- Fix crashes triggered by .orderBy().skip() and .reduce(r.js()) (#522, #545)
- Replace MB with GB in an error message (#526)
- Remove some semicolons from the protobuf spec (#530)
- Fix the
rethinkdb importcommand (#535) - Improve handling of very large queries in the data explorer (#536)
- Fix variable shadowing in the javascript driver (#546)
Released on 2013-03-22.
Bug fix update:
- Python driver fix for TCP streams (#495)
- Web UI fix that reduces the number of AJAX requests (#481)
- JS driver: added useOutdated to r.table() (#502)
- RDB protocol performance fix in release mode.
- Performance fix when using filter with object shortcut syntax.
- Do not abort when the
runuserorrungroupoptions are present (#512)
Relased on 2013-03-18.
- Improved ReQL wire protocol and client drivers
- New build system
- Data explorer query history
Released on 2013-01-15.
- Fixed security bug in http server.
Released on 2012-12-20.
- Fixed OS X crash on ReQL exceptions.
Released on 2012-12-20.
- Native OS X support.
- 32-bit support.
- Support for legacy systems (e.g. Ubuntu 10.04)
Released on 2012-12-15.
- Updating data explorer suggestions to account for recent
r.rowchanges.
Released on 2012-12-14.
- Lots and lots of bug fixes
Released on 2012-11-13.
- Fixed the version string
- Fixed 'crashing after crashed'
- Fixed json docs
Released on 2012-11-11.
- Checking for a null ifaattrs
Released on 2012-11-11.
- Local interface lookup is now more robust.
Released on 2012-11-09.
- Fixes a bug in the query engine that causes large range queries to return incorrect results.
Released on 2012-11-09.
This is the first release of the product. It includes:
- JSON data model and immediate consistency support
- Distributed joins, subqueries, aggregation, atomic updates
- Hadoop-style map/reduce
- Friendly web and command-line administration tools
- Takes care of machine failures and network interrupts
- Multi-datacenter replication and failover
- Sharding and replication to multiple nodes
- Queries are automatically parallelized and distributed
- Lock-free operation via MVCC concurrency
There are a number of technical limitations that aren't baked into the architecture, but were not resolved in this release due to time pressure. They will be resolved in subsequent releases.
- Write requests have minimal batching in memory and are flushed to disk on every write. This significantly limits write performance, expecially on rotational disks.
- Range commands currently don't use an index.
- The clustering system has a bottleneck in cluster metadata propagation. Cluster management slows down significantly when more than sixteen shards are used.