FerretDB releases v1.13.0 with new PostgreSQL backend
The release of FerretDB v1.13.0 brings new changes, which include the new PostgreSQL backend – now enabled by default – arm/v7
packages, and a default SQLite directory for Docker images.
Let's see what's changed.
New PostgreSQL Backend
In the past couple of months, we've been working on the new PostgreSQL backend, and we're thrilled to finally make it available by default.
Nevertheless, if you still want to enable the old backend, you can do so with the --postgresql-old
flag or FERRETDB_POSTGRESQL_OLD=true
environment variable.
Please note however that this will be removed in the next release.
Default SQLite directory for Docker images and arm/v7
packages now available
The new release includes changes to the default SQLite directory for Docker images.
Our Docker images now use /state
directory for the SQLite backend.
That directory is also a Docker volume, so data will be preserved after the container restart by default.
Please note that this change does not affect binaries and .deb
/.rpm
packages.
In addition, the new version of FerretDB now offers linux/arm/v7
binaries, Docker images, and .deb
/.rpm
packages.
See them here.
Other changes
There were a lot of exciting changes in this release, and while we've not touched on everything in this blog post, you can find the rest of the changes here.
In our ongoing efforts to enhance FerretDB performance, this release introduces additional pushdowns for the PostgreSQL backend.
We've also added a filter pushdown for _id: <string>
for the SQLite backend.
See here to learn about pushdowns on FerretDB.
Additionally, we've resolved the bug caused by invalid validation for the _id
field, where attempting to insert a document such as this db.test.insertOne({_id: 1, v:{_id: ["foo", "bar"]}})
returns an error that the "_id
value cannot be of type array".
This release also includes some of the missing fields for collStats
, dbStats
, and aggregate
$collStats
, along with basic logging for the PostgreSQL backend.
An eventful season for open source!
As we wind down the Hacktoberfest season, it's been an incredible period for the open-source community as many new entrants made their first contribution to an open-source project. At FerretDB, we've seen a remarkable uptick in contributors, with many contributing for the first time. In this new release, we had 5 new contributors: @Akhil-2001, @sid-js, @codenoid, @chanon-mike, and @pvinoda. We appreciate all the contributions, bug reports, and feedback from everyone.
Please know you are always welcome to contribute to FerretDB any time, and we can't wait to welcome more open-source enthusiasts in the coming weeks and months. If you don't know what to start with, reach out to us on any of our community channels and we'll be happy to help you get started.