Skip to content

chore: DasherCore v0.2.16 → v0.2.25 + CAPI split build fix - #154

Merged
willwade merged 1 commit into
mainfrom
chore/bump-dashercore-v0.2.25
Sep 18, 2026
Merged

willwade merged 1 commit into
mainfrom
chore/bump-dashercore-v0.2.25

Conversation

@willwade

Copy link
Copy Markdown
Collaborator

Bumps the DasherCore submodule 9 releases (v0.2.16 → v0.2.25). The CAPI was refactored into split files during that range — build.sh/build.bat updated to compile all five CAPI files. Data bundle synced (colours/ split cleanup, 33 locales, updated alphabets/training). 6 new API exports added for future use. All existing wrapper APIs verified present. DCO signed.

@netlify

netlify Bot commented Sep 18, 2026 •

Copy link
Copy Markdown

❌ Deploy Preview for dasherv6demo failed.

Name Link
🔨 Latest commit 5a1297e
🔍 Latest deploy log https://app.netlify.com/projects/dasherv6demo/deploys/6aad1e29254392000845779f

Submodule bump from v0.2.16 to v0.2.25 (9 releases):

What the bump brings to the demo for free:
- Default alphabet heal (#88 — no more dead Default alphabet)
- User-dir training persistence (#84 — learning survives page reloads)
- Retired emergency Default alphabet registration + settings self-heal
- Per-context data/user dirs (multi-context WASM safe)
- Per-context locale (CAPI v3) — 33 locales
- Hardened strings reader (full JSON escape set + surrogate pairs)
- Outlines on by default (v5 look)
- One colours/ set (ended the colors/colours split — v0.2.20)
- Aggregate invalid-UTF-8 warnings in training data

Build changes (the CAPI was refactored into split files):
- build.sh: CAPI.cpp + CAPI_appearance.cpp + CAPI_edit.cpp +
  CAPI_locale.cpp + CAPI_params.cpp all added to the em++ compile
  command (previously only CAPI.cpp was compiled standalone — the
  split functions would have been missing from the WASM binary)
- build.bat: same fix for Windows builds

Data bundle updates:
- Removed stale colours/ → colours/ only (v0.2.20 ended the split)
- Alphabets, training, control, strings all synced from v0.2.25
- alphabet-catalogue synced from v0.2.25
- strings/ synced (now includes locales.json + 33 locale files)

exports.json: 6 new API exports for future use:
- dasher_set_offset, dasher_seed_buffer, dasher_get_offset,
  dasher_byte_offset_from_utf16, dasher_byte_offset_from_codepoints,
  dasher_capi_version, dasher_get_training_path

All existing wrapper APIs verified present in v0.2.25 dasher.h (82
functions checked, 0 missing).

Signed-off-by: will wade <willwade@gmail.com>
@willwade
willwade force-pushed the chore/bump-dashercore-v0.2.25 branch from b6424db to 5a1297e Compare September 18, 2026 11:19
@willwade
willwade merged commit 38d1c7d into main Sep 18, 2026
2 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant