Releases: dimitriBouteille/wp-orm
3.3.0
What's Changed
Fixes ⛑️
- [BUG]: Custom models can't extend Pivot relation by @dimitriBouteille in #76
Other Changes 🖇️
- Update mysql Docker tag to v9 by @renovate in #71
- Test with WordPress 6.6 by @dimitriBouteille in #78
- [DOC] Add doc/events documentation by @dimitriBouteille in #79
Current Eloquent Version: 10.x
Full Changelog: 3.2.0...3.3.0
3.2.0
What's Changed
New Features 💎
- #66 Add AbstractModel::upserts() support by @dimitriBouteille in #68
Other Changes 🖇️
- chore(deps): update mysql docker tag to v8.4 by @renovate in #65
- Move static find(...) function to AbstractModel.php by @dimitriBouteille in #69
Current Eloquent Version: 10.x
Full Changelog: 3.1.3...3.2.0
3.1.3
What's Changed
Fixes ⛑️
- HasMeta::setMeta() don't save meta_key column by @dimitriBouteille in #62
Other Changes 🖇️
New Contributors
Current Eloquent Version: 10.x
Full Changelog: 3.1.2...3.1.3
3.1.2
What's Changed
Fixes ⛑️
- Remove hard dev-dependencies by @dimitriBouteille in #57
Other Changes 🖇️
- Run tests with WordPress 6.5 by @dimitriBouteille in #56
- Fix typos by @szepeviktor in #53
- Deprecate Phinx by @dimitriBouteille in #55
New Contributors
- @szepeviktor made their first contribution in #53
Current Eloquent Version: 10.x
Full Changelog: 3.1.1...3.1.2
3.1.1
What's Changed
Fixes ⛑️
- #46 Support string type (uid) for AbstractModel::getId() by @dimitriBouteille in #47
Other Changes 🖇️
- Update mysql Docker tag to v8.3 by @renovate in #45
- phpcsfixer - Replace new_with_braces by new_with_parentheses by @dimitriBouteille in #48
- Update dependency yoast/phpunit-polyfills to v2 by @renovate in #44
Current Eloquent Version: 10.x
Full Changelog: 3.1.0...3.1.1
3.1.0
What's Changed
The Database class has been completely refactored to fix several bugs, improve compatibility with models and prepare the next version of the module that should contain new features.
In addition, In order to improve the quality, tests related to the WordPress database have been added.
New Features 💎
- [FEATURE]: Add tests with wp-env by @dimitriBouteille in #40
Fixes ⛑️
- [BUG]: saveOrFail doesnt throw QueryException by @dimitriBouteille in #31
- [BUG]: HasMany property have invalid phpdoc class by @dimitriBouteille in #42
- [BUG]: Undefined getSchemaBuilder() method in Dbout\WpOrm\Orm\Database by @dimitriBouteille in #39
Other Changes 🖇️
Current Eloquent Version: 10.x
Full Changelog: 3.0.2...3.1.0
3.0.2
What's Changed
Fixes ⛑️
- #34 [BUG]: joinToMeta Unknown column by @dimitriBouteille in #35
Other Changes 🖇️
- Configure Renovate by @renovate in #24
- Update actions/checkout action to v4 by @renovate in #29
- Update dependency roots/wordpress to v6.4.3 by @renovate in #25
New Contributors
Full Changelog: 3.0.1...3.0.2
3.0.1
What's Changed
Other Changes 🖇️
- #19 Move tests to /tests directory, add roots/wordpress dev-dependencies by @dimitriBouteille in #20
- #15 Update rector to 1.x by @dimitriBouteille in #21
- #16 Add renovate.json by @dimitriBouteille in #22
Full Changelog: 3.0.0...3.0.1
3.0.0
What's Changed
New major version that contains some changes. Many of the changes have no impact on your code if you don’t have a custom model. Conversely, if you have custom models, please take the time to test your code.
❤️ if you have any problem with this version, you can create an issue :)
💡 Versions V1
and V2
are no longer maintained.
Breaking Changes 🛠
- Welcome PHP 8.1 in #6
- Refactor meta (Post & User) logic
- Refactor CustomPost logic
- Update
illuminate/database
to^10.0
- The properties hasOne/hasMany are read-only (property-read)
- Delete model
\Dbout\WpOrm\Models\CustomComment
- Planned in a future release
New Features 💎
- Add
findOneBy*
functions on some models in #12 - Create multiple taps in #12
- Create documentations in #7
- Add Wordpress Enums (PingStatus, PostStatus and YesNo)
Other Changes 🖇️
- Add PHPStan tool level 5
- Add PHPCsFixer
- Add PHPUnit
- Add Rector
- Create github actions
- Create issue templates
- Define
default_migration_table
anddefault_database
options in\Dbout\WpOrm\Migration\Config::createPhinxConfig()
- Deprecated some functions in
\Dbout\WpOrm\Models\Comment
3.0.0-beta.6
- Add
WithMetaBuilderTest
- Fix bug in
\Dbout\WpOrm\Builders\AbstractWithMetaBuilder::joinToMeta()
with join