Bump version to 0.2.0 and derive __version__ dynamically from package metadata
This commit is contained in:
@@ -4,6 +4,15 @@ All notable changes to this project will be documented in this file.
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Changed
|
||||
- `_meta.py` now reads version dynamically from installed package metadata via `importlib.metadata` instead of a hardcoded string
|
||||
- Bumped version to `0.2.0` in `pyproject.toml`
|
||||
- `CHANGELOG.md` restructured with `[0.2.0]` release section
|
||||
|
||||
---
|
||||
|
||||
## [0.2.0] - 2026-06-01
|
||||
|
||||
### Added
|
||||
- Project specification in `project.md` — architecture, API design, cache backend, metadata schema, logging strategy, and TODO for future features (JOIN, SELECT * support)
|
||||
- `.gitignore` for Python/Poetry project
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "sqlmem"
|
||||
version = "0.1.0"
|
||||
version = "0.2.0"
|
||||
description = ""
|
||||
authors = [
|
||||
{name = "jan.doubravsky@gmail.com"}
|
||||
|
||||
+7
-1
@@ -1 +1,7 @@
|
||||
__version__ = "0.1.0"
|
||||
from importlib.metadata import PackageNotFoundError, version
|
||||
|
||||
try:
|
||||
__version__ = version("sqlmem")
|
||||
except PackageNotFoundError:
|
||||
# fallback when package is not installed (e.g. running from source without build)
|
||||
__version__ = "0.0.0+dev"
|
||||
|
||||
Reference in New Issue
Block a user