# 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.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.0.0] - 2026-12-05

First release, implementing PCN v1.0.0.

### Added

- `Sashite.Pcn.parse/1` and `parse!/1`, for the JSON serialization: strict
  decoding (size limit, duplicate member names rejected, integer literals
  of at most 20 characters), then validation.
- `Sashite.Pcn.validate/1`, for decoded documents, from JSON or from TOML:
  the structural and semantic rules of §15.1 and §15.2, and FEEN and PMN
  validation. The checks that need a Rule System (§15.3) are left to the
  application.
- `Sashite.Pcn.valid?/1`, for JSON strings and decoded documents.
- `Sashite.Pcn.dump/1`, which writes a document as compact JSON and reads
  it back with `parse/1`, so that its output is always valid PCN.
- `Sashite.Pcn.max_string_length/0` and `max_variation_depth/0`.

[1.0.0]: https://github.com/sashite/pcn.ex/releases/tag/v1.0.0
