Releases: dimitriBouteille/wp-orm
Release list
v13.0.1
What's Changed
Other Changes 🖇️
- 🧪 Add WP 7.0 to test matrix by @dimitriBouteille in #181
- ⬆️ Bump MySQL to 9.6 by @dimitriBouteille in #182
- ⬆️ Bump actions/checkout to v6 by @dimitriBouteille in #183
- ⬆️ Bump actions/cache to v5 by @dimitriBouteille in #185
Full Changelog: v13.0.0...v13.0.1
v13.0.0
What's Changed
New major version with the update of the package illuminate/database to version 13.x ✨:
Note
Starting with this release, wp-orm's major version mirrors the Illuminate/Eloquent major version it supports. Since this package is built directly on top of Eloquent, aligning version numbers makes compatibility unambiguous: wp-orm: ^13.0 works with Illuminate/Laravel 13. No more compatibility table to check.
Breaking Changes 🛠
- ⬆️ Bump illuminate/* to ^13.0 by @dimitriBouteille in #178
Full Changelog: v5.0.0...v13.0.0
v5.0.0
What's Changed
New major version with the update of the package illuminate/database to version 12.x ✨:
Security 🛡️
- 🧯 Security: escape metaKey in joinToMeta() and add PostBuilder tests by @dimitriBouteille in #159
- 🚨 Security: replace esc_sql by $wpdb->prepare() in Database::bindParams by @dimitriBouteille in #155
- 🧯 Security: harden meta join to prevent SQL injection through identifiers by @dimitriBouteille in #163
Breaking Changes 🛠
- 🛟 Update illuminate/* to ^12.0 by @dimitriBouteille in #136
- 🛟 Update phpunit/phpunit to ^12.5 by @dimitriBouteille in #147
- 🧶 feat: serialize/unserialize option_value in Option model by @dimitriBouteille in #152
- 🥷 Database::$transactionCount is protected by @dimitriBouteille in #156
- 🐞 Fix: use belongsTo instead of hasOne for Post and Comment relations by @dimitriBouteille in #157
- 🐞 Fix: use belongsTo instead of hasOne for PostMeta, UserMeta, SiteMeta and Signup relations by @dimitriBouteille in #158
- ✂️ Deprecate AbstractMeta::getKey() in favor of getMetaKey() by @dimitriBouteille in #166
- 🗑️ Remove multisite feature by @dimitriBouteille in #169
New Features 💎
- 📏 Support decimal and custom_datetime casts in HasMetas by @dimitriBouteille in #167
Fixes ⛑️
- 🐞 Fix: add 'real' to primitiveMetaCastTypes and improve HasMetas unit tests by @dimitriBouteille in #160
- 🐞 Fix some issues in HasMetas by @dimitriBouteille in #164
- 📘 Fix wrong @method insert annotation on AbstractModel by @dimitriBouteille in #165
Other Changes 🖇️
- 💎 Add local testing env by @dimitriBouteille in #146
- Lock rector version, update header license by @dimitriBouteille in #154
- 🦾 Migrate WordPress test suite to wp-phpunit Composer package by @dimitriBouteille in #161
- 📖 Improve README.md by @dimitriBouteille in #168
- 🧪 Improve database tests by @dimitriBouteille in #171
- 🧪 Bump WP test matrix to 6.5–6.9 + latest by @dimitriBouteille in #172
- 🧪 Add and update database tests by @dimitriBouteille in #173
- 🛡️ Add security group in release.yml by @dimitriBouteille in #175
Current Eloquent Version: 12.x
Full Changelog: v4.3.1...v5.0.0
v5.0.0-beta.0
Release candidate for dimitriBouteille/wp-orm v5, ready for external use.
What's Changed
Other Changes 🖇️
- 🧪 Bump WP test matrix to 6.5–6.9 + latest by @dimitriBouteille in #172
- 🧪 Add and update database tests by @dimitriBouteille in #173
Current Eloquent Version: 12.x
Full Changelog: v5.0.0-alpha.4...v5.0.0-beta.0
v5.0.0-alpha.4
DO NOT USE IN PRODUCTION! This is a test alpha release. For internal use only!
What's Changed
Breaking Changes 🛠
- 🗑️ Remove multisite feature by @dimitriBouteille in #169
Other Changes 🖇️
- 🧪 Improve database tests by @dimitriBouteille in #171
Current Eloquent Version: 12.x
Full Changelog: v5.0.0-alpha.3...v5.0.0-alpha.4
v5.0.0-alpha.3
DO NOT USE IN PRODUCTION! This is a test alpha release. For internal use only!
What's Changed
Breaking Changes 🛠
- 🧯 Security: harden meta join to prevent SQL injection through identifiers by @dimitriBouteille in #163
New Features 💎
- 📏 Support decimal and custom_datetime casts in HasMetas by @dimitriBouteille in #167
Fixes ⛑️
- 🐞 Fix some issues in HasMetas by @dimitriBouteille in #164
- 📘 Fix wrong @method insert annotation on AbstractModel by @dimitriBouteille in #165
- ✂️ Deprecate AbstractMeta::getKey() in favor of getMetaKey() by @dimitriBouteille in #166
Other Changes 🖇️
- 📖 Improve README.md by @dimitriBouteille in #168
Current Eloquent Version: 12.x
Full Changelog: v5.0.0-alpha.2...v5.0.0-alpha.3
v5.0.0-alpha.2
DO NOT USE IN PRODUCTION! This is a test alpha release. For internal use only!
What's Changed
Breaking Changes 🛠
- 🧶 feat: serialize/unserialize option_value in Option model by @dimitriBouteille in #152
- 🐞 Fix: use belongsTo instead of hasOne by @dimitriBouteille in #157 and #158
Fixes ⛑️
- Lock rector version, update header license by @dimitriBouteille in #154
- 🥷 Database::$transactionCount is protected by @dimitriBouteille in #156
- 🧯 Security: escape metaKey in joinToMeta() and add PostBuilder tests by @dimitriBouteille in #159
- 🚨 Security: replace esc_sql by $wpdb->prepare() in Database::bindParams by @dimitriBouteille in #155
- 🐞 Fix: add 'real' to primitiveMetaCastTypes and improve HasMetas unit tests by @dimitriBouteille in #160
Other Changes 🖇️
- 🦾 Migrate WordPress test suite to wp-phpunit Composer package by @dimitriBouteille in #161
Current Eloquent Version: 12.x
Full Changelog: v5.0.0-alpha.1...v5.0.0-alpha.2
v5.0.0-alpha.1
DO NOT USE IN PRODUCTION! This is a test alpha release. For internal use only!
What's Changed
Breaking Changes 🛠
- 🛟 Update phpunit/phpunit to ^12.5 by @dimitriBouteille in #147
- Drop support for PHP 8.2, the minimum version is PHP 8.3 in #147
Current Eloquent Version: 12.x
Full Changelog: v5.0.0-alpha.0...v5.0.0-alpha.1
v5.0.0-alpha.0
DO NOT USE IN PRODUCTION! This is a test alpha release. For internal use only!
What's Changed
New major version with the update of the package illuminate/database to version 12.x ✨
Breaking Changes 🛠
- 🛟 Update illuminate/* to ^12.0 by @dimitriBouteille in #136
- 🔧 The
AbstractModel::getTable()function returns the name of the table without a prefix in #136
New Features 💎
- 💎 Add local testing env by @dimitriBouteille in #146
Other Changes 🖇️
- 🐞 Addition of several database tests in #136
Current Eloquent Version: 12.x
Full Changelog: v4.3.1...v5.0.0-alpha.0
v4.3.1
What's Changed
New Features 💎
- 💎 Add release.yml by @dimitriBouteille in #139
Other Changes 🖇️
- chore(deps): update mysql docker tag to v9.4 by @renovate[bot] in #137
- 🔧 Update renovate labels by @dimitriBouteille in #140
- 🔩 Run test with WordPress 6.8 by @dimitriBouteille in #143
Current Eloquent Version: 11.x
Full Changelog: v4.3.0...v4.3.1