bogofilter 1.3.0.rc2 now available, release candidate (fixes LMDB 1.0.0 database support)

Matthias Andree matthias.andree at gmx.de
Fri Jul 10 13:15:20 CEST 2026


Greetings,

bogofilter 1.3.0.rc2 is now available from
https://sourceforge.net/projects/bogofilter/files/bogofilter-current/bogofilter-1.3.0.beta/
https://gitlab.com/bogofilter/bogofilter/-/releases/bogofilter-1.3.0.rc2
(on gitlab, use the .tar.xz file and its detached GnuPG signature!)


This fixes LMDB 1.0.0 compatibility (1.3.0.rc1 and older won't
read or write anything with LMDB 1.0.0 because they believe the maximum
key size were 0 - arguably an LMDB 1.0.0 documentation bug and breaking
API change, but easily fixed for us),
deprecates the BerkeleyDB,
and updates the build scripting.


WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
------------------------------------------------------------------------
POTENTIAL FOR DATA CORRUPTION DURING UPDATES

If you plan to upgrade your database library, if only as a side effect
of an operating system upgrade, DO HEED the relevant documentation, for
instance, the doc/README.db file.  You may need to prepare the upgrade
with the old version of the software.

Otherwise, you may cause irrecoverable damage to your databases.

DO backup your databases before making the upgrade.
------------------------------------------------------------------------
WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING

NOTE: the NEWS document has greater detail on some of these changes.

------------------------------------------------------------------------
[Incompat 1.3.0] Operating system and SQLite3 Support default

Bogofilter, as of release 1.3.0,
* assumes that all ISO C 9899:1999 headers are present when building,
* when used with SQLite3, requires SQLite 3.5.0 (from 2007) or newer.
* will use SQLite3 as the default database driver instead of Berkeley DB.

  The Berkeley DB driver is being deprecated and will be removed from
  bogofilter 2.0 at a later time.

  If you want to continue using Berkeley DB, use
  ./configure --with-database=db
  when installing bogofilter.

  NOTE: before installing bogofilter with a new database driver,
  make sure to export the old database with bogoutil --dump,
  then rename the original databases to a backup file,
  only then upgrade bogofilter, and re-load the databases.

  Also note that sqlite3 and BerkeleyDB use the same extension on
  wordlist.db, so re-read the previous paragraph for instructions.

  IMPORTANT: you also must dump databases before upgrading your
  database library, and load the databases after the update!

-------------------------------------------------------------------------------

1.3.0.rc2

	2026-07-10
	* Deprecated Berkeley DB.

	2026-07-02
	* Add support for breaking changes in LMDB 1.0.0.  bogofilter's
	  LMDB driver in 1.3.0.rc1 and older would reject all database
	  transactions because it believed database lookup keys were too
	  large.  Cause is an undocumented API change where we can only
	  query the maximum key size after OPENING a database environment,
	  not, as documented in 1.0.0 and 0.9.X before, after already
	  creating it.

	2025-09-22
	* Integrate another passthrough truncation regression test
	  contributed by Tomaz Solc.

	2025-07
	* Various build system cleanups and improvements.

	2025-06-06
	* Add --disable-documentation configure option, to skip building
	  the documentation.  This will break "make dist" like targets
	  if documentation needs to be rebuilt. Fixes #17.

-------------------------------------------------------------------------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://www.bogofilter.org/pipermail/bogofilter-announce/attachments/20260710/a174ed1d/attachment.sig>


More information about the bogofilter-announce mailing list