diff --git a/CHANGELOG.md b/CHANGELOG.md index d5ce45b..f6d89cf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,9 +3,21 @@ 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). -### [v0.3](https://github.com/fpagliughi/rust-industrial-io/compare/v0.2..v0.3) - 2021-05-26 +### [v0.4.0](https://github.com/fpagliughi/rust-industrial-io/compare/v0.3..v0.4.0) - 20222-01-28 + +- [#12](https://github.com/fpagliughi/rust-industrial-io/pull/12) Context construction now takes a `Backend` enumeration type. +- The `InnerContext` is now public and can be cloned and sent to another thread to create a cloned context in the other thread. +- [#15](https://github.com/fpagliughi/rust-industrial-io/issues/15) Generic `attr_read()` and `attr_write()` functions for devices, channels, and buffers. +- [#17](https://github.com/fpagliughi/rust-industrial-io/pull/17) macOS support (for network clients) +- Buffer attribute read/write functions and iterators moved into the `Buffer` struct. +- `Buffer` struct now contains a clone of the `Device` from which it was created. +- `Device` and `Channel` now support `Clone` trait. +- Updates to the examples for more/different hardware. +- New `Version` struct which is returned by the library and `Context` version query functions. +### [v0.3](https://github.com/fpagliughi/rust-industrial-io/compare/v0.2..v0.3) - 2021-05-26 + - Support for _libiio_ v0.21 - Updated error handling: - Support for `std::error` diff --git a/Cargo.toml b/Cargo.toml index e122ebd..af27f38 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "industrial-io" -version = "0.4.0-pre" +version = "0.4.0" edition = "2018" authors = ["Frank Pagliughi "] repository = "https://github.com/fpagliughi/rust-industrial-io" diff --git a/README.md b/README.md index ad424f4..01f186f 100644 --- a/README.md +++ b/README.md @@ -43,29 +43,18 @@ To keep up with the latest announcements for this project, follow: **Twitter:** [@fmpagliughi](https://twitter.com/fmpagliughi) -### Unreleased Features in This Branch +### New in Version 0.4.0 -- [#12](https://github.com/fpagliughi/rust-industrial-io/pull/12) Context construction now takes a `Backend` enumeration type. (Thanks @Funky185540) +- [#12](https://github.com/fpagliughi/rust-industrial-io/pull/12) Context construction now takes a `Backend` enumeration type. - The `InnerContext` is now public and can be cloned and sent to another thread to create a cloned context in the other thread. - [#15](https://github.com/fpagliughi/rust-industrial-io/issues/15) Generic `attr_read()` and `attr_write()` functions for devices, channels, and buffers. +- [#17](https://github.com/fpagliughi/rust-industrial-io/pull/17) macOS support (for network clients) - Buffer attribute read/write functions and iterators moved into the `Buffer` struct. - `Buffer` struct now contains a clone of the `Device` from which it was created. - `Device` and `Channel` now support `Clone` trait. - Updates to the examples for more/different hardware. - New `Version` struct which is returned by the library and `Context` version query functions. -### New in v0.3 - -- Support for _libiio_ v0.21 -- Updated error handling: - - Support for `std::error` - - Implementation changed to use `thiserror` (from *error_chain*) - - Specific types defined for common errors intead of just string descriptions (`WrongDataType`, `BadReturnSize`, `InvalidIndex,` etc) -- New device capabilities: - - _remove_trigger()_ - - _is_buffer_capable()_ -- New utility app: _riio_stop_all_ - ## The Basics The C _libiio_ library provides a user-space interface to the Linux Industrial I/O subsystem for interfacing to (possibly high-speed) analog hardware, such as A/D's, D/A's, accelerometers, gyroscopes, etc. This crate provides a fairly thin, safe, wrapper around the C library. diff --git a/libiio-sys/Cargo.toml b/libiio-sys/Cargo.toml index ee7e6cb..6d84606 100644 --- a/libiio-sys/Cargo.toml +++ b/libiio-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libiio-sys" -version = "0.3.0" +version = "0.3.1" edition = "2018" authors = ["Frank Pagliughi "] repository = "https://github.com/fpagliughi/rust-industrial-io"