Releases: lunr-php/lunr.gravity
Releases · lunr-php/lunr.gravity
Lunr.Gravity 0.10.1
Lunr.Gravity 0.10.0
General:
- Mark Lunr.Halo as a development-only dependency
- Relax the version requirement for Psr-Log
- Suggest ext-sqlite3 for SQLite functionality
- Update Psr-Log
- Fix include path for Psr-Log in decomposer.json
- Clean up use statements
CI:
- Remove Jenkinsfile
SQLite3:
- Add support for DELETE/INSERT/REPLACE ... RETURNING
Tests:
- Ignore end-of-line comments when comparing SQL strings from files
Lunr.Gravity 0.9.1
General
- Ignore connector when starting group with empty condition
Lunr.Gravity 0.9.0
General
- Add
defragment()
method to optimize tables - Support triggering defragmentation from any
DatabaseAccessObject
- Add return types for query builders and escapers
- Better typing of the cached query escaper instance
- Add argument typehint for
list_value()
- Add logical connector methods without 'sql_' prefix and deprecate old ones
CI:
- Proper typing of
$this->class
in unit tests - Fix phpstan level 3 issues
- Switch to shared template for reuse, add and enforce typos check
- Configure PHPUnit whitelist based on directories
MariaDB:
- Add (deprecated) version of Gravity 0.8's test helpers for easier porting
- Sync test helpers with MySQL test helpers
MySQL:
- Add
on_in_list()
,where_in_list()
andhaving_in_list()
to simple query builder - Better typing for canonical queries
- Add (deprecated) version of Gravity 0.8's test helpers for easier porting
0.8.2
General
- Allow setting error-reporting mode
CI
- Use shared github action templates
Lunr.Gravity 0.8.1
General
- Add type hints to
DatabaseStringEscaperInterface
Database
- Add alias to
query_value
escaper
Lunr.Gravity 0.8.0
General:
- First standalone release
- Drop the "Database" sub namespace
- Set minimum required PHP version to 8.1
- Require phpunit 9.5.x
- Switch to SPDX license and copyright headers
- Make repo REUSE compliant
CI:
- Fix codestyle issue and require passing phpcs in github actions
- Fix phpstan issues and require passing phpstan in github actions
Database:
- Add interface for database string escaping
- Add space after comma to escaped list values
- Add base DAO test class with assert for matching formatted SQL strings
- Drop DataAccessObjectInterface
- Introduce database specific access objects
- Add interface for database access object with transaction methods
MariaDB:
- Use LunrBaseTest in unit tests
- Set proper return types for MariaDBQueryBuilder and decendents
MySQL:
- Switch to procedural style to get affected/num rows
- Allow testing the construction of real SQL in unit tests
- Set proper return types for MySQLQueryBuilder and decendents
- Add spaces after comma in UUID escaping function call