From 4006542d4e66ee9494e6bee9becd3db912ac1d3f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 17 Jan 2025 18:09:46 +0100 Subject: [PATCH] chore: release v0.1.0 (#1) * chore: release v0.1.0 * docs: fix java example in import * style: make clippy happy --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Benedikt Schneppe --- CHANGELOG.md | 14 ++++++++++++++ README.md | 4 ++-- tests/test_suite_runner.rs | 1 - 3 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..14e47f6 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,14 @@ +# Changelog + +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). + +## [Unreleased] + +## [0.1.0](https://github.com/BSchneppe/einvoice-rs/releases/tag/v0.1.0) - 2025-01-17 + +### Other + +- Initial Commit diff --git a/README.md b/README.md index 34a514c..f5e59ab 100644 --- a/README.md +++ b/README.md @@ -43,11 +43,11 @@ This will validate that we can deserialize and serialize all tests in the [xrech ## Examples ### Java ```java -import com.schneppe.einvoice.Invoice; +import com.schneppe.einvoice.InvoiceStandard; import com.schneppe.einvoice.EinvoiceKt; String xml = new String(Files.readAllBytes(path)); -Invoice invoice = EinvoiceKt.validateXRechnung(xml); +InvoiceStandard invoiceStandard = EinvoiceKt.validateInvoice(xml); ``` ### Rust diff --git a/tests/test_suite_runner.rs b/tests/test_suite_runner.rs index 8361ab8..cd24faa 100644 --- a/tests/test_suite_runner.rs +++ b/tests/test_suite_runner.rs @@ -48,7 +48,6 @@ mod tests { assert_eq!(normalized_serialized, normalized_original); } - use einvoice::ZugferdProfile::EN16931; use regex::Regex; use xmltree::{Element, ParserConfig};