# Changelog
## desec_api 0.4.1 (2026-03-30)
### Added
- Document integration testing required environment variables in README
### Changed
- Loosened strict dependency on patch versions
- Updated dependency 'thiserror' from 1.0 to 2
- Updated dependency 'serde' from 1.0.144 to 1
- Updated dependency 'serde_json' from 1.0.85 to 1
- Updated dependency 'reqwest' from 0.11.26 to 0.13
- Updated dependency 'tokio' from 1.36 to 1
- Updated dependency 'log' from 0.4.21 to 0.4
- Updated dependency 'const_format' from 0.2.32 to 0.2
- Updated dependency 'tokio-shared-rt' from 0.1.0 to 0.1
- Updated dependency 'ureq' from 2.9.7 to 3.3
- Updated dependency 'uuid' from 1.8.0 to 1.23
### Fixed
## desec_api 0.4.0 (2024-12-29)
Contributed by @hw0lff
### Added
- Introduce new error variant RateLimitedWithoutRetry that gets returned if the time_to_wait cannot be parsed. Before, rustfmt didn't format the code in the loop anymore because it was too deeply nested.
### Changed
- Move the parsing and retry logic into a new function.
- Use the appropriate RateLimited error variant instead of ApiError.
- Return time_to_wait if retries are disabled.
### Fixed
## desec_api 0.3.4 (2024-11-24)
Contributed by @hw0lff
### Added
- token: Add derive for Clone, PartialEq and Eq traits to Token, TokenPolicy
### Changed
### Fixed
## desec_api 0.3.3 (2024-09-26)
Contributed by @hw0lff
### Added
### Changed
- Refactored payload generation for token and policy create/patch
- cargo fmt
### Fixed
- Fixed typo preventing tokens with write permission
## desec_api 0.3.2 (2024-05-06)
### Added
### Changed
### Fixed
- Lowered the mistakenly published MSRV of 1.77.2 down to 1.63.0 (lowering MSRV should not be a breaking change)
## desec_api 0.3.1 (2024-05-06)
### Added
### Changed
- Comment to create_rrset & patch_rrset to wrap records for TXT rrsets in double quotes
### Fixed
- Creation of rrsets at domain apex failed becaus of the use of @ instead of an empty string for subname
## desec_api 0.3.0 (2024-05-04)
### Added
- A lot of issing API endpoints
- Documentation
### Changed
- The way the internal HTTP client is used
- Centralized error handling
### Fixed
## desec_api 0.2.0 (2024-04-25)
### Added
### Changed
- Replace String with &str in some places
- Overall cleanup
### Fixed
- Make some field in domain struct optional
## desec_api 0.1.0 (2024-04-25)
### Added
- Initial version
### Changed
### Fixed