Skip to content

Commit

Permalink
bump version to TinyORM v0.38.1
Browse files Browse the repository at this point in the history
Not bumped:

 - tom v0.10.0
 - TinyDrivers v0.2.0
 - TinyMySql v0.2.0
 - TinyUtils v0.5.0

Bugfixes

 - cmake revisited all if() conditions πŸ€”
 - cmake removed hard-coded -fuse-ld=lld on MinGW πŸ™ƒ
  • Loading branch information
silverqx committed Aug 22, 2024
1 parent 526a8ab commit d568759
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 18 deletions.
12 changes: 6 additions & 6 deletions NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ Increase/bump the release version:

- bump message format:

bump version to TinyORM v0.38.0 and tom v0.10.0
bump version to TinyORM v0.38.1 and tom v0.10.0

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

- TinyORM:
Expand Down Expand Up @@ -53,7 +53,7 @@ cd ~/Code/c/TinyORM/TinyORM/tools/distributions/gentoo/repos/crystal/dev-db/tiny
- update ownerships if needed
chown xyz:xyz ./{Manifest,tinyorm-0.37.y.ebuild}
- commit to TinyORM project, commit message like:
added/updated tinyorm-0.38.0.ebuild
added/updated tinyorm-0.38.1.ebuild

[skip ci]
- added if the previous ebuild WASN'T removed (so adding a new ebuild version)
Expand Down Expand Up @@ -82,7 +82,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.38.0.tar.gz
https://github.com/silverqx/TinyORM/archive/v0.38.1.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
Expand Down Expand Up @@ -1475,10 +1475,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.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
Found package TinyOrm 0.38.1.0 Debug (requested 0.38.1) 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.38.0.0 package build tree was enabled
Matching build type for the TinyOrm 0.38.1.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

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

[![TinyORM - www.tinyorm.org][docs-badge]][docs]
[![License MIT][license-badge]][license]<br/>
[![TinyORM v0.38.0][version-tinyorm-badge]][docs]
[![TinyORM v0.38.1][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]
Expand Down Expand Up @@ -187,7 +187,7 @@ The TinyOrmPlayground project can be compiled in a single-threaded or multi-thre
[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.38.0-blue
[version-tinyorm-badge]: https://img.shields.io/badge/TinyORM-v0.38.1-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
2 changes: 1 addition & 1 deletion cmake/vcpkg/ports/tinyorm/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
"name": "tinyorm",
"version-semver": "0.38.0",
"version-semver": "0.38.1",
"maintainers": "Silver Zachara <silver.zachara@gmail.com>",
"description": "Modern C++ ORM library for Qt framework",
"homepage": "https://github.com/silverqx/TinyORM",
Expand Down
2 changes: 1 addition & 1 deletion docs/README.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ If you don't want to use full [`ORM`](tinyorm/getting-started.mdx), then you can

##### Current versions

- __TinyORM__ v0.38.0
- __TinyORM__ v0.38.1
- __tom__ v0.10.0
- __TinyDrivers__ v0.2.0
- __TinyMySql__ v0.2.0
8 changes: 4 additions & 4 deletions docs/building/hello-world.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.38.0 CONFIG REQUIRED)\n
find_package(TinyOrm 0.38.1 CONFIG REQUIRED)\n
target_link_libraries(HelloWorld
PRIVATE
Qt\${QT_VERSION_MAJOR}::Core
Expand All @@ -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.38.0 CONFIG REQUIRED)\n
find_package(TinyOrm 0.38.1 CONFIG REQUIRED)\n
target_link_libraries(HelloWorld
PRIVATE
Qt\${QT_VERSION_MAJOR}::Core
Expand Down Expand Up @@ -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.38.0 CONFIG REQUIRED)\n
find_package(TinyOrm 0.38.1 CONFIG REQUIRED)\n
target_link_libraries(HelloWorld
PRIVATE
Qt\${QT_VERSION_MAJOR}::Core
Expand Down Expand Up @@ -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.38.0 CONFIG REQUIRED)\n
find_package(TinyOrm 0.38.1 CONFIG REQUIRED)\n
target_link_libraries(HelloWorld
PRIVATE
Qt\${QT_VERSION_MAJOR}::Core
Expand Down
2 changes: 1 addition & 1 deletion docs/building/migrations.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.38.0 CONFIG REQUIRED)
find_package(TinyOrm 0.38.1 CONFIG REQUIRED)
# Unconditional dependencies
target_link_libraries(${Tom_target}
Expand Down
4 changes: 2 additions & 2 deletions docs/building/tinyorm.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.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.
The `STRICT_MODE` `CMake` configuration option was added in `TinyORM` `v0.38.1`. 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.

Expand Down Expand Up @@ -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.38.0 CONFIG REQUIRED)
find_package(TinyOrm 0.38.1 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.
Expand Down
2 changes: 1 addition & 1 deletion include/orm/version.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ TINY_SYSTEM_HEADER
https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html */
#define TINYORM_VERSION_MAJOR 0
#define TINYORM_VERSION_MINOR 38
#define TINYORM_VERSION_BUGFIX 0
#define TINYORM_VERSION_BUGFIX 1
#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 ""
Expand Down

0 comments on commit d568759

Please sign in to comment.