Release v1.0.0
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
@@ -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"}
|
||||||
|
|||||||
Reference in New Issue
Block a user