All notable changes to this project will be documented in this file. This project adhere to the Semantic Versioning standard.
- Feat - Add the
DB::generate_results
andDB::generate_col
methods to theDB
class to fetch all results matching an unbounded query with a set of bounded queries.
- Tweak - Updates around
trim()
for php 8.1 compatibility. - Tweak - Force
From()
andSelect()
to convert passed non-strings to an empty string.
- Tweak - Fix array shape for errors in
DatabaseQueryException
- Tweak - Updating docblock for
whereExists()
andwhereNotExists()
in response to a PHPStan flag.
- Tweak - Added more documentation for methods provided by DB.
- Tweak - Adjusted docblocks to better declare types.
1.0.3 2022-11-22
- Tweak - Set composer.json
config.platform.php
to7.0
.
1.0.2 2022-11-22
- Fix - Adjust
DB::insert()
,DB::delete()
,DB::update()
, andDB::replace()
signature to matchwpdb
's supported method signatures. - Fix - Adjust
DB::get_var()
,DB::get_col()
, andDB::get_results()
signature of first arg to matchwpdb
's signature.
1.0.1 2022-09-29
- Tweak - Added a
Config
class to handle overrides of theDatabaseQueryException
and addition of a hook prefix. - Tweak - Added tests for
Config
- Docs - More documentation
1.0.0 2022-08-17
- Feature - Initial version
- Docs - Documentation
- Tweak - Automated tests