@chrtco/sdk 0.5.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,18 @@
2
2
 
3
3
  All notable changes to `@chrtco/sdk` will be documented in this file.
4
4
 
5
+ ## [0.7.0] — 2026-05-08
6
+ - **Atlas — dominance cascade & scale-band rendering**: per-feature dominance cascade in continuous mode, cascading band fallback, band-then-class layer emission, chart-mode per-cell cascade fallback to coarser bands, dominance filter on orientation-cross-band labels.
7
+ - **Atlas — cartographic labels**: orientation labels + typography hierarchy.
8
+ - **Atlas — sounding legibility**: palette-aware two-shade SOUNDG redesign with re-tuned size and halo.
9
+ - **Atlas — symbology fixes**: SIGGRP in map light label expression, sound signal + FOGSIG in light badge, child-symbol offsets (FOGSIG/RTPBCN/TOPMAR) so they don't hide behind parent buoys, LNDMRK split for offshore wind farms at low zoom, CTNARE / regulated-area boundary-only rendering, harbor-band label collision discipline + LNDARE dominance exception, SEAARE base water fill at band boundaries.
10
+ - **Map**: sounding/depth-contour units tied to the distance-scale toggle.
11
+
12
+ ## [0.6.0] — 2026-04-27
13
+ - **New sub-export `@chrtco/sdk/atlas/browser`** — S-52 atlas helpers for browser-side rendering. Previously lived in the React app's `src/lib/atlas/` and was internal-only; now part of the SDK so external consumers can drive map styling consistently with the platform.
14
+ - **`OfflineError.detail.level` (`"team" | "key"`)** — `budget_exceeded` errors from `mint-offline-token` now carry a `level` field on `error.detail` so consumers can branch their messaging between per-key caps ("raise this key's storage cap") and per-team caps ("upgrade your team plan"). `team_used_bytes` is also surfaced on team-level refusals so dashboards can show usage context. Existing `budget_bytes` / `required_bytes` / `over_by_bytes` keys are unchanged.
15
+ - **Internal**: `@maplibre/maplibre-gl-style-spec` declared as a devDep (was a runtime dep but only needed at build/typecheck time).
16
+
5
17
  ## [0.5.0] — 2026-04-23
6
18
  - **CHRToffline** — download MBTiles bundles for offline rendering:
7
19
  - `chrt.offline.list()`, `chrt.offline.download(region, opts)`, `chrt.offline.remove(region, opts)`, `chrt.offline.heartbeat(opts?)`, `chrt.offline.setStorageBudget(bytes, fs)`