Skip to content

Commit 255d0c4

Browse files
author
Carlos Bolanos
committed
docs: add v0.1.2 to CHANGELOG
1 parent 5b880e8 commit 255d0c4

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,30 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.1.2] - 2025-10-09
9+
10+
### Changed
11+
- **BREAKING**: Refactored `Dates` struct field names from `Start`/`End` to `After`/`Before` for better clarity
12+
- **BREAKING**: Replaced PostgreSQL-specific `ILIKE` with database-agnostic `LOWER()` function for case-insensitive string matching
13+
- Changed date exact match from `DATE_TRUNC` to `DATE()` for SQLite compatibility
14+
- Changed date between query from `BETWEEN` to `>= AND <=` for more explicit inclusive range queries
15+
- Updated all case-insensitive string patterns to use `LOWER()` with `LIKE` instead of `ILIKE`
16+
17+
### Added
18+
- Default limit of 10 when using `Offset()` without explicit `Limit()` to prevent unbounded result sets
19+
- Expanded test database from 5 to 50 diverse users for comprehensive testing
20+
- Added 9 comprehensive string integration tests covering all match types and case sensitivity
21+
22+
### Fixed
23+
- Date range queries now work correctly with SQLite and other databases
24+
- Case-insensitive string matching now works across all databases (SQLite, PostgreSQL, MySQL, etc.)
25+
- Date query placeholder handling for range queries with two parameters
26+
27+
### Improved
28+
- Refactored integration tests to use helper functions, reducing code duplication
29+
- All date integration tests now use consistent patterns with helper functions
30+
- Sort integration tests updated to verify results with larger dataset
31+
832
## [0.1.1] - 2025-10-08
933

1034
### Changed
@@ -45,5 +69,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4569
- Comprehensive test suite with 89.1% code coverage
4670
- 30 unit tests and 15 integration tests
4771

72+
[0.1.2]: https://github.com/bolanosdev/query-builder/releases/tag/v0.1.2
4873
[0.1.1]: https://github.com/bolanosdev/query-builder/releases/tag/v0.1.1
4974
[0.1.0]: https://github.com/bolanosdev/query-builder/releases/tag/v0.1.0

0 commit comments

Comments
 (0)