Skip to content

Commit

Permalink
Version 0.14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielT committed Aug 16, 2024
1 parent bbcef5c commit b4fd61b
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 5 deletions.
22 changes: 22 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# Changelog

## Version 0.14

Released 2024-08-16

### API

- The usability of `Element::set_character_data` has been improved: it is no longer required to manually wrap the value in a CharacterData object.
- `CharacterData::decode_interger` has been renamed to `CharacterData::parse_integer`
- `CharacterData::Double` renamed to `CharacterData::Float`
- added `CharacterData::parse_float`
- The errors `ItemNameRequired`, `IncorrectContentType`, `InvalidSubElement`, and `DuplicateItemName` contain additional information
- implement PartialOrd / Ord for elements

### Enhancements

- sorting of elements is now more complete, and takes the CharacterData and sub-elements into account
- criterion has been added for benchmarking

### Fixes

- Add a fast path that dramatically speeds up a common case in element insertion

## Version 0.13

Released 2024-05-19.
Expand Down
2 changes: 1 addition & 1 deletion autosar-data-specification/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "autosar-data-specification"
version = "0.13.0"
version = "0.14.0"
authors = ["Daniel Thaler <[email protected]>"]
edition = "2021"
description = "specification of the Autosar arxml file format as rust data structures"
Expand Down
8 changes: 4 additions & 4 deletions autosar-data/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "autosar-data"
version = "0.13.0"
version = "0.14.0"
authors = ["Daniel Thaler <[email protected]>"]
edition = "2021"
description = "read, write and modify Autosar arxml data"
Expand All @@ -10,17 +10,17 @@ categories = ["parser-implementations"]
repository = "https://github.com/DanielT/autosar-data"

[dependencies]
autosar-data-specification = "0.13"
autosar-data-specification = "0.14"
thiserror = "~1.0"
smallvec = { version = "~1.11.0", features = ["union", "const_generics"]}
smallvec = { version = "~1.13.0", features = ["union", "const_generics"]}
parking_lot = "0.12"
indexmap = "2.2.0"
fxhash = "0.2.1"
num-traits = "0.2.18"

[dev-dependencies]
tempfile = "3.8"
criterion = { version = "0.3", features = ["html_reports"]}
criterion = { version = "0.5", features = ["html_reports"]}

[[example]]
name = "demo"
Expand Down

0 comments on commit b4fd61b

Please sign in to comment.