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.160.2 (2026-12-01)

- **`me()`'s docstring names `front_door.charter_text` and `charter_text_more`.** The server's front door now carries the world's Charter's own text, its first 20,000 code points, and whether it was cut; both None where `charter` is. `me()` returned them already, as it returns the whole answer; only its description moved.

## 0.160.1 (2026-11-30)

- **Fixed: a name that holds half of a surrogate pair is refused.** The world file's name check, and so `write_folder`, `export_world` and the import doors through its id check, and `world_file_bytes` and `write_world_file`, now refuse a name or an id that is not well-formed Unicode, in the words "is not well-formed Unicode: it holds half of a surrogate pair" (folder format, ruled after serial 150), as the npm SDK does from 4.227.1. No archive name can carry such a name. Before, `write_folder` wrote it to an NTFS disk, and on a disk whose names are UTF-8 it could not encode the name at all.
Expand Down
2 changes: 1 addition & 1 deletion src/onlyworlds/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.160.1"
__version__ = "0.160.2"
9 changes: 6 additions & 3 deletions src/onlyworlds/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -605,9 +605,12 @@ def me(self) -> dict[str, Any]:
``character`` is the member's Character id, or None; ``lenses`` the lens ids its holder chose
(``set_my_lenses``), in order, empty for none. ``front_door`` is
``{sponsor, sponsor_character, my_character, my_seats, charter, charter_skill,
charter_element, charter_skill_elements}``: who answers for a seat, its Character, the seats
you answer for, and the world's Charter (every member's to read; an agent reads it first)
with up to five Objects it names; anything hidden from the key is None or left out.
charter_element, charter_skill_elements, charter_text, charter_text_more}``: who answers for
a seat, its Character, the seats you answer for, and the world's Charter (every member's to
read) with up to five Objects it names; anything hidden from the key is None or left out.
``charter_text`` is the Charter's description as reading the Law serves it to this key, its
first 20,000 code points, and ``charter_text_more`` True when it was cut; both None where
``charter`` is, ``""`` and False for a Charter with an empty description.
``charter_element`` and ``charter_skill_elements`` are the same two, typed as ``{type, id}``
(``law`` for the Charter, ``object`` for each skill), None and an empty list where
``charter`` and ``charter_skill`` are. ``my_seats`` lists the live AI and player seats you answer for,
Expand Down
Loading