Also bumped to:
- TinyDrivers v0.2.0
- TinyMySql v0.2.0
- TinyUtils v0.5.0
- removed Qt v5 support (since TinyORM v0.38.0) 🎉🕺🙌eda9df9f
- renamed all occurrences of QVector to QList 8a71078f
- renamed all occurrences of toVector to toList (Model) 118acd88
- renamed all getQtQuery and similar to getSqlQuery 7f897b33
- drivers populate Default Column Values
- added MySQL v9.0 support
- increased min. GCC version to v11.2
- upgraded everything to latest versions 😁
- qmake/cmake added support for ccache >=4.10 (on Windows with PCH) 🙌👌
- Qt removed deprecated API-s up to Qt v6.9
- bugfix in String::snake() 🤔
- vcpkg bugfix /MT vs /MD
- docs added API Stability boxes and a new page
- fixed all Visual Studio 2022 analyzer warnings (Recommended Rules Profile)
- greatly optimized PCH
- cmake added support for ctest --parallel 🎉
- workflows added LTO to matrix (Linux/Windows)
- tools added deploy scripts 👌
- ~500 more improvements and bugfix-es 😮😎
Also bumped to TinyUtils v0.3.1.
- added ModelsCollection 🔥🚀🎉
- added Models and ModelsCollection serialization using toMap(),
toVector(), and toJson() methods 🪡🔥❤️ (also supports pivot models)
- changed container type for getOperators() to std::unordered_set
- changed paging type to qint64 for paging-related methods like
limit(), offset(), chunk(), take(), ...
- added eagerLoadRelations<Model *>() and eagerLoadRelations(Model &)
overloads
- added Model getKeyCasted<T> and getAttribute<T> overloads
- bugfix zero-initialized related models in belongs-to relations
- bugfix select constraints and belongs-to-many
Internal:
- extracted relation stores to own files
- refactored SchemaBuilder instantiation
- added connection name to Exceptions::QueryError
- tom added --pending option to migrate:status
- tom added --batch=X option to migrate:rollback
- docs added migrate --pending and --batch sections
- schema added ability to add table comment
- schema added ability to call comment() on SQLite
- optimized eager loading when no keys to be loaded
- dropped return value for connectEagerly()
- allowed to pass QueryBuilder to whereExists
- allowed to pass expression to pluck()
- schema added datetimes and softDeletesDatetime
- renamed to Blueprint::datetime/Tz()
- schema added withoutForeignKeyConstraints()
- added dropDatetimes() and dropSoftDeletesDatetime()
- refactored PostgreSQL search_path configuration
- added search_path related auto tests
- added schema builder related auto tests
- enabled tst_Migrate for all supported connections