From 65abb5410f64a0c5fea81f2cc5984d39e6dfab05 Mon Sep 17 00:00:00 2001 From: silverqx Date: Fri, 16 Aug 2024 08:22:58 +0200 Subject: [PATCH] bump version to TinyORM v0.38.0 and tom v0.10.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 😮😎 --- NOTES.txt | 10 +++++----- README.md | 16 ++++++++-------- cmake/vcpkg/ports/tinyorm/vcpkg.json | 2 +- docs/README.mdx | 8 ++++---- docs/building/hello-world.mdx | 8 ++++---- docs/building/migrations.mdx | 2 +- docs/building/tinyorm.mdx | 4 ++-- drivers/common/include/orm/drivers/version.hpp | 4 ++-- .../mysql/include/orm/drivers/mysql/version.hpp | 4 ++-- include/orm/version.hpp | 4 ++-- tests/TinyUtils/src/version.hpp | 4 ++-- tom/include/tom/version.hpp | 4 ++-- tom/src/tom/commands/aboutcommand.cpp | 2 +- 13 files changed, 36 insertions(+), 36 deletions(-) diff --git a/NOTES.txt b/NOTES.txt index cbad9ed6b..3d6ab6869 100644 --- a/NOTES.txt +++ b/NOTES.txt @@ -7,9 +7,9 @@ Increase/bump the release version: - bump message format: -bump version to TinyORM v0.37.3 and tom v0.9.1 +bump version to TinyORM v0.38.0 and tom v0.10.0 -- just simply search the current version number in all files eg. 0.37.3 +- just simply search the current version number in all files eg. 0.38.0 - don't forget to update a version number in the silverqx/TinyORM-HelloWorld find_package() call - TinyORM: @@ -73,7 +73,7 @@ Prefer tags in the REF but can also be a commit ID. The SHA512 is a hash of the source code tinyorm.tar.gz archive, the tools/Get-VcpkgHash.ps1 script can be used to obtain this hash. The URL to download this archive is: -https://github.com/silverqx/TinyORM/archive/v0.37.3.tar.gz +https://github.com/silverqx/TinyORM/archive/v0.38.0.tar.gz https://github.com/silverqx/TinyORM/archive/ca8909896247b21bf08d62a5109b23e9f65c89e1.tar.gz If only the vcpkg is updated but the TinyORM version number is not bumped then @@ -1396,10 +1396,10 @@ How the Package Config file works: - I have invested a lot of effort to these info messages - whether linking against the single, multi, vcpkg builds - against which TinyORM package is linking eg.: - Found package TinyOrm 0.37.3.0 Debug (requested 0.37.3) at O:/Code/c/qMedia/TinyORM/TinyORM-builds-cmake/build-TinyORM-Desktop_Qt_6_7_2_MSVC2022_64bit-Debug/TinyOrmConfig.cmake + Found package TinyOrm 0.38.0.0 Debug (requested 0.38.0) at O:/Code/c/qMedia/TinyORM/TinyORM-builds-cmake/build-TinyORM-Desktop_Qt_6_7_2_MSVC2022_64bit-Debug/TinyOrmConfig.cmake - whether Matching build type for Build tree was enabled/disabled eg.: - Matching build type for the TinyOrm 0.37.3.0 package build tree was enabled + Matching build type for the TinyOrm 0.38.0.0 package build tree was enabled - Matching build type is controlled by the MATCH_EQUAL_EXPORTED_BUILDTREE CMake config. option during the TinyORM library configure diff --git a/README.md b/README.md index 5caf597f0..0adb16bcd 100644 --- a/README.md +++ b/README.md @@ -12,10 +12,10 @@ [![TinyORM - www.tinyorm.org][docs-badge]][docs] [![License MIT][license-badge]][license]
-[![TinyORM v0.37.3][version-tinyorm-badge]][docs] -[![tom v0.9.1][version-tom-badge]][docs-tom] -[![TinyDrivers v0.1.1][version-tinydrivers-badge]][docs-tinydrivers] -[![TinyMySql v0.1.1][version-tinymysql-badge]][docs-tinydrivers] +[![TinyORM v0.38.0][version-tinyorm-badge]][docs] +[![tom v0.10.0][version-tom-badge]][docs-tom] +[![TinyDrivers v0.2.0][version-tinydrivers-badge]][docs-tinydrivers] +[![TinyMySql v0.2.0][version-tinymysql-badge]][docs-tinydrivers] TinyORM is a modern ORM library that makes interacting with a database extremely simple. @@ -156,7 +156,7 @@ The following list fastly summarizes all the `TinyORM` features. [docs-tinydrivers]: https://www.tinyorm.org/tinydrivers/getting-started [license-badge]: https://img.shields.io/github/license/silverqx/TinyORM [license]: https://github.com/silverqx/TinyORM/blob/main/LICENSE -[version-tinyorm-badge]: https://img.shields.io/badge/TinyORM-v0.37.3-blue -[version-tom-badge]: https://img.shields.io/badge/tom-v0.9.1-blue -[version-tinydrivers-badge]: https://img.shields.io/badge/TinyDrivers-v0.1.1-blue -[version-tinymysql-badge]: https://img.shields.io/badge/TinyMySql-v0.1.1-blue +[version-tinyorm-badge]: https://img.shields.io/badge/TinyORM-v0.38.0-blue +[version-tom-badge]: https://img.shields.io/badge/tom-v0.10.0-blue +[version-tinydrivers-badge]: https://img.shields.io/badge/TinyDrivers-v0.2.0-blue +[version-tinymysql-badge]: https://img.shields.io/badge/TinyMySql-v0.2.0-blue diff --git a/cmake/vcpkg/ports/tinyorm/vcpkg.json b/cmake/vcpkg/ports/tinyorm/vcpkg.json index cba1fb9d0..b37afdfad 100644 --- a/cmake/vcpkg/ports/tinyorm/vcpkg.json +++ b/cmake/vcpkg/ports/tinyorm/vcpkg.json @@ -1,7 +1,7 @@ { "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json", "name": "tinyorm", - "version-semver": "0.37.3", + "version-semver": "0.38.0", "port-version": 3, "maintainers": "Silver Zachara ", "description": "Modern C++ ORM library for Qt framework", diff --git a/docs/README.mdx b/docs/README.mdx index d3ebac3d6..d042f661a 100644 --- a/docs/README.mdx +++ b/docs/README.mdx @@ -47,7 +47,7 @@ If you don't want to use full [`ORM`](tinyorm/getting-started.mdx), then you can ##### Current versions -- __TinyORM__ v0.37.3 -- __tom__ v0.9.1 -- __TinyDrivers__ v0.1.1 -- __TinyMySql__ v0.1.1 +- __TinyORM__ v0.38.0 +- __tom__ v0.10.0 +- __TinyDrivers__ v0.2.0 +- __TinyMySql__ v0.2.0 diff --git a/docs/building/hello-world.mdx b/docs/building/hello-world.mdx index afcea0613..32b471144 100644 --- a/docs/building/hello-world.mdx +++ b/docs/building/hello-world.mdx @@ -249,7 +249,7 @@ add_executable(HelloWorld )\n find_package(QT NAMES Qt6 COMPONENTS Core REQUIRED) find_package(Qt\${QT_VERSION_MAJOR} COMPONENTS Core REQUIRED) -find_package(TinyOrm 0.37.3 CONFIG REQUIRED)\n +find_package(TinyOrm 0.38.0 CONFIG REQUIRED)\n target_link_libraries(HelloWorld PRIVATE Qt\${QT_VERSION_MAJOR}::Core @@ -271,7 +271,7 @@ add_executable(HelloWorld )\n find_package(QT NAMES Qt6 COMPONENTS Core REQUIRED) find_package(Qt\${QT_VERSION_MAJOR} COMPONENTS Core REQUIRED) -find_package(TinyOrm 0.37.3 CONFIG REQUIRED)\n +find_package(TinyOrm 0.38.0 CONFIG REQUIRED)\n target_link_libraries(HelloWorld PRIVATE Qt\${QT_VERSION_MAJOR}::Core @@ -327,7 +327,7 @@ add_executable(HelloWorld )\n find_package(QT NAMES Qt6 COMPONENTS Core REQUIRED) find_package(Qt\${QT_VERSION_MAJOR} COMPONENTS Core REQUIRED) -find_package(TinyOrm 0.37.3 CONFIG REQUIRED)\n +find_package(TinyOrm 0.38.0 CONFIG REQUIRED)\n target_link_libraries(HelloWorld PRIVATE Qt\${QT_VERSION_MAJOR}::Core @@ -357,7 +357,7 @@ add_executable(HelloWorld )\n find_package(QT NAMES Qt6 COMPONENTS Core REQUIRED) find_package(Qt\${QT_VERSION_MAJOR} COMPONENTS Core REQUIRED) -find_package(TinyOrm 0.37.3 CONFIG REQUIRED)\n +find_package(TinyOrm 0.38.0 CONFIG REQUIRED)\n target_link_libraries(HelloWorld PRIVATE Qt\${QT_VERSION_MAJOR}::Core diff --git a/docs/building/migrations.mdx b/docs/building/migrations.mdx index f02d0e8e4..0340bd18e 100644 --- a/docs/building/migrations.mdx +++ b/docs/building/migrations.mdx @@ -503,7 +503,7 @@ tiny_resource_and_manifest(${Tom_target} find_package(QT NAMES Qt6 COMPONENTS Core REQUIRED) find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Core REQUIRED) -find_package(TinyOrm 0.37.3 CONFIG REQUIRED) +find_package(TinyOrm 0.38.0 CONFIG REQUIRED) # Unconditional dependencies target_link_libraries(${Tom_target} diff --git a/docs/building/tinyorm.mdx b/docs/building/tinyorm.mdx index 33cee1943..dbdc6b2d8 100644 --- a/docs/building/tinyorm.mdx +++ b/docs/building/tinyorm.mdx @@ -449,7 +449,7 @@ cd TinyORM-builds-cmake/build-debug ##### CMake `STRICT_MODE` option -The `STRICT_MODE` `CMake` configuration option was added in `TinyORM` `v0.37.3`. This option was added to avoid the propagation of aggressive strict warning compiler/linker options and Qt definitions from the `TinyORM` library to user code through the [`TinyOrm::CommonConfig`](https://github.com/silverqx/TinyORM/blob/main/cmake/CommonModules/TinyCommon.cmake) interface library. +The `STRICT_MODE` `CMake` configuration option was added in `TinyORM` `v0.38.0`. This option was added to avoid the propagation of aggressive strict warning compiler/linker options and Qt definitions from the `TinyORM` library to user code through the [`TinyOrm::CommonConfig`](https://github.com/silverqx/TinyORM/blob/main/cmake/CommonModules/TinyCommon.cmake) interface library. `TinyORM` uses the strictest warning level options, virtually anything that can be enabled is enabled to produce a better code. I highly recommend enabling this option to produce better code and to follow good practices. It also helps to follow the `ISOCPP` [C++ Core Guidelines](https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines) standards. @@ -567,7 +567,7 @@ These environment variables have lower priority than CMake `-D` compile definiti In your application or library `CMakeLists.txt` file add following `find_package()` call. ```cmake title='CMakeLists.txt' -find_package(TinyOrm 0.37.3 CONFIG REQUIRED) +find_package(TinyOrm 0.38.0 CONFIG REQUIRED) ``` If the `TinyORM` build tree is not exported to the CMake's [`User Package Registry`](https://cmake.org/cmake/help/latest/manual/cmake-packages.7.html#user-package-registry) then also add the `TinyORM` build tree or `CMAKE_INSTALL_PREFIX` folder to the `CMAKE_PREFIX_PATH`, so CMake can find TinyORM's package configuration file during `find_package(TinyOrm)` call. diff --git a/drivers/common/include/orm/drivers/version.hpp b/drivers/common/include/orm/drivers/version.hpp index 344817dfe..26dcdc436 100644 --- a/drivers/common/include/orm/drivers/version.hpp +++ b/drivers/common/include/orm/drivers/version.hpp @@ -14,8 +14,8 @@ TINY_SYSTEM_HEADER https://community.kde.org/Policies/Binary_Compatibility_Issues_With_C++ https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html */ #define TINYDRIVERS_VERSION_MAJOR 0 -#define TINYDRIVERS_VERSION_MINOR 1 -#define TINYDRIVERS_VERSION_BUGFIX 1 +#define TINYDRIVERS_VERSION_MINOR 2 +#define TINYDRIVERS_VERSION_BUGFIX 0 #define TINYDRIVERS_VERSION_BUILD 0 // Should be empty for stable releases, and use the hyphen before to be compatible with SemVer! #define TINYDRIVERS_VERSION_STATUS "" diff --git a/drivers/mysql/include/orm/drivers/mysql/version.hpp b/drivers/mysql/include/orm/drivers/mysql/version.hpp index eba90881b..940d5c588 100644 --- a/drivers/mysql/include/orm/drivers/mysql/version.hpp +++ b/drivers/mysql/include/orm/drivers/mysql/version.hpp @@ -14,8 +14,8 @@ TINY_SYSTEM_HEADER https://community.kde.org/Policies/Binary_Compatibility_Issues_With_C++ https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html */ #define TINYMYSQL_VERSION_MAJOR 0 -#define TINYMYSQL_VERSION_MINOR 1 -#define TINYMYSQL_VERSION_BUGFIX 1 +#define TINYMYSQL_VERSION_MINOR 2 +#define TINYMYSQL_VERSION_BUGFIX 0 #define TINYMYSQL_VERSION_BUILD 0 // Should be empty for stable releases, and use the hyphen before to be compatible with SemVer! #define TINYMYSQL_VERSION_STATUS "" diff --git a/include/orm/version.hpp b/include/orm/version.hpp index e3a6c8cd5..ce6a81265 100644 --- a/include/orm/version.hpp +++ b/include/orm/version.hpp @@ -14,8 +14,8 @@ TINY_SYSTEM_HEADER https://community.kde.org/Policies/Binary_Compatibility_Issues_With_C++ https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html */ #define TINYORM_VERSION_MAJOR 0 -#define TINYORM_VERSION_MINOR 37 -#define TINYORM_VERSION_BUGFIX 3 +#define TINYORM_VERSION_MINOR 38 +#define TINYORM_VERSION_BUGFIX 0 #define TINYORM_VERSION_BUILD 0 // Should be empty for stable releases, and use the hyphen before to be compatible with SemVer! #define TINYORM_VERSION_STATUS "" diff --git a/tests/TinyUtils/src/version.hpp b/tests/TinyUtils/src/version.hpp index 0247ea149..97bec6855 100644 --- a/tests/TinyUtils/src/version.hpp +++ b/tests/TinyUtils/src/version.hpp @@ -5,8 +5,8 @@ #include #define TINYUTILS_VERSION_MAJOR 0 -#define TINYUTILS_VERSION_MINOR 4 -#define TINYUTILS_VERSION_BUGFIX 1 +#define TINYUTILS_VERSION_MINOR 5 +#define TINYUTILS_VERSION_BUGFIX 0 #define TINYUTILS_VERSION_BUILD 0 #if TINYUTILS_VERSION_BUILD != 0 diff --git a/tom/include/tom/version.hpp b/tom/include/tom/version.hpp index f27937af1..3d664488d 100644 --- a/tom/include/tom/version.hpp +++ b/tom/include/tom/version.hpp @@ -11,8 +11,8 @@ TINY_SYSTEM_HEADER #include #define TINYTOM_VERSION_MAJOR 0 -#define TINYTOM_VERSION_MINOR 9 -#define TINYTOM_VERSION_BUGFIX 1 +#define TINYTOM_VERSION_MINOR 10 +#define TINYTOM_VERSION_BUGFIX 0 #define TINYTOM_VERSION_BUILD 0 // Should be empty for stable releases, and use the hyphen before to be compatible with SemVer! #define TINYTOM_VERSION_STATUS "" diff --git a/tom/src/tom/commands/aboutcommand.cpp b/tom/src/tom/commands/aboutcommand.cpp index 24833f066..f22495165 100644 --- a/tom/src/tom/commands/aboutcommand.cpp +++ b/tom/src/tom/commands/aboutcommand.cpp @@ -249,7 +249,7 @@ AboutCommand::printAboutItemsDetail(const std::map &aboutIt /* I won't serialize the Dependencies components into the JSON output because that would add unnecessary complexity to the consumers' parsing code. Currently the output looks like: -"dependencies": {"qt": "6.7.2", "range-v3": "0.12.0", "tinydrivers": "0.1.1"} +"dependencies": {"qt": "6.7.2", "range-v3": "0.12.0", "tinydrivers": "0.2.0"} With the Dependencies' components it would look like: "dependencies": {