v1.18.0
What's Changed
Capped collections
This release adds support for capped collections. They can be created as usual using create
command. Both max
(maximum number of documents) and size
(maximum collection size in bytes) parameters are supported.
Tailable cursors
This release adds support for tailable cursors. Both tailable
and awaitData
parameters are supported.
OpLog tailing
This release adds support for the basic OpLog functionality. The main supported use case is Meteor's OpLog tailing. Replication is not supported yet.
OpLog collection does not exist by default. To enable OpLog functionality, create a capped collection oplog.rs
in the local
database. Setting replica set name using --repl-set-name
flag / FERRETDB_REPL_SET_NAME
environment variable might also be needed.
New Features 🎉
- Add support for tailable cursors by @AlekSi in #3799
- Implement
awaitData
tailable cursors by @noisersup in #3900 - Implement and test OpLog for update operations by @rumyantseva in #3899
- Enable OpLog and tailable cursors by @AlekSi in #3887
- Implement
createUser
command by @henvic in #3848 - Implement
dropUser
command by @henvic in #3866 - Implement
dropAllUsersFromDatabase
command by @henvic in #3867 - Implement
usersInfo
command by @henvic in #3897
Enhancements 🛠
- Don't cleanup capped collections if there is nothing to cleanup by @rumyantseva in #3909
- Disallow
maxTimeMS
for non-awaitData cursors ingetMore
command by @noisersup in #3917 - Add the necessary for replica set fields to
ismaster
response by @rumyantseva in #3925
Other Changes 🤖
- Add CI configuration for Citus by @AlekSi in #3865
- Bump deps by @AlekSi in #3880
- Fix tests by @AlekSi in #3871
- Add MySQL backend registry by @adetunjii in #3850
- Fix local MySQL setup by @AlekSi in #3886
- Fix clean-up on
aggregate
errors by @AlekSi in #3892 - Use
dropAllUsersFromDatabase
in tests by @henvic in #3891 - Add
awaitData
tests by @noisersup in #3872 - Add utilities for working with passwords by @AlekSi in #3890
- Add support for
--skip
inenvtool tests run
by @KrishnaSindhur in #3805 - Small clean-ups by @AlekSi in #3896
- Add basic SAP HANA backend by @yonarw in #3719
- Add integration tests for OpLog entries of insert and delete operations by @rumyantseva in #3862
- Add more cursor tests by @noisersup in #3893
- Refactor
ConnInfo
in preparation for new auth by @AlekSi in #3901 - Add some small improvements to the linter that checks open issues by @rumyantseva in #3756
- Forbid
bson.E/D/M/A
, except integration tests by @AlekSi in #3908 - Bump deps by @AlekSi in #3912
- Make
AssertEqual
helper handle duplicate keys by @AlekSi in #3911 - Drop test users on cleanup by @AlekSi in #3914
- Cleanup
awaitData
tailable cursor by @noisersup in #3915 - Cleanup a closed issue by @rumyantseva in #3924
- Ignore
sparse
index parameter for now by @AlekSi in #3934 - Allow filtering by name in
ListDatabases
andListCollections
by @sachinpuranik in #3851 - Disallow native passwords for MySQL by @adetunjii in #3937
- Fix
awaitData
cursor panic by @noisersup in #3935 - Use
usersInfo
indropAllUsersFromDatabase
tests by @henvic in #3932 - Allow Native Passwords for testcase by @adetunjii in #3941
New Contributors
- @yonarw made their first contribution in #3719
- @sachinpuranik made their first contribution in #3851