Skip to content

Commit 7814a4e

Browse files
committed
release: bump version to 0.7.0
1 parent fe12cfe commit 7814a4e

File tree

7 files changed

+24
-22
lines changed

7 files changed

+24
-22
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ All notable changes to this project will be documented in this file.
1515
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
1616
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
1717

18-
## [Unreleased](https://github.com/KDAB/cxx-qt/compare/v0.6.1...HEAD)
18+
## [Unreleased](https://github.com/KDAB/cxx-qt/compare/v0.7.0...HEAD)
19+
20+
## [0.7.0](https://github.com/KDAB/cxx-qt/compare/v0.6.1...v0.7.0) - 2024-10-30
1921

2022
### Added
2123

Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,18 @@ resolver = "2"
2727
edition = "2021"
2828
license = "MIT OR Apache-2.0"
2929
repository = "https://github.com/KDAB/cxx-qt/"
30-
version = "0.6.1"
30+
version = "0.7.0"
3131

3232
# Note a version needs to be specified on dependencies of packages
3333
# we publish, otherwise crates.io complains as it doesn't know the version.
3434
[workspace.dependencies]
3535
cxx-qt = { path = "crates/cxx-qt" }
36-
cxx-qt-macro = { path = "crates/cxx-qt-macro", version = "0.6.1" }
37-
cxx-qt-build = { path = "crates/cxx-qt-build", version = "0.6.1" }
38-
cxx-qt-gen = { path = "crates/cxx-qt-gen", version = "0.6.1" }
39-
cxx-qt-lib = { path = "crates/cxx-qt-lib", version = "0.6.1" }
40-
qt-build-utils = { path = "crates/qt-build-utils", version = "0.6.1" }
41-
cxx-qt-lib-extras = { path = "crates/cxx-qt-lib-extras", version = "0.6.1" }
36+
cxx-qt-macro = { path = "crates/cxx-qt-macro", version = "0.7.0" }
37+
cxx-qt-build = { path = "crates/cxx-qt-build", version = "0.7.0" }
38+
cxx-qt-gen = { path = "crates/cxx-qt-gen", version = "0.7.0" }
39+
cxx-qt-lib = { path = "crates/cxx-qt-lib", version = "0.7.0" }
40+
qt-build-utils = { path = "crates/qt-build-utils", version = "0.7.0" }
41+
cxx-qt-lib-extras = { path = "crates/cxx-qt-lib-extras", version = "0.7.0" }
4242

4343
cc = { version = "1.0.100", features = ["parallel"] }
4444
# Ensure that the example comments are kept in sync

book/src/getting-started/4-cargo-executable.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ We'll need `cxx`, `cxx-qt`, `cxx-qt-lib` and `cxx-qt-build`:
3030
{{#include ../../../examples/qml_minimal/rust/Cargo.toml:book_package_name}}
3131
{{#include ../../../examples/cargo_without_cmake/Cargo.toml:book_cargo_toml_no_cmake}}
3232
cxx = "1.0.95"
33-
cxx-qt = "0.6"
34-
cxx-qt-lib = { version="0.6", features = ["qt_full"] }
33+
cxx-qt = "0.7"
34+
cxx-qt-lib = { version="0.7", features = ["qt_full"] }
3535
3636
[build-dependencies]
3737
# The link_qt_object_files feature is required for statically linking Qt 6.
38-
cxx-qt-build = { version = "0.6", features = [ "link_qt_object_files" ] }
38+
cxx-qt-build = { version = "0.7", features = [ "link_qt_object_files" ] }
3939
```
4040

4141
Now we'll add a `build.rs` script next to the `Cargo.toml` file.

book/src/getting-started/5-cmake-integration.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,12 @@ In the end, your `Cargo.toml` should look similar to this.
7777
7878
[dependencies]
7979
cxx = "1.0.95"
80-
cxx-qt = "0.6"
81-
cxx-qt-lib = { version="0.6", features = ["qt_full"] }
80+
cxx-qt = "0.7"
81+
cxx-qt-lib = { version="0.7", features = ["qt_full"] }
8282
8383
[build-dependencies]
8484
# The link_qt_object_files feature is required for statically linking Qt 6.
85-
cxx-qt-build = { version = "0.6", features = [ "link_qt_object_files" ] }
85+
cxx-qt-build = { version = "0.7", features = [ "link_qt_object_files" ] }
8686
```
8787

8888
We'll then also need to add a script named `build.rs` next to the `Cargo.toml`:
@@ -134,7 +134,7 @@ Download CXX-Qts CMake code with FetchContent:
134134

135135
```cmake,ignore
136136
{{#include ../../../examples/qml_minimal/CMakeLists.txt:book_cmake_find_cxx_qt_start}}
137-
GIT_TAG v0.6.0
137+
GIT_TAG v0.7.0
138138
{{#include ../../../examples/qml_minimal/CMakeLists.txt:book_cmake_find_cxx_qt_end}}
139139
```
140140

examples/cargo_without_cmake/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ license = "MIT OR Apache-2.0"
2222

2323
# Use `cxx = "1.0.95"` here instead!
2424
cxx.workspace = true
25-
# Use `cxx-qt = "0.6"` here instead!
25+
# Use `cxx-qt = "0.7"` here instead!
2626
cxx-qt.workspace = true
27-
# Use `cxx-qt-lib = "0.6"` here instead!
27+
# Use `cxx-qt-lib = "0.7"` here instead!
2828
cxx-qt-lib = { workspace = true, features = ["full"] }
2929

3030
[build-dependencies]
31-
# Use `cxx-qt-build = "0.6"` here instead!
31+
# Use `cxx-qt-build = "0.7"` here instead!
3232
# The link_qt_object_files feature is required for statically linking Qt 6.
3333
cxx-qt-build = { workspace = true, features = [ "link_qt_object_files" ] }

examples/qml_minimal/rust/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,17 @@ crate-type = ["staticlib"]
2828
[dependencies]
2929
# Use `cxx = "1.0.95"` here instead!
3030
cxx.workspace = true
31-
# Use `cxx-qt = "0.6"` here instead!
31+
# Use `cxx-qt = "0.7"` here instead!
3232
cxx-qt.workspace = true
33-
# Use `cxx-qt-lib = "0.6"` here instead!
33+
# Use `cxx-qt-lib = "0.7"` here instead!
3434
cxx-qt-lib = { workspace = true, features = ["qt_full"] }
3535
# ANCHOR_END: book_dependencies
3636

3737
# cxx-qt-build generates C++ code from the `#[cxx_qt::bridge]` module
3838
# and compiles it together with the Rust static library
3939
# ANCHOR: book_build_dependencies
4040
[build-dependencies]
41-
# Use `cxx-qt-build = "0.6"` here instead!
41+
# Use `cxx-qt-build = "0.7"` here instead!
4242
cxx-qt-build.workspace = true
4343

4444
[features]

scripts/release_crates.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function release_crate() {
4747
question_yesno "Have you run cargo login before and setup credentials"
4848

4949
# cxx-qt-cmake (no dependencies)
50-
question_yesno "Have you created a new tag in the cxx-qt-cmake repo"
50+
question_yesno "Have you bumped the project version (in CMakeLists.txt) and created a new tag in the cxx-qt-cmake repo"
5151

5252
# 5-cmake-integration.md has a GIT_TAG example pointing to the stable release
5353
question_yesno "Have you updated the GIT_TAG for cxx-qt-cmake in the book"

0 commit comments

Comments
 (0)