Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft: 3.x #14

Merged
merged 67 commits into from
Feb 11, 2024
Merged

Draft: 3.x #14

merged 67 commits into from
Feb 11, 2024

Conversation

dimitriBouteille
Copy link
Owner

@dimitriBouteille dimitriBouteille commented Jan 15, 2024

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.

⚠️ Several functions have been deprecated, please replace these functions with the new ones. Deprecated functions will be removed in a future release.

❤️ 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 3.x - Migrate to PHP 8.x #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 💎

Other Changes 🖇️

  • Add PHPStan tool level 5
  • Add PHPCsFixer
  • Add PHPUnit
  • Add Rector
  • Create github actions
  • Create issue templates
  • Define default_migration_table and default_database options in \Dbout\WpOrm\Migration\Config::createPhinxConfig()
  • Deprecated some functions in \Dbout\WpOrm\Models\Comment

@dimitriBouteille dimitriBouteille merged commit dc099ff into master Feb 11, 2024
2 checks passed
@dimitriBouteille dimitriBouteille deleted the 3.x branch February 11, 2024 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant