IMPORTANT: For those using one of the earlier versions of Cycle ORM:
We’re in the middle of moving the spiral/database package to cycle/database (migrations will also take place later). Before you tag the new version of Cycle ORM v1, where the old package will be replaced by the new one, we would love your help with testing this first.
In the composer.json within the require section, replace the line for cycle/orm with this: “cycle/orm”: “dev-change-database as 1.7.0”, and run composer up.
Expected:
- spiral/database 2.x will be removed, cycle/database 1.0.2 will be downloaded, and the application will continue working with the old namespaces.
- If you used classes from spiral/database in your project code, they will need to be marked as obsolete by the IDE.
- There is no leakage of \Spiral\Database\* class names into the database, cache or other repositories in the application code.
- Presence of old classes in methods / classes signatures will not be affected.
- DIC configured for old classes will work.
If you have any problems, don’t hesitate to contact us via Twitter, Discord, or Telegram. If everything goes well, feel free to share your feedback too.