Skip to content

v0.15.0

Latest
Compare
Choose a tag to compare
@SpaceShaman SpaceShaman released this 26 Oct 08:48

This release introduces several new features, configuration options, and improvements to database connection handling, with a focus on consistency, clarity, and error handling.

New Features

  • Added possibility to configure the database URL via the ORMAGIC_DATABASE_URL environment variable.
  • Added possibility to configure the journal mode via the ORMAGIC_JOURNAL_MODE environment variable.

Refactoring

  • Refactor connection handling using the Factory Method design pattern alongside Protocol and ABC, resulting in cleaner and more modular code.
  • Use the Settings class for managing database configuration.

Bug Fixes

  • Prevent invalid database connections with unsupported databases by raising exceptions.

Full Changelog: v0.14.0...v0.15.0