Skip to content

Releases: addok/addok-sqlite-store

v1.1.0

01 Nov 22:59
1088c18

Choose a tag to compare

⚠️ Breaking Changes

Plugin activation now requires explicit configuration

The plugin is no longer automatically activated. You must explicitly set DOCUMENT_STORE_PYPATH in your Addok configuration:

DOCUMENT_STORE_PYPATH = 'addok_sqlite_store.SQLiteStore'

Or via environment variable:

export ADDOK_DOCUMENT_STORE_PYPATH='addok_sqlite_store.SQLiteStore'

This change makes the plugin non-intrusive and gives users full control over when and how it's activated.

✨ Enhancements

Configuration improvements

  • Multiple environment variable support: The plugin now supports both ADDOK_SQLITE_DB_PATH (recommended) and SQLITE_DB_PATH (for backward compatibility) to specify the database path
  • Priority order: ADDOK_SQLITE_DB_PATH > SQLITE_DB_PATH > config.SQLITE_DB_PATH

Bug fixes

  • Fixed database path in flushdb: The flushdb operation now correctly uses the instance's database path instead of only the config value, ensuring the actual database file is deleted

🔧 Project maintenance

  • Modernized project structure: Migrated from setup.py to pyproject.toml with modern setuptools
  • Extended Python support: Now officially supports Python 3.9 through 3.14
  • Added CI/CD: Integrated GitHub Actions workflow with Redis service and Python matrix testing
  • Improved documentation: Enhanced README with features section and clearer activation instructions
  • Updated LICENSE: Copyright now held by République Française

📦 Installation

pip install addok-sqlite-store==1.1.0

📚 Documentation

See the README for complete configuration options and usage examples.


Full Changelog: 1.0.1...v1.1.0