Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ The package version runs on its own semver; the schema it is generated from is `

## Unreleased

## 0.156.0 (2026-11-27)

- **A world file refused for a `world.json` it cannot read says what is wrong with it**: `WorldFileError.world_fault` is `too_deep` (nested past 200 levels), `not_json` or `number_out_of_range` (a number too large to read), beside the reason `not_a_world` the folder format gives it, so a tool reads the field, never the message. It is None on every other refusal, a missing `world.json` or one with no id included.
- **A calendar has size bounds, and a date past the exact range is its plain number** (the calendar profile, schema-dist serial 149; the schema pin is `v0.34.1-dist.149`, canonical 00.34.01 unchanged). `read_calendar_value` now refuses a value with more than 256 eras, 64 months, a week longer than 64 steps or with more than 64 names, 16 entries in `intercalary`, an `except` longer than 8 (version 2), or a template or name longer than 256 characters (code points, untrimmed), and one whose longest year (the months' lengths plus every `intercalary` entry) is past 2**53 - 1. A date whose step, year index plus a leap rule's `offset`, or year in its era is outside -(2**53 - 1) to 2**53 - 1 is worded as its plain number by `format_step`, `format_steps`, `format_year_label` and `format_mid_label`, and `breakdown_step` keeps its `step` with every other part None (`abs_year` and `year` are now `int | None`); before, such a date printed a rounded label or, past 2**53 on an `offset`, could raise. A `bundles` that is not an object still reads as no bundles, and `bundles.months` given as `false`, `0` or `""` as no months; `except` and `offset` on a version-1 value are unknown keys, never measured. On the fixture's 95 calendars, only the eight dates past the exact range word differently from 0.155.0, and all 191 cases (402 steps) pass.
- **The Kanka door's docstring no longer says the folder lint flags hidden elements.** The lint has known the `hidden` key since folder spec §4.8 and checks only that it is true or false: the third real Kanka export in the tests converts to 6 hidden elements and lints with 0 problems.

## 0.155.0 (2026-11-26)
Expand Down
6 changes: 3 additions & 3 deletions codegen/schema-dist/MANIFEST.json
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@
"presentation.json": "af84662c29628b6e90b923c9541f68f5924563adce397cebbadfdbf0f06e5f18",
"profiles/address.fixture.json": "4846f5dda7607efd9651bebb2f0b89b0df264b9d74496b01a35cca4c52d83895",
"profiles/address.md": "e5485cba07a1faa15e3e9e29c39df1751bbebf3f3d2c323b4106c29e3b98d200",
"profiles/calendar.fixture.json": "1ae922bc7af243453cac62053a31b2d10180e0ebb4843639dde9479f16e87206",
"profiles/calendar.md": "d63f1ba6036f9961377e56bda8ce16bf7bf60b7ec510f9042d397f97d3bbcfd8",
"profiles/calendar.fixture.json": "97c22793bdcb66d71b3cdb068941d22621ffc9939518e148356533092ed207d9",
"profiles/calendar.md": "5fc6cc89123a32a24bc67e02a4085bb21711c0c880253fea35422af7965d45a3",
"profiles/charter.fixture.json": "ea57091a988a4dd083d7d4cfc5e7985c6aa00f67fdce1b661c0d5023a15cbf35",
"profiles/charter.md": "b0d27c04cd5dfaf421b2a6e54d53c1fca8ad9be72aa16516bbd3b5600ae61daa",
"profiles/checks.fixture.json": "43586fddd94ebe9678bf46e6d744768a094f856b668c5917fe9e0dda46599251",
Expand Down Expand Up @@ -234,7 +234,7 @@
"schema/zone.yaml": "cca04ee498fb813fa18b96f1ac99816e7f1a8ae1fb9e21c48b37620dbb674856",
"schema.json": "581dc7b5e890acc06b1c89b0d7bdcc2f20f54f52d5a3b4af8c5a184e1e6fd48c",
"SECURITY.md": "939ee364b06f0b749bdd4cbe66b2fe49322c95abe732650ec4ef062a0c03820a",
"VERSION": "8fc2b957179cd0ccdc2cda9f3f51187091764c1a8d556d28083a0ac987923603",
"VERSION": "d2108320c93281b51981fb5d76e8db69b4f2051a135ad33898d1b0ea8fa763e3",
"views.fixture.json": "f9a2713b26639d1cb2c792b9f28f95c57e576f8e6c123b5ad3eac2a2507dfcf8",
"views.json": "f4d06ee16bd6c66fc28cf27146b8d199c85164e5deecabafc23af53408746fe0",
"walk/lint_folder.py": "ddd7d28e7fbc5e8fb4494c2b2eda23daefc1b3708840a93b6cdffe12a3af88bd",
Expand Down
4 changes: 2 additions & 2 deletions codegen/schema-dist/VERSION
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
canonical: 00.34.01
serial: 148
published: 2026-11-26
serial: 149
published: 2026-11-27
Loading
Loading