From 64289b1d79d6d19cd2e241db515381a086bb8407 Mon Sep 17 00:00:00 2001 From: Jonathan Schwender Date: Sat, 11 May 2024 12:34:24 +0200 Subject: [PATCH] Prepare v0.5 release --- CMakeLists.txt | 2 +- README.md | 2 +- RELEASES.md | 10 ++++++++++ doc/book.toml | 2 +- doc/src/introduction.md | 4 ++-- doc/src/quick_start.md | 2 +- doc/src/setup_corrosion.md | 2 +- 7 files changed, 17 insertions(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c7078b8c..8b3d7d3d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,7 +5,7 @@ project(Corrosion # tagged release. Users don't need to care about this, it is mainly to # clearly see in configure logs which version was used, without needing to # rely on `git`, since Corrosion may be installed or otherwise packaged. - VERSION 0.4.10 + VERSION 0.5.0 LANGUAGES NONE HOMEPAGE_URL "https://corrosion-rs.github.io/corrosion/" ) diff --git a/README.md b/README.md index fa14ad4e..4462d958 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ include(FetchContent) FetchContent_Declare( Corrosion GIT_REPOSITORY https://github.com/corrosion-rs/corrosion.git - GIT_TAG v0.4 # Optionally specify a commit hash, version tag or branch here + GIT_TAG v0.5 # Optionally specify a commit hash, version tag or branch here ) FetchContent_MakeAvailable(Corrosion) diff --git a/RELEASES.md b/RELEASES.md index 46f79764..f6387389 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,3 +1,13 @@ +# v0.5.0 (2024-05-11) + +### Breaking Changes + +- Dashes (`-`) in names of imported CMake **library** targets are now replaced with underscores (`_`). + See [issue #501] for details. Users on older Corrosion versions will experience the same + change when using Rust 1.79 or newer. `bin` targets are not affected by this change. + +[issue #501]: https://github.com/corrosion-rs/corrosion/issues/501 + # v0.4.10 (2024-05-11) ### New features diff --git a/doc/book.toml b/doc/book.toml index f05605b9..bb294c05 100644 --- a/doc/book.toml +++ b/doc/book.toml @@ -2,4 +2,4 @@ language = "en" multilingual = false src = "src" -title = "Corrosion v0.4 documentation" +title = "Corrosion v0.5 documentation" diff --git a/doc/src/introduction.md b/doc/src/introduction.md index 618dea36..e44401d6 100644 --- a/doc/src/introduction.md +++ b/doc/src/introduction.md @@ -10,10 +10,10 @@ For rust executables and dynamic libraries corrosion provides a `corrosion_link_ helper function to conveniently add the necessary flags to link C/C++ libraries into the rust target. -You are currently viewing the documentation of the stable v0.4 release branch. +You are currently viewing the documentation of the stable v0.5 release branch. [`target_link_libraries()`]: https://cmake.org/cmake/help/latest/command/target_link_libraries.html ## Requirements -Corrosion v0.4 requires at least CMake 3.15 and at least Rust 1.46 or newer. \ No newline at end of file +Corrosion v0.5 requires at least CMake 3.15 and at least Rust 1.46 or newer. \ No newline at end of file diff --git a/doc/src/quick_start.md b/doc/src/quick_start.md index aa486b05..3e5b8392 100644 --- a/doc/src/quick_start.md +++ b/doc/src/quick_start.md @@ -16,7 +16,7 @@ include(FetchContent) FetchContent_Declare( Corrosion GIT_REPOSITORY https://github.com/corrosion-rs/corrosion.git - GIT_TAG v0.4 # Optionally specify a commit hash, version tag or branch here + GIT_TAG v0.5 # Optionally specify a commit hash, version tag or branch here ) # Set any global configuration variables such as `Rust_TOOLCHAIN` before this line! FetchContent_MakeAvailable(Corrosion) diff --git a/doc/src/setup_corrosion.md b/doc/src/setup_corrosion.md index f2fac9d4..509be054 100644 --- a/doc/src/setup_corrosion.md +++ b/doc/src/setup_corrosion.md @@ -20,7 +20,7 @@ include(FetchContent) FetchContent_Declare( Corrosion GIT_REPOSITORY https://github.com/corrosion-rs/corrosion.git - GIT_TAG v0.4 # Optionally specify a commit hash, version tag or branch here + GIT_TAG v0.5 # Optionally specify a commit hash, version tag or branch here ) # Set any global configuration variables such as `Rust_TOOLCHAIN` before this line! FetchContent_MakeAvailable(Corrosion)