Skip to content

Releases: lunr-php/lunr.gravity

Lunr.Gravity 0.10.1

19 Dec 10:18
Compare
Choose a tag to compare

General

  • Updated Lunr.Halo to 0.10.1
  • Updated Lunr.Config to 0.10.1
  • Remove references to mailing lists and reviewboard from README

Lunr.Gravity 0.10.0

19 Sep 16:11
0.10.0
Compare
Choose a tag to compare

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

11 Jun 06:58
Compare
Choose a tag to compare

General

  • Ignore connector when starting group with empty condition

Lunr.Gravity 0.9.0

05 Jun 14:41
Compare
Choose a tag to compare

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() and having_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

26 Apr 14:14
Compare
Choose a tag to compare

General

  • Allow setting error-reporting mode

CI

  • Use shared github action templates

Lunr.Gravity 0.8.1

26 Jan 13:06
Compare
Choose a tag to compare

General

  • Add type hints to DatabaseStringEscaperInterface

Database

  • Add alias to query_value escaper

Lunr.Gravity 0.8.0

20 Sep 09:31
Compare
Choose a tag to compare

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