Skip to content

Commit

Permalink
release: bump to 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ahayzen-kdab authored and Be-ing committed Oct 27, 2022
1 parent 94d0b30 commit c8e5c58
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 14 deletions.
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).


## [Unreleased]

## [0.4.0] - 2022-10-28

### Added

- Addition of qt-build-utils crate
Expand All @@ -26,6 +27,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Rewrite of build system, removal of custom cmake file, corrosion is used for CMake and support for building with only Cargo
- Refactor of internal generation code so it's split into stages and removal of pattern matching for types, so arbritary CXX types can be supported
- Mark Qt relocatable types as trivial to CXX
- Use Rust closures to queue tasks onto the Qt thread

### Removed

Expand Down Expand Up @@ -70,7 +72,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Support for QColor, QPointF, QSizeF, QString, QVariant
- Support for nested objects

[Unreleased]: https://github.com/KDAB/cxx-qt/compare/v0.3.0...HEAD
[Unreleased]: https://github.com/KDAB/cxx-qt/compare/v0.4.0...HEAD
[0.3.0]: https://github.com/KDAB/cxx-qt/compare/v0.3.0...v0.4.0
[0.3.0]: https://github.com/KDAB/cxx-qt/compare/v0.2.1...v0.3.0
[0.2.1]: https://github.com/KDAB/cxx-qt/compare/v0.2.0...v0.2.1
[0.2.0]: https://github.com/KDAB/cxx-qt/compare/v0.1.0...v0.2.0
Expand Down
6 changes: 3 additions & 3 deletions crates/cxx-qt-build/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# SPDX-License-Identifier: MIT OR Apache-2.0
[package]
name = "cxx-qt-build"
version = "0.3.0"
version = "0.4.0"
authors = ["Andrew Hayzen <[email protected]>", "Gerhard de Clercq <[email protected]>", "Leon Matthes <[email protected]>"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand All @@ -15,8 +15,8 @@ repository = "https://github.com/KDAB/cxx-qt/"
[dependencies]
cc = "1.0.73"
cxx-gen = "0.7"
cxx-qt-lib-headers = { path = "../cxx-qt-lib-headers", version = "0.3" }
cxx-qt-gen = { path = "../cxx-qt-gen", version = "0.3" }
cxx-qt-lib-headers = { path = "../cxx-qt-lib-headers", version = "0.4" }
cxx-qt-gen = { path = "../cxx-qt-gen", version = "0.4" }
proc-macro2 = "1.0"
quote = "1.0"
convert_case = "0.4"
Expand Down
2 changes: 1 addition & 1 deletion crates/cxx-qt-gen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# SPDX-License-Identifier: MIT OR Apache-2.0
[package]
name = "cxx-qt-gen"
version = "0.3.0"
version = "0.4.0"
authors = ["Andrew Hayzen <[email protected]>", "Gerhard de Clercq <[email protected]>", "Leon Matthes <[email protected]>"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion crates/cxx-qt-lib-headers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# SPDX-License-Identifier: MIT OR Apache-2.0
[package]
name = "cxx-qt-lib-headers"
version = "0.3.0"
version = "0.4.0"
authors = ["Andrew Hayzen <[email protected]>", "Be Wilson <[email protected]>"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand Down
4 changes: 2 additions & 2 deletions crates/cxx-qt-lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# SPDX-License-Identifier: MIT OR Apache-2.0
[package]
name = "cxx-qt-lib"
version = "0.3.0"
version = "0.4.0"
authors = ["Andrew Hayzen <[email protected]>", "Gerhard de Clercq <[email protected]>", "Leon Matthes <[email protected]>"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand All @@ -20,5 +20,5 @@ cxx = "1.0.75"

[build-dependencies]
cxx-build = { version = "1.0", features = [ "parallel" ] }
cxx-qt-lib-headers = { path = "../cxx-qt-lib-headers", version = "0.3" }
cxx-qt-lib-headers = { path = "../cxx-qt-lib-headers", version = "0.4" }
qt-build-utils = { path = "../qt-build-utils" }
4 changes: 2 additions & 2 deletions crates/cxx-qt/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# SPDX-License-Identifier: MIT OR Apache-2.0
[package]
name = "cxx-qt"
version = "0.3.0"
version = "0.4.0"
authors = ["Andrew Hayzen <[email protected]>", "Gerhard de Clercq <[email protected]>", "Leon Matthes <[email protected]>"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand All @@ -20,6 +20,6 @@ categories = ["api-bindings", "gui"]
proc-macro = true

[dependencies]
cxx-qt-gen = { path = "../cxx-qt-gen", version = "0.3" }
cxx-qt-gen = { path = "../cxx-qt-gen", version = "0.4" }
proc-macro2 = "1.0"
syn = { version = "1.0", features = ["extra-traits", "full"] }
2 changes: 1 addition & 1 deletion crates/qt-build-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[package]
name = "qt-build-utils"
version = "0.3.0"
version = "0.4.0"
edition = "2018"
authors = ["Be Wilson <[email protected]>"]
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/cargo_without_cmake/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# ANCHOR: book_cargo_toml_no_cmake
[package]
name = "qml-minimal-no-cmake"
version = "0.3.0"
version = "0.1.0"
authors = [
"Andrew Hayzen <[email protected]>",
"Be Wilson <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cxx-qt",
"version": "0.3",
"version": "0.4",
"description": "Rust bindings for Qt using CXX",
"homepage": "https://kdab.github.io/cxx-qt/book/",
"license": "MIT OR Apache-2.0",
Expand Down

0 comments on commit c8e5c58

Please sign in to comment.