diff --git a/CHANGELOG.md b/CHANGELOG.md index 259ed9d..a8d0219 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +## [v0.4.0] - 2024-01-10 + ### Changed - Updated to `embedded-hal` `1.0.0` release ([API changes](https://github.com/rust-embedded/embedded-hal/blob/master/embedded-hal/CHANGELOG.md#v100---2023-12-28)) - Updated to `embedded-hal-nb` `1.0.0` release ([API changes](https://github.com/rust-embedded/embedded-hal/blob/master/embedded-hal-nb/CHANGELOG.md#v100---2023-12-28)) @@ -150,7 +152,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/). Initial release -[Unreleased]: https://github.com/rust-embedded/linux-embedded-hal/compare/v0.4.0-alpha.4...HEAD +[Unreleased]: https://github.com/rust-embedded/linux-embedded-hal/compare/v0.4.0...HEAD +[v0.4.0]: https://github.com/rust-embedded/linux-embedded-hal/compare/v0.4.0-alpha.4...v0.4.0 [v0.4.0-alpha.4]: https://github.com/rust-embedded/linux-embedded-hal/compare/v0.4.0-alpha.3...v0.4.0-alpha.4 [v0.4.0-alpha.3]: https://github.com/rust-embedded/linux-embedded-hal/compare/v0.4.0-alpha.2...v0.4.0-alpha.3 [v0.4.0-alpha.2]: https://github.com/rust-embedded/linux-embedded-hal/compare/v0.4.0-alpha.1...v0.4.0-alpha.2 diff --git a/Cargo.toml b/Cargo.toml index 3c28665..ea35bed 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ keywords = ["Linux", "hal"] license = "MIT OR Apache-2.0" name = "linux-embedded-hal" repository = "https://github.com/rust-embedded/linux-embedded-hal" -version = "0.4.0-alpha.4" +version = "0.4.0" edition = "2018" [features] diff --git a/LICENSE-MIT b/LICENSE-MIT index 432fbea..bc8e989 100644 --- a/LICENSE-MIT +++ b/LICENSE-MIT @@ -1,4 +1,5 @@ Copyright (c) 2018 Jorge Aparicio +Copyright (c) 2019-2024 The Rust embedded linux team and contributors. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated diff --git a/README.md b/README.md index 03d5d98..eb18827 100644 --- a/README.md +++ b/README.md @@ -13,9 +13,6 @@ This project is developed and maintained by the [Embedded Linux team][team]. ## [Documentation](https://docs.rs/linux-embedded-hal) -Note that current `v0.4.0-alpha.X` releases track the unstable ['embedded-hal'] `v1.0.0-alpha.Y`. -For bugfixes or backports please open PRs against the `v0.3.x` branch. - ## GPIO character device Since Linux kernel v4.4 the use of sysfs GPIO was deprecated and replaced by the character device GPIO. @@ -25,7 +22,7 @@ This crate includes feature flag `gpio_cdev` that exposes `CdevPin` as wrapper a To enable it update your Cargo.toml. Please note that in order to prevent `LineHandle` fd from closing you should assign to a variable, see [cdev issue](https://github.com/rust-embedded/gpio-cdev/issues/29) for more details. ``` -linux-embedded-hal = { version = "0.3", features = ["gpio_cdev"] } +linux-embedded-hal = { version = "0.4", features = ["gpio_cdev"] } ``` `SysfsPin` can be still used with feature flag `gpio_sysfs`.