|
| 1 | +# Changelog |
| 2 | + |
| 3 | +All notable changes to this project will be documented in this file. |
| 4 | + |
| 5 | +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), |
| 6 | +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
| 7 | + |
| 8 | +## [Unreleased] |
| 9 | + |
| 10 | +### Added |
| 11 | + |
| 12 | +- (Unreleased changes go here) |
| 13 | + |
| 14 | +## [0.1.0] - 2025-11-09 |
| 15 | + |
| 16 | +### Added |
| 17 | + |
| 18 | +- Initial release of sparkling — Gleam ClickHouse client |
| 19 | +- Type-safe query builder with composable DSL |
| 20 | +- Schema reflection and metadata discovery |
| 21 | +- Multiple format support (JSONEachRow, TabSeparated, CSV) |
| 22 | +- Changeset validation (Ecto-style) |
| 23 | +- HTTP resilience with exponential backoff retry |
| 24 | +- Hook system for extensibility and observability |
| 25 | +- Comprehensive test suite (unit + integration) |
| 26 | +- Docker setup for testing with ClickHouse |
| 27 | +- Query Module: composable SELECT/INSERT queries with type safety |
| 28 | +- Schema Module: table/column reflection via DESCRIBE queries |
| 29 | +- Repo Module: HTTP execution with authentication and error handling |
| 30 | +- Encode/Decode: format registry with pluggable handlers |
| 31 | +- Changeset: data validation and casting pipeline |
| 32 | +- Retry: automatic failure recovery with configurable backoff |
| 33 | + |
| 34 | +### Supported ClickHouse types |
| 35 | + |
| 36 | +- Primitives: UInt/Int 8/16/32/64, Float32/64, String, Bool |
| 37 | +- Date/Time: Date, Date32, DateTime, DateTime64 |
| 38 | +- Complex: Array(T), Tuple(...), Map(K,V), Nested |
| 39 | +- Special: UUID, Enum8/16, Nullable(T), Decimal |
| 40 | + |
| 41 | +### Architecture |
| 42 | + |
| 43 | +- HTTP-only communication (no native protocol) |
| 44 | +- Zero external dependencies |
| 45 | +- Immutable, functional design |
| 46 | +- Hook-based extensibility |
| 47 | +- Comprehensive error handling |
| 48 | + |
| 49 | +### Testing |
| 50 | + |
| 51 | +- Unit tests with HTTP mocking |
| 52 | +- Integration tests with ClickHouse Docker |
| 53 | +- Round-trip tests for type safety |
| 54 | +- CI/CD with GitHub Actions |
| 55 | + |
| 56 | +### Documentation |
| 57 | + |
| 58 | +- API reference and examples |
| 59 | +- Quick start guide |
| 60 | +- Style guide for contributions |
| 61 | + |
| 62 | +<!-- Link references for versions --> |
| 63 | +[Unreleased]: https://github.com/lupodevelop/sparkling/compare/v0.1.0...HEAD |
| 64 | +[0.1.0]: https://github.com/lupodevelop/sparkling/releases/tag/v0.1.0 |
0 commit comments