Skip to content

@onlyworlds/sdk 4.225.0

Choose a tag to compare

@github-actions github-actions released this 28 Nov 19:46
· 23 commits to main since this release

Changed

  • The folder writer's collision rule compares names by the folder format's fold. worldFolderFiles and convertKanka give two elements of one type whose short file names (slug and id tail) land on one name the id-ascending rule of folder spec §3.2: the lowest id keeps the short name, every other takes its full id. "One name" was JavaScript's lowercase and is now the fold the archive reader compares names by (NFC, then simple case folding, Unicode 15.1), the same fold 4.224.1's refusal uses. So a few ids beyond ASCII now get the full-id name where before they were refused or lowercased apart: two elements named Bob with ids a1234567ς and b1234567σ kept the short names bob--1234567ς.json and bob--1234567σ.json, which the refusal joined, and are now written as bob--1234567ς.json and bob--b1234567σ.json. No ASCII id and no UUID changes its file name. The Python package's write_folder names them alike (test/fixtures/case-collide.cases.json).