PackageTrack
Sign in Get early access

stellarwp/db

A WPDB wrapper and query builder library.

1.3.0 1.2M downloads/mo #3431 most downloaded on Packagist stellarwp/db

What this package is like to depend on

Last release 5 months ago

25 Feb 2026

Release timing varies

gaps range from 3 weeks to 1.4 years

Nearly every release is documented

notes for 12 of 12 stable releases

Nothing withdrawn

no release was ever pulled

4 years old

12 releases · first in 2022

2 releases in the last 12 months

see the full history below

Release timeline

12 releases · Aug 2022 to Feb 2026
2023 2024 2025 2026
Release Pre-release

Releases

latest 12
  1. 1.3.0 25 Feb 2026
    Release notes

    What's Changed

    Full Changelog: 1.2.0...1.3.0

    Open source →
    Release notes

    Added

    • Transaction nesting support via savepoints. Nested beginTransaction() calls now create savepoints instead of issuing START TRANSACTION, which would implicitly commit any existing transaction.
    • DB::transactionLevel() method to retrieve the current transaction nesting depth.

    Changed

    • DB::commit() releases the current savepoint when nested, and issues a real COMMIT only at the outermost level.
    • DB::rollback() rolls back to the current savepoint when nested, and issues a real ROLLBACK only at the outermost level.
    • tests-php.yml ensure slic runs in PHP 7.4.
    Open source →
  2. 1.2.0 10 Nov 2025
    Release notes

    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

    Open source →
  3. 1.1.1 06 Jun 2024
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 1.1.0...1.1.1

    Open source →
  4. 1.1.0 14 Nov 2023
    Release notes

    Changes

    • Feature - Added upsert() method (props to @binarygary for the work!)
    Open source →
  5. 1.0.7 23 Oct 2023
    Release notes

    Changes

    • Tweak - Updates around trim() for php 8.1 compatibility.
    • Tweak - Force From() and Select() to convert passed non-strings to an empty string.
    Open source →
    Release notes
    • Tweak - Updates around trim() for php 8.1 compatibility.
    • Tweak - Force From() and Select() to convert passed non-strings to an empty string.
    Open source →
  6. 1.0.6 08 Sep 2023
    Release notes

    What's Changed

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

    New Contributors

    Full Changelog: 1.0.5...1.0.6

    Open source →
    Release notes
    • Tweak - Fix array shape for errors in DatabaseQueryException
    Open source →
  7. 1.0.5 06 Sep 2023
    Release notes

    Changes

    • Tweak - Updating doc lock for whereExists() and whereNotExists() in response to a PHPStan flag.
    Open source →
    Release notes
    • Tweak - Updating docblock for whereExists() and whereNotExists() in response to a PHPStan flag.
    Open source →
  8. 1.0.4 06 Jun 2023
    Release notes
    • Tweak - Added more documentation for methods provided by DB.
    • Tweak - Adjusted docblocks to better declare types.
    Open source →
    Release notes
    • Tweak - Added more documentation for methods provided by DB.
    • Tweak - Adjusted docblocks to better declare types.
    Open source →
  9. 1.0.3 22 Nov 2022
    Release notes

    Changes

    • Tweak - Set composer.json config.platform.php to 7.0.
    Open source →
    Release notes
    • Tweak - Set composer.json config.platform.php to 7.0.
    Open source →
  10. 1.0.2 22 Nov 2022
    Release notes

    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.
    Open source →
    Release notes
    • 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.
    Open source →
  11. 1.0.1 28 Sep 2022
    Release notes
    • Tweak - Added a Config class to handle overrides of the DatabaseQueryException and addition of a hook prefix.
    • Tweak - Added tests for Config
    • Docs - More documentation
    Open source →
  12. 1.0.0 28 Aug 2022
    Release notes
    • Feature - Initial version
    • Docs - Documentation
    • Tweak - Automated tests
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive