Skip to content

Commit 65abb54

Browse files
committed
bump version to TinyORM v0.38.0 and tom v0.10.0
Also bumped to: - TinyDrivers v0.2.0 - TinyMySql v0.2.0 - TinyUtils v0.5.0 - removed Qt v5 support (since TinyORM v0.38.0) 🎉🕺🙌 eda9df9 - renamed all occurrences of QVector to QList 8a71078 - renamed all occurrences of toVector to toList (Model) 118acd8 - renamed all getQtQuery and similar to getSqlQuery 7f897b3 - 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 😮😎
1 parent 30de830 commit 65abb54

File tree

13 files changed

+36
-36
lines changed

13 files changed

+36
-36
lines changed

NOTES.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ Increase/bump the release version:
77

88
- bump message format:
99

10-
bump version to TinyORM v0.37.3 and tom v0.9.1
10+
bump version to TinyORM v0.38.0 and tom v0.10.0
1111

12-
- just simply search the current version number in all files eg. 0.37.3
12+
- just simply search the current version number in all files eg. 0.38.0
1313
- don't forget to update a version number in the silverqx/TinyORM-HelloWorld find_package() call
1414

1515
- TinyORM:
@@ -73,7 +73,7 @@ Prefer tags in the REF but can also be a commit ID.
7373

7474
The SHA512 is a hash of the source code tinyorm.tar.gz archive, the tools/Get-VcpkgHash.ps1
7575
script can be used to obtain this hash. The URL to download this archive is:
76-
https://github.com/silverqx/TinyORM/archive/v0.37.3.tar.gz
76+
https://github.com/silverqx/TinyORM/archive/v0.38.0.tar.gz
7777
https://github.com/silverqx/TinyORM/archive/ca8909896247b21bf08d62a5109b23e9f65c89e1.tar.gz
7878

7979
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:
13961396
- I have invested a lot of effort to these info messages
13971397
- whether linking against the single, multi, vcpkg builds
13981398
- against which TinyORM package is linking eg.:
1399-
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
1399+
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
14001400

14011401
- whether Matching build type for Build tree was enabled/disabled eg.:
1402-
Matching build type for the TinyOrm 0.37.3.0 package build tree was enabled
1402+
Matching build type for the TinyOrm 0.38.0.0 package build tree was enabled
14031403
- Matching build type is controlled by the MATCH_EQUAL_EXPORTED_BUILDTREE CMake config. option
14041404
during the TinyORM library configure
14051405

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212

1313
[![TinyORM - www.tinyorm.org][docs-badge]][docs]
1414
[![License MIT][license-badge]][license]<br/>
15-
[![TinyORM v0.37.3][version-tinyorm-badge]][docs]
16-
[![tom v0.9.1][version-tom-badge]][docs-tom]
17-
[![TinyDrivers v0.1.1][version-tinydrivers-badge]][docs-tinydrivers]
18-
[![TinyMySql v0.1.1][version-tinymysql-badge]][docs-tinydrivers]
15+
[![TinyORM v0.38.0][version-tinyorm-badge]][docs]
16+
[![tom v0.10.0][version-tom-badge]][docs-tom]
17+
[![TinyDrivers v0.2.0][version-tinydrivers-badge]][docs-tinydrivers]
18+
[![TinyMySql v0.2.0][version-tinymysql-badge]][docs-tinydrivers]
1919

2020
TinyORM is a modern ORM library that makes interacting with a database extremely simple.
2121

@@ -156,7 +156,7 @@ The following list fastly summarizes all the `TinyORM` features.
156156
[docs-tinydrivers]: https://www.tinyorm.org/tinydrivers/getting-started
157157
[license-badge]: https://img.shields.io/github/license/silverqx/TinyORM
158158
[license]: https://github.com/silverqx/TinyORM/blob/main/LICENSE
159-
[version-tinyorm-badge]: https://img.shields.io/badge/TinyORM-v0.37.3-blue
160-
[version-tom-badge]: https://img.shields.io/badge/tom-v0.9.1-blue
161-
[version-tinydrivers-badge]: https://img.shields.io/badge/TinyDrivers-v0.1.1-blue
162-
[version-tinymysql-badge]: https://img.shields.io/badge/TinyMySql-v0.1.1-blue
159+
[version-tinyorm-badge]: https://img.shields.io/badge/TinyORM-v0.38.0-blue
160+
[version-tom-badge]: https://img.shields.io/badge/tom-v0.10.0-blue
161+
[version-tinydrivers-badge]: https://img.shields.io/badge/TinyDrivers-v0.2.0-blue
162+
[version-tinymysql-badge]: https://img.shields.io/badge/TinyMySql-v0.2.0-blue

cmake/vcpkg/ports/tinyorm/vcpkg.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
33
"name": "tinyorm",
4-
"version-semver": "0.37.3",
4+
"version-semver": "0.38.0",
55
"port-version": 3,
66
"maintainers": "Silver Zachara <[email protected]>",
77
"description": "Modern C++ ORM library for Qt framework",

docs/README.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ If you don't want to use full [`ORM`](tinyorm/getting-started.mdx), then you can
4747

4848
##### Current versions
4949

50-
- __TinyORM__ v0.37.3
51-
- __tom__ v0.9.1
52-
- __TinyDrivers__ v0.1.1
53-
- __TinyMySql__ v0.1.1
50+
- __TinyORM__ v0.38.0
51+
- __tom__ v0.10.0
52+
- __TinyDrivers__ v0.2.0
53+
- __TinyMySql__ v0.2.0

docs/building/hello-world.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ add_executable(HelloWorld
249249
)\n
250250
find_package(QT NAMES Qt6 COMPONENTS Core REQUIRED)
251251
find_package(Qt\${QT_VERSION_MAJOR} COMPONENTS Core REQUIRED)
252-
find_package(TinyOrm 0.37.3 CONFIG REQUIRED)\n
252+
find_package(TinyOrm 0.38.0 CONFIG REQUIRED)\n
253253
target_link_libraries(HelloWorld
254254
PRIVATE
255255
Qt\${QT_VERSION_MAJOR}::Core
@@ -271,7 +271,7 @@ add_executable(HelloWorld
271271
)\n
272272
find_package(QT NAMES Qt6 COMPONENTS Core REQUIRED)
273273
find_package(Qt\${QT_VERSION_MAJOR} COMPONENTS Core REQUIRED)
274-
find_package(TinyOrm 0.37.3 CONFIG REQUIRED)\n
274+
find_package(TinyOrm 0.38.0 CONFIG REQUIRED)\n
275275
target_link_libraries(HelloWorld
276276
PRIVATE
277277
Qt\${QT_VERSION_MAJOR}::Core
@@ -327,7 +327,7 @@ add_executable(HelloWorld
327327
)\n
328328
find_package(QT NAMES Qt6 COMPONENTS Core REQUIRED)
329329
find_package(Qt\${QT_VERSION_MAJOR} COMPONENTS Core REQUIRED)
330-
find_package(TinyOrm 0.37.3 CONFIG REQUIRED)\n
330+
find_package(TinyOrm 0.38.0 CONFIG REQUIRED)\n
331331
target_link_libraries(HelloWorld
332332
PRIVATE
333333
Qt\${QT_VERSION_MAJOR}::Core
@@ -357,7 +357,7 @@ add_executable(HelloWorld
357357
)\n
358358
find_package(QT NAMES Qt6 COMPONENTS Core REQUIRED)
359359
find_package(Qt\${QT_VERSION_MAJOR} COMPONENTS Core REQUIRED)
360-
find_package(TinyOrm 0.37.3 CONFIG REQUIRED)\n
360+
find_package(TinyOrm 0.38.0 CONFIG REQUIRED)\n
361361
target_link_libraries(HelloWorld
362362
PRIVATE
363363
Qt\${QT_VERSION_MAJOR}::Core

docs/building/migrations.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ tiny_resource_and_manifest(${Tom_target}
503503
504504
find_package(QT NAMES Qt6 COMPONENTS Core REQUIRED)
505505
find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Core REQUIRED)
506-
find_package(TinyOrm 0.37.3 CONFIG REQUIRED)
506+
find_package(TinyOrm 0.38.0 CONFIG REQUIRED)
507507
508508
# Unconditional dependencies
509509
target_link_libraries(${Tom_target}

docs/building/tinyorm.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ cd TinyORM-builds-cmake/build-debug
449449

450450
##### CMake `STRICT_MODE` option
451451

452-
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.
452+
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.
453453

454454
`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.
455455

@@ -567,7 +567,7 @@ These environment variables have lower priority than CMake `-D` compile definiti
567567
In your application or library `CMakeLists.txt` file add following `find_package()` call.
568568

569569
```cmake title='CMakeLists.txt'
570-
find_package(TinyOrm 0.37.3 CONFIG REQUIRED)
570+
find_package(TinyOrm 0.38.0 CONFIG REQUIRED)
571571
```
572572

573573
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.

drivers/common/include/orm/drivers/version.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ TINY_SYSTEM_HEADER
1414
https://community.kde.org/Policies/Binary_Compatibility_Issues_With_C++
1515
https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html */
1616
#define TINYDRIVERS_VERSION_MAJOR 0
17-
#define TINYDRIVERS_VERSION_MINOR 1
18-
#define TINYDRIVERS_VERSION_BUGFIX 1
17+
#define TINYDRIVERS_VERSION_MINOR 2
18+
#define TINYDRIVERS_VERSION_BUGFIX 0
1919
#define TINYDRIVERS_VERSION_BUILD 0
2020
// Should be empty for stable releases, and use the hyphen before to be compatible with SemVer!
2121
#define TINYDRIVERS_VERSION_STATUS ""

drivers/mysql/include/orm/drivers/mysql/version.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ TINY_SYSTEM_HEADER
1414
https://community.kde.org/Policies/Binary_Compatibility_Issues_With_C++
1515
https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html */
1616
#define TINYMYSQL_VERSION_MAJOR 0
17-
#define TINYMYSQL_VERSION_MINOR 1
18-
#define TINYMYSQL_VERSION_BUGFIX 1
17+
#define TINYMYSQL_VERSION_MINOR 2
18+
#define TINYMYSQL_VERSION_BUGFIX 0
1919
#define TINYMYSQL_VERSION_BUILD 0
2020
// Should be empty for stable releases, and use the hyphen before to be compatible with SemVer!
2121
#define TINYMYSQL_VERSION_STATUS ""

include/orm/version.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ TINY_SYSTEM_HEADER
1414
https://community.kde.org/Policies/Binary_Compatibility_Issues_With_C++
1515
https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html */
1616
#define TINYORM_VERSION_MAJOR 0
17-
#define TINYORM_VERSION_MINOR 37
18-
#define TINYORM_VERSION_BUGFIX 3
17+
#define TINYORM_VERSION_MINOR 38
18+
#define TINYORM_VERSION_BUGFIX 0
1919
#define TINYORM_VERSION_BUILD 0
2020
// Should be empty for stable releases, and use the hyphen before to be compatible with SemVer!
2121
#define TINYORM_VERSION_STATUS ""

0 commit comments

Comments
 (0)