From 1413ebb22a11e8d1e1ab1e46233a89ee1820a8e1 Mon Sep 17 00:00:00 2001 From: silverqx Date: Sun, 21 Apr 2024 18:02:30 +0200 Subject: [PATCH] bump version to TinyORM v0.37.0 and tom v0.8.0 Also bumped to: - TinyUtils v0.4.0 Initial libraries' versions: - TinyDrivers v0.1.0 - TinyMySql v0.1.0 --- NOTES.txt | 10 +++++----- README.md | 8 ++++---- cmake/vcpkg/ports/tinyorm-qt5/vcpkg.json | 2 +- cmake/vcpkg/ports/tinyorm/vcpkg.json | 2 +- docs/README.mdx | 4 ++-- docs/building/hello-world.mdx | 8 ++++---- docs/building/migrations.mdx | 2 +- docs/building/tinyorm.mdx | 4 ++-- include/orm/version.hpp | 4 ++-- tests/TinyUtils/src/version.hpp | 4 ++-- tom/include/tom/version.hpp | 2 +- 11 files changed, 25 insertions(+), 25 deletions(-) diff --git a/NOTES.txt b/NOTES.txt index 29a367a15..66cb596ba 100644 --- a/NOTES.txt +++ b/NOTES.txt @@ -3,9 +3,9 @@ Increase/bump the release version: - bump message format: -bump version to TinyORM v0.36.5 and tom v0.7.0 +bump version to TinyORM v0.37.0 and tom v0.8.0 -- just simply search the current version number in all files eg. 0.36.5 +- just simply search the current version number in all files eg. 0.37.0 - don't forget to update a version number in the silverqx/TinyORM-HelloWorld find_package() call - TinyORM: @@ -66,7 +66,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.36.5.tar.gz +https://github.com/silverqx/TinyORM/archive/v0.37.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 @@ -1236,10 +1236,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.36.5.0 Debug (requested 0.36.5) at O:/Code/c/qMedia/TinyORM/TinyORM-builds-cmake/build-TinyORM-Desktop_Qt_6_7_0_MSVC2022_64bit-Debug/TinyOrmConfig.cmake + Found package TinyOrm 0.37.0.0 Debug (requested 0.37.0) at O:/Code/c/qMedia/TinyORM/TinyORM-builds-cmake/build-TinyORM-Desktop_Qt_6_7_0_MSVC2022_64bit-Debug/TinyOrmConfig.cmake - whether Matching build type for Build tree was enabled/disabled eg.: - Matching build type for the TinyOrm 0.36.5.0 package build tree was enabled + Matching build type for the TinyOrm 0.37.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 736bb0300..bf1592d6d 100644 --- a/README.md +++ b/README.md @@ -14,8 +14,8 @@ [![TinyORM - www.tinyorm.org][docs-badge]][docs] [![License MIT][license-badge]][license]
-[![TinyORM v0.36.5][version-tinyorm-badge]][docs] -[![tom v0.7.0][version-tom-badge]][docs-tom] +[![TinyORM v0.37.0][version-tinyorm-badge]][docs] +[![tom v0.8.0][version-tom-badge]][docs-tom] [![TinyDrivers v0.1.0][version-tinydrivers-badge]][docs-tinydrivers] [![TinyMySql v0.1.0][version-tinymysql-badge]][docs-tinydrivers] @@ -160,7 +160,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.36.5-blue -[version-tom-badge]: https://img.shields.io/badge/tom-v0.7.0-blue +[version-tinyorm-badge]: https://img.shields.io/badge/TinyORM-v0.37.0-blue +[version-tom-badge]: https://img.shields.io/badge/tom-v0.8.0-blue [version-tinydrivers-badge]: https://img.shields.io/badge/TinyDrivers-v0.1.0-blue [version-tinymysql-badge]: https://img.shields.io/badge/TinyMySql-v0.1.0-blue diff --git a/cmake/vcpkg/ports/tinyorm-qt5/vcpkg.json b/cmake/vcpkg/ports/tinyorm-qt5/vcpkg.json index 581defa28..6aa39fb47 100644 --- a/cmake/vcpkg/ports/tinyorm-qt5/vcpkg.json +++ b/cmake/vcpkg/ports/tinyorm-qt5/vcpkg.json @@ -1,7 +1,7 @@ { "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json", "name": "tinyorm-qt5", - "version-semver": "0.36.5", + "version-semver": "0.37.0", "maintainers": "Silver Zachara ", "description": "Modern C++ ORM library for Qt framework", "homepage": "https://github.com/silverqx/TinyORM", diff --git a/cmake/vcpkg/ports/tinyorm/vcpkg.json b/cmake/vcpkg/ports/tinyorm/vcpkg.json index 57699f4cf..ebad22be3 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.36.5", + "version-semver": "0.37.0", "maintainers": "Silver Zachara ", "description": "Modern C++ ORM library for Qt framework", "homepage": "https://github.com/silverqx/TinyORM", diff --git a/docs/README.mdx b/docs/README.mdx index 018ee0a5f..b09e7d272 100644 --- a/docs/README.mdx +++ b/docs/README.mdx @@ -45,7 +45,7 @@ If you don't want to use full [`ORM`](tinyorm/getting-started.mdx), then you can ##### Current versions -- __TinyORM__ v0.36.5 -- __tom__ v0.7.0 +- __TinyORM__ v0.37.0 +- __tom__ v0.8.0 - __TinyDrivers__ v0.1.0 - __TinyMySql__ v0.1.0 diff --git a/docs/building/hello-world.mdx b/docs/building/hello-world.mdx index a73b97b00..e1462ae86 100644 --- a/docs/building/hello-world.mdx +++ b/docs/building/hello-world.mdx @@ -239,7 +239,7 @@ add_executable(HelloWorld )\n find_package(QT NAMES Qt6 Qt5 COMPONENTS Core REQUIRED) find_package(Qt\${QT_VERSION_MAJOR} COMPONENTS Core REQUIRED) -find_package(TinyOrm 0.36.5 CONFIG REQUIRED)\n +find_package(TinyOrm 0.37.0 CONFIG REQUIRED)\n target_link_libraries(HelloWorld PRIVATE Qt\${QT_VERSION_MAJOR}::Core @@ -261,7 +261,7 @@ add_executable(HelloWorld )\n find_package(QT NAMES Qt6 Qt5 COMPONENTS Core REQUIRED) find_package(Qt\${QT_VERSION_MAJOR} COMPONENTS Core REQUIRED) -find_package(TinyOrm 0.36.5 CONFIG REQUIRED)\n +find_package(TinyOrm 0.37.0 CONFIG REQUIRED)\n target_link_libraries(HelloWorld PRIVATE Qt\${QT_VERSION_MAJOR}::Core @@ -317,7 +317,7 @@ add_executable(HelloWorld )\n find_package(QT NAMES Qt6 Qt5 COMPONENTS Core REQUIRED) find_package(Qt\${QT_VERSION_MAJOR} COMPONENTS Core REQUIRED) -find_package(TinyOrm 0.36.5 CONFIG REQUIRED)\n +find_package(TinyOrm 0.37.0 CONFIG REQUIRED)\n target_link_libraries(HelloWorld PRIVATE Qt\${QT_VERSION_MAJOR}::Core @@ -348,7 +348,7 @@ add_executable(HelloWorld )\n find_package(QT NAMES Qt6 Qt5 COMPONENTS Core REQUIRED) find_package(Qt\${QT_VERSION_MAJOR} COMPONENTS Core REQUIRED) -find_package(TinyOrm 0.36.5 CONFIG REQUIRED)\n +find_package(TinyOrm 0.37.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 d70039642..6bf5848ea 100644 --- a/docs/building/migrations.mdx +++ b/docs/building/migrations.mdx @@ -497,7 +497,7 @@ tiny_resource_and_manifest(${Tom_target} find_package(QT NAMES Qt6 Qt5 COMPONENTS Core REQUIRED) find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Core REQUIRED) -find_package(TinyOrm 0.36.5 CONFIG REQUIRED) +find_package(TinyOrm 0.37.0 CONFIG REQUIRED) # Unconditional dependencies target_link_libraries(${Tom_target} diff --git a/docs/building/tinyorm.mdx b/docs/building/tinyorm.mdx index 18d2ccbc2..9e2bba32b 100644 --- a/docs/building/tinyorm.mdx +++ b/docs/building/tinyorm.mdx @@ -446,7 +446,7 @@ cd TinyORM-builds-cmake/build-debug ##### CMake `STRICT_MODE` option -The `STRICT_MODE` `CMake` configuration option was added in `TinyORM` `v0.36.5`. 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.37.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. @@ -543,7 +543,7 @@ Important `CMake` options. In your application or library `CMakeLists.txt` file add following `find_package()` call. ```cmake title='CMakeLists.txt' -find_package(TinyOrm 0.36.5 CONFIG REQUIRED) +find_package(TinyOrm 0.37.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/include/orm/version.hpp b/include/orm/version.hpp index b4f6d805c..6f036ce9f 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 36 -#define TINYORM_VERSION_BUGFIX 5 +#define TINYORM_VERSION_MINOR 37 +#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 d0a40963a..9526a46da 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 3 -#define TINYUTILS_VERSION_BUGFIX 1 +#define TINYUTILS_VERSION_MINOR 4 +#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 f8d7f217f..e04d665ad 100644 --- a/tom/include/tom/version.hpp +++ b/tom/include/tom/version.hpp @@ -11,7 +11,7 @@ TINY_SYSTEM_HEADER #include #define TINYTOM_VERSION_MAJOR 0 -#define TINYTOM_VERSION_MINOR 7 +#define TINYTOM_VERSION_MINOR 8 #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!