-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
504eff6
commit d158b1a
Showing
1 changed file
with
178 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,182 @@ | ||
# Changelog | ||
# zbus-lockstep Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
## [unreleased] | ||
|
||
## [zbus-lockstep-v0.4.1] - 2023-03-05 | ||
|
||
### π Documentation | ||
|
||
- π Update Readme to `zbus-xml` instead of `zbus` | ||
|
||
### β Testing and validation | ||
|
||
- β [lockstep] Remove unnecessary references. | ||
- β [macros] validate generated test now decorated with `#[cfg(test)]` | ||
|
||
## [zbus-lockstep-v0.4.0] - 2024-02-19 | ||
|
||
### βοΈ Miscellaneous Tasks | ||
|
||
- β Swap zbus for zbus_xml | ||
- β Remove `signatures_are_eq`, `assert_signatures_eq!` and | ||
`assert_signatures_ne!`. | ||
|
||
- β Remove tests for `signatures_are_eq`, `assert_signatures_eq!` and | ||
`assert_signatures_ne!`. | ||
|
||
## [zbus-lockstep-v0.3.1] - 2023-10-02 | ||
|
||
### βͺοΈ Revert / Remove | ||
|
||
- π₯ Cargo.lock | ||
- β Do not add changed Cargo.lock | ||
|
||
## [zbus-lockstep-v0.3.0] - 2023-09-28 | ||
|
||
### β¨ Features | ||
|
||
- β¨ `property_type_signature` macro accepts identifying args. | ||
|
||
```rust | ||
property_type_signature!(member: "Frequency", interface: "org.noise.Kazoo") | ||
``` | ||
|
||
- β¨ `signal_body_type_signature` macro accepts identifying args. | ||
|
||
```rust | ||
signal_body_type_signature!(member: "Telegram", interface: "org.mail.Man") | ||
``` | ||
|
||
- β¨ `method_args_signature` macro accepts identifying args. | ||
|
||
```rust | ||
method_args_signature!(member: "Frequency", interface: "org.noise.Kazoo") | ||
``` | ||
|
||
- β¨ Add `argument` parameter to `method_return_signature` macro. | ||
- β¨ Add `argument` parameter to `method_args_signature` macro. | ||
- β¨ Add `argument` parameter to `signal_body_type_signature` macro. | ||
|
||
### π Fixes | ||
|
||
- π Cannot disambiguate between multiple 2-arg macro invocations | ||
|
||
Remove second 2-arg macro invocations. | ||
|
||
### π Documentation | ||
|
||
- π `property_type_signature` macro doc examples. | ||
- π `signal_body_type_signature` macro doc examples. | ||
- π `method_return_signature` macro doc examples. | ||
- π Update docs to accompany added `argument` feature | ||
New examples to show how the macros may be called. | ||
|
||
### β Testing and validation | ||
|
||
- β Add `property_type_signature` macro identifier unit tests. | ||
- β Add `signal_body_signature` macro identifier unit tests. | ||
- β Add `method_args_signature` macro identifier unit tests. | ||
- β Add `method_return_signature` macro identifier unit tests. | ||
- β Add six unit tests to cover 'happy path' in macros. | ||
|
||
## [zbus-lockstep-v0.2.3] - 2023-09-24 | ||
|
||
### π Fixes | ||
|
||
- π In macros with 'interface' arms, pass `String` instead of `&str` | ||
- π 'get_property_type' expects three args, not four. | ||
|
||
### β Testing and validation | ||
|
||
- β Add tests for macros with 'interface' arms. | ||
|
||
## [zbus-lockstep-v0.2.2] - 2023-09-23 | ||
|
||
### π Fixes | ||
|
||
- π©Ή Fully qualify `signatures_are_eq` in macros. | ||
|
||
## [zbus-lockstep-v0.2.1] - 2023-09-22 | ||
|
||
### π Fixes | ||
|
||
- π©Ή Fully qualify `find_definition_in_dbus_xml!` in macros. | ||
|
||
### β Testing and validation | ||
|
||
- β Ignore examples from test | ||
- β Adds tests for XML path retrieval macros: | ||
|
||
- `method_return_signature` | ||
- `method_args_signature` | ||
- `signal_body_type_signature` | ||
- `property_type_signature` | ||
|
||
## [zbus-lockstep-v0.2.0] - 2023-08-31 | ||
|
||
### β¨ Features | ||
|
||
β¨ Add signature retrieval macros for each msg-type | ||
|
||
- `resolve_xml_path` function | ||
- `find_definition_in_dbus_xml` Is used in macros: | ||
- `method_return_signature` | ||
- `method_args_signature` | ||
- `property_type_signature` | ||
- `signal_body_type_signature` | ||
|
||
### π Fixes | ||
|
||
- π Fix falsely identified previously found signal. | ||
- Remove senseless checks. | ||
- π [macros] Do not treat subdirectories as files. | ||
- π Skip subdirectories in the xml-definitions path. | ||
- π [macros] Cannot read contents from `Cursor<str>`, read from a `File`. | ||
- π Canonicalize env and argument provided paths alike. | ||
- π Fix: call the generated test after it is generated. | ||
- π©Ή Replace hard coded directory paths with consts | ||
|
||
### π Documentation | ||
|
||
- π [macro] Improve `README.md` | ||
- π [macros] Improve `validate` macro documentation | ||
- π [macros] Document order of attribute macros | ||
- - Remove mention of irrelevant `Cache.xml` | ||
- π Synchronize the three README's | ||
|
||
### β»οΈ Refactor / Move files | ||
|
||
- β»οΈ [macros] Remove function that resolves xml | ||
- π Remove module `marshall` from public API | ||
|
||
### β Testing and validation | ||
|
||
- β [macros] CI test for path as argument | ||
- β [macros] Ads tests for `RemoveNode` with an xml-path as env-variable or as | ||
argument. | ||
- β Failing test in GH | ||
|
||
### βοΈ Miscellaneous Tasks | ||
|
||
- Remove dependency on self in dev-dependencies | ||
|
||
## [0.1.0] - 2023-08-08 | ||
|
||
### π Documentation | ||
|
||
- π Add CI badge to README.md | ||
|
||
### β Testing and validation | ||
|
||
- β Add example to `get_method_args_type` | ||
- β version-numbers tests | ||
|
||
### π Begin project | ||
|
||
- π Initial commit | ||
|
||
First commit for helper crate `zbus-lockstep` | ||
|
||
<!-- generated by git-cliff --> |