From 9fa1aa59cbdd18dd2515a07a728f197890d9d7c0 Mon Sep 17 00:00:00 2001 From: Daniel Thaler Date: Thu, 5 Dec 2024 22:44:42 +0100 Subject: [PATCH] Version 2.4.0 --- Cargo.lock | 2 +- Changelog.md | 11 +++++++++++ a2lfile/Cargo.toml | 4 ++-- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 75f18f0..ee66db2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,7 +4,7 @@ version = 4 [[package]] name = "a2lfile" -version = "2.3.2" +version = "2.4.0" dependencies = [ "a2lmacros", "tempfile", diff --git a/Changelog.md b/Changelog.md index 1637038..99ac8ad 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,5 +1,16 @@ # Changelog +## Version 2.4.0 + +- OS independen path separator handling in /include (Akhil T Thomas) +- Add the APIs load_fragment2 and load_fragment_file2, deprecating the old versions +- a2l checker improvements + - The RECORD_LAYOUT used by a CHARACTERISTIC must contain FNC_VALUES + - A RECORD_LAYOUT must contain an AXIS_PTS_X/Y/Z for each internal axis + - There should be a specific number of AXIS_DESCR depending on the type of RECORD_LAYOUT + - The lower and upper limits of CHARACTERISTICs, MEASUREMENTs and AXIS_PTS + are checked for plausibility based on the data type of the item and its COMPU_METHOD. + ## Version 2.3.2 - fix incorrect handling of escape codes \r, \n, \t while writing files diff --git a/a2lfile/Cargo.toml b/a2lfile/Cargo.toml index 8e2b38e..f470f30 100644 --- a/a2lfile/Cargo.toml +++ b/a2lfile/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "a2lfile" -version = "2.3.2" +version = "2.4.0" authors = ["Daniel Thaler "] edition = "2021" description = "read, modify and write a2l files" @@ -14,7 +14,7 @@ repository = "https://github.com/DanielT/a2lfile" version = "2.2.0" [dependencies] -thiserror = "1.0.50" +thiserror = "2.0" [dev-dependencies] tempfile = "3.8"