Skip to content

Releases: stellarwp/db

1.1.0

14 Nov 12:38
9c76724
Compare
Choose a tag to compare

Changes

  • Feature - Added upsert() method (props to @binarygary for the work!)

1.0.7

23 Oct 20:46
e299e35
Compare
Choose a tag to compare

Changes

  • Tweak - Updates around trim() for php 8.1 compatibility.
  • Tweak - Force From() and Select() to convert passed non-strings to an empty string.

1.0.6

08 Sep 23:10
c2f929a
Compare
Choose a tag to compare

What's Changed

  • Fix array shape for errors in DatabaseQueryException by @defunctl in #14

New Contributors

Full Changelog: 1.0.5...1.0.6

1.0.5

06 Sep 00:33
2ec62c6
Compare
Choose a tag to compare

Changes

  • Tweak - Updating doc lock for whereExists() and whereNotExists() in response to a PHPStan flag.

1.0.4

06 Jun 17:33
728ef07
Compare
Choose a tag to compare
  • Tweak - Added more documentation for methods provided by DB.
  • Tweak - Adjusted docblocks to better declare types.

1.0.3

22 Nov 21:33
Compare
Choose a tag to compare

Changes

  • Tweak - Set composer.json config.platform.php to 7.0.

1.0.2

22 Nov 21:20
328962c
Compare
Choose a tag to compare

Changes

  • Fix - Adjust DB::insert(), DB::delete(), DB::update(), and DB::replace() signature to match wpdb's supported method signatures.
  • Fix - Adjust DB::get_var(), DB::get_col(), and DB::get_results() signature of first arg to match wpdb's signature.

1.0.1

29 Sep 14:58
7577ef8
Compare
Choose a tag to compare

Changes

  • Added a Config class to handle overrides of the DatabaseQueryException and addition of a hook prefix.
  • Added tests for Config
  • More documentation

1.0.0

28 Aug 04:37
Compare
Choose a tag to compare

Added

  • Initial version
  • Documentation
  • Automated tests