# 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.3.0](https://github.com/cdevents/sdk-rust/compare/cdevents-sdk-v0.2.1...cdevents-sdk-v0.3.0) - 2026-02-16
### Added
- add support for cdevents spec 0.5
### Other
- *(deps)* update proptest-derive requirement from 0.7 to 0.8 ([#63](https://github.com/cdevents/sdk-rust/pull/63))
- remove deprecated "package.authors" from `Cargo.toml`
## [0.2.1](https://github.com/cdevents/sdk-rust/compare/cdevents-sdk-v0.2.0...cdevents-sdk-v0.2.1) - 2025-12-01
### Fixed
- adapt code to fluent-uri upgrade
### Other
- *(deps)* remove explicit `minor` in dependencies version with `major` > 0
- *(deps)* update fluent-uri requirement from 0.3 to 0.4
- *(deps)* update cloudevents-sdk requirement from 0.8 to 0.9 ([#61](https://github.com/cdevents/sdk-rust/pull/61))
- *(deps)* update proptest-derive requirement from 0.6 to 0.7 ([#58](https://github.com/cdevents/sdk-rust/pull/58))
- *(deps)* update rstest requirement from 0.25 to 0.26
- *(deps)* update proptest-derive requirement from 0.5 to 0.6
## [0.2.0](https://github.com/cdevents/sdk-rust/compare/cdevents-sdk-v0.1.3...cdevents-sdk-v0.2.0) - 2025-04-16
### Added
- [**breaking**] remove support of 0.4.0-draft
- accept to deserialize & serialize custom event (content is defined as JSON)
### Other
- switch to sccache + mise
- list features
- *(deps)* update rstest requirement from 0.24 to 0.25
## [0.1.3](https://github.com/cdevents/sdk-rust/compare/cdevents-sdk-v0.1.2...cdevents-sdk-v0.1.3) - 2025-01-09
### Other
- *(deps)* update cloudevents-sdk requirement from 0.7 to 0.8
## [0.1.2](https://github.com/cdevents/sdk-rust/compare/cdevents-sdk-v0.1.1...cdevents-sdk-v0.1.2) - 2025-01-07
### Other
- *(deps)* update thiserror requirement from 1.0 to 2.0
## [0.1.1](https://github.com/cdevents/sdk-rust/compare/cdevents-sdk-v0.1.0...cdevents-sdk-v0.1.1) - 2024-09-30
### Other
- *(deps)* update fluent-uri requirement from 0.2 to 0.3
- *(deps)* update rstest requirement from 0.22 to 0.23
## [0.1.0](https://github.com/cdevents/sdk-rust/releases/tag/cdevents-sdk-v0.1.0) - 2024-09-01
### Added
- add support for cdevents 0.4 ([#24](https://github.com/cdevents/sdk-rust/pull/24))
- [**breaking**] add support for mulitple version of cdevents' specifications ([#19](https://github.com/cdevents/sdk-rust/pull/19))
- *(testkit)* provide proptest 's arbitraies to generate samples
- string enum are defined as rust Enum
- enforce mutation to only create coherente cdevents (type match subject.content)
- introduce support for cloudevents
- add support for `PartialEq`, `Eq` on `CDEvent`, use wrapper for `Uri` and `UriReference`
- use more precise type for uri & datetime than String
- use the same Subject struct for every event and an enum on Content
### Fixed
- enforce non-empty string for `id` and hardcode mapping between context.type and subject.type
- use the `context.type` (instead of `$id`) to define the module name
### Other
- link README to top README
- *(deps)* update fluent-uri requirement from 0.1 to 0.2 ([#31](https://github.com/cdevents/sdk-rust/pull/31))
- *(deps)* update rstest requirement from 0.18 to 0.21 ([#27](https://github.com/cdevents/sdk-rust/pull/27))
- *(deps)* update boon requirement from 0.5 to 0.6 ([#26](https://github.com/cdevents/sdk-rust/pull/26))
- *(deps)* update proptest-derive requirement from 0.4 to 0.5 ([#29](https://github.com/cdevents/sdk-rust/pull/29))
- change clipy configuration to support workspace and features
- add test to validate against jsonschema: examples (from spec), generated samples
- reformat Cargo.toml
- update typo, remove commented code, move comments,... apply review suggestion
- setup ci & linters
- reformat
- apply some recommendation from clippy
- enable deny_unknown_fields
- *(deps)* remove useless "serde_with"
- replace generation of json object by named types for Subjects content
- rename crates `cdevents` into `cdevents-sdk`