Skip to content

Releases: stellarwp/db

1.2.0

10 Nov 14:27
f92d6ae

Choose a tag to compare

What's Changed

  • Refactor CRUD::delete method to support advanced DELETE queries by @shvlv in #25

New Contributors

  • @shvlv made their first contribution in #25

Full Changelog: 1.1.1...1.2.0

1.1.1

06 Jun 20:03
cbaed00

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.1.0...1.1.1

1.1.0

14 Nov 12:38
9c76724

Choose a tag to compare

Changes

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

1.0.7

23 Oct 20:46
e299e35

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

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

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

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

Choose a tag to compare

Changes

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

1.0.2

22 Nov 21:20
328962c

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

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