Release v1.0.0

This commit is contained in:
2026-06-03 09:43:13 +02:00
parent 5bfa0fea94
commit 989d8311d3
3 changed files with 20 additions and 2 deletions
+7
View File
@@ -6,6 +6,13 @@ All notable changes to this project will be documented in this file.
--- ---
## [1.0.0] - 2026-06-03
### Changed
- `pyproject.toml` — bumped version to `1.0.0`
---
## [0.4.0] - 2026-06-03 ## [0.4.0] - 2026-06-03
### Added ### Added
+12 -1
View File
@@ -103,7 +103,18 @@ from sqlmem import ReadOnlyError, UnsupportedQueryError
## Logging ## Logging
SQLmem uses [loguru](https://github.com/Delgan/loguru). Set `SQLMEM_DEBUG=true` for verbose output (every query, cache hit/miss, backup events). Default level is INFO. SQLmem is silent by default. Call `add_sink()` to opt in:
```python
import sys
from sqlmem import add_sink
add_sink(sys.stderr) # INFO by default
add_sink(sys.stderr, level="DEBUG") # verbose: every query, cache hit/miss, backup
add_sink("sqlmem.log", rotation="10 MB") # to a file
```
Set `SQLMEM_DEBUG=true` in `.env` to make the default level DEBUG when no explicit `level` is passed to `add_sink()`.
## Limitations ## Limitations
+1 -1
View File
@@ -1,6 +1,6 @@
[project] [project]
name = "sqlmem" name = "sqlmem"
version = "0.4.0" version = "1.0.0"
description = "" description = ""
authors = [ authors = [
{name = "jan.doubravsky@gmail.com"} {name = "jan.doubravsky@gmail.com"}