# Changelog

## v0.2.0 (2026-05-13)

### Added

- Documented the detection policy and its security trade-offs in the README, with links to the upstream `chardetng` docs.
- Added a test case for windows-1252 input.

### Changed

- Upgraded `chardetng` to 1.0.0 while preserving the 0.1.x detection behavior, so ISO-2022-JP and unlabeled UTF-8 remain detectable out of the box. Internally, both `Iso2022JpDetection` and `Utf8Detection` are passed as `Allow`.
- Upgraded hex packages and crates.

## v0.1.3 (2025-01-27)

### Changed

- Upgraded hex packages and crates.
- Improved the GitHub release artifact handling.

### Fixed

- Fixed incorrect content in `test/assets/utf8.txt`.

## v0.1.2 (2024-11-30)

### Changed

- Upgraded hex packages and crates.

## v0.1.1 (2024-01-01)

### Added

- Added the checksum file for precompiled NIF binaries.

### Changed

- Optimized the native function to return a tuple directly.
- Improved tests.

## v0.1.0 (2023-12-30)

### Added

- Initial release: character encoding detection via the `chardetng` Rust crate, exposed as an Elixir NIF with `rustler_precompiled` support.
