Skip to main content

FerretDB releases v1.24 with SQLite authentication support

· 2 min read
Alexander Fashakin
FerretDB Team

FerretDB v1.24 with SQLite authentication support

We are happy to announce the release of FerretDB v1.24 with support for SQLite authentication – now available via the experimental authentication mode.

In the last few releases, we've been improving authentication on FerretDB through the additions of the experimental authentication mode with support for SCRAM-SHA-1 and SCRAM-SHA-256, as well as initial FerretDB user setup for Postgres. This release provides authentication support for the SQLite backend.

Some changes have also been made to resolve previous bugs and improve our documentation.

Let's dive into what's new in FerretDB v1.24.

SQLite authentication support

This release introduces support for SQLite authentication. You can easily secure your connection from scratch with user authentication as part of the initial setup.

You can set this up by enabling the experimental authentication mode --test-enable-new-auth/FERRETDB_TEST_ENABLE_NEW_AUTH and configuring your setup with the dedicated flags or environment variables.

For example:

ferretdb --test-enable-new-auth=true --setup-username=user --setup-password=pass --setup-database=ferretdb

Read our documentation on the experimental authentication mode to learn more.

Embeddable package

As communicated in the previous release, this version renames the SLogger field to Logger, finishing the migration from [zap](https://github.com/uber-go/zap) to [slog](https://pkg.go.dev/log/slog).

Bug fixes

This release addressed an issue with building FerretDB using the go build -trimpath command.

The new version also fixes an issue with Docker's HEALTHCHECK in the production image by making the HEALTHCHECK CMD instructions as exec arrays instead of shell commands. This change prevents errors when /bin/sh is missing.

We also fixed authentication issues with a C# driver.

Other changes

To improve user experience across our documentation and blog, we've enabled zoom functionality on images to enable users to explore images in more detail.

We also made some updates to provide clearer guidance on managing and interpreting logs.

For a complete list of changes, please see the release note for FerretDB v1.24.

As always, we appreciate all the contributions and support for FerretDB. We had 4 new contributors in this release – @nalgeon, @Evengard, @dasjoe, and @kaiwalyakoparkar made their first contribution.

Ensure to try out the SQLite authentication on the new release and let us know what you think.

If you have any questions or feedback, reach out to us on our community channels.