Closed
Conversation
ba47b4e to
4e1f56c
Compare
184ad16 to
799c2fd
Compare
d7d5c7c to
2b9521f
Compare
5be4bd0 to
8efbb36
Compare
fe1bb80 to
4cc7a88
Compare
7a7f469 to
9fc6faf
Compare
6536e46 to
6ce4486
Compare
3850133 to
850cfd1
Compare
89d51b3 to
911d64d
Compare
e7d570f to
f2e5c93
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
mainis currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, runchangeset pre exitonmain.Releases
smp-noto-glyphs@1.0.0-pre.0
Major Changes
799c2fdThanks @gmaclennan! - Initial release. Pre-built Noto Sans SDF glyph PBFs (80+ scripts) for use as fallback glyphs in MapLibre-compatible map servers. Built from GoNotoKurrent covering Latin, Cyrillic, Greek, Arabic, Hebrew, Devanagari, Thai, and many more. CJK/Hangul ranges excluded (rendered client-side by MapLibre).styled-map-package-api@5.0.0-pre.4
Minor Changes
#92
799c2fdThanks @gmaclennan! - Add fallback tile and glyph handlers for serving missing resources from SMP files.emptyTileFallbackreturns format-aware empty tiles (gzipped MVT, transparent PNG/WebP).emptyGlyphFallbackreturns empty PBFs so MapLibre renders blank space instead of 404 errors. Add--fallbackflag tosmp viewcommand.#97
4cc7a88Thanks @gmaclennan! - Add--dedupeflag tosmp downloadCLI command anddedupeoption to thedownload()API, exposing the Writer's tile deduplication to reduce file size for maps with many repeated tiles.#93
8efbb36Thanks @gmaclennan! - Addvalidate()function andsmp validateCLI command for checking.smpfiles against the specification.The validator returns structured issues with
kind(error/warning),severity(fatal/rendering/spec), a stabletypeidentifier, and apathfor location context. Results includevalid(spec-compliant) andusable(no fatal issues) booleans.Checks include: ZIP validity, VERSION file, style.json conformance, SMP metadata validation, tile completeness and format consistency, glyph template and per-font range coverage, sprite file verification, external resource detection, and entry name safety.
Spec updates:
smp:maxzoomvalue MUST be between 0 and 30#95
9fc6fafThanks @gmaclennan! - Exclude locally-rendered glyph ranges from validation and downloads. MapLibre GL renders CJK, Hangul, Kana, Yi, and Halfwidth/Fullwidth glyphs client-side vialocalIdeographFontFamily, so SMP files do not need to include these 163 of 256 glyph ranges. AddsskipLocalGlyphsoption todownload()and--skip-local-glyphsCLI flag. Validator glyph completeness check now only counts the 93 required ranges.Patch Changes
#98
911d64dThanks @gmaclennan! - Fix uncaught error indownload()when the style URL is unreachable — errors now propagate through the returned stream instead of becoming unhandled rejections. AcceptReadonly<BBox>in public API type signatures.#96
6ce4486Thanks @gmaclennan! - Fix: automatically migrate v7 styles to v8 when downloading or constructing a StyleDownloader, instead of rejecting them as invalid.#91
4e1f56cThanks @gmaclennan! - Update implementation to strictly conform with spec#89
03e43f6Thanks @gmaclennan! - add fallbackTile and fallbackGlyph options to createServerstyled-map-package@5.0.0-pre.4
Minor Changes
#92
799c2fdThanks @gmaclennan! - Add fallback tile and glyph handlers for serving missing resources from SMP files.emptyTileFallbackreturns format-aware empty tiles (gzipped MVT, transparent PNG/WebP).emptyGlyphFallbackreturns empty PBFs so MapLibre renders blank space instead of 404 errors. Add--fallbackflag tosmp viewcommand.#97
4cc7a88Thanks @gmaclennan! - Add--dedupeflag tosmp downloadCLI command anddedupeoption to thedownload()API, exposing the Writer's tile deduplication to reduce file size for maps with many repeated tiles.#93
8efbb36Thanks @gmaclennan! - Addvalidate()function andsmp validateCLI command for checking.smpfiles against the specification.The validator returns structured issues with
kind(error/warning),severity(fatal/rendering/spec), a stabletypeidentifier, and apathfor location context. Results includevalid(spec-compliant) andusable(no fatal issues) booleans.Checks include: ZIP validity, VERSION file, style.json conformance, SMP metadata validation, tile completeness and format consistency, glyph template and per-font range coverage, sprite file verification, external resource detection, and entry name safety.
Spec updates:
smp:maxzoomvalue MUST be between 0 and 30#95
9fc6fafThanks @gmaclennan! - Exclude locally-rendered glyph ranges from validation and downloads. MapLibre GL renders CJK, Hangul, Kana, Yi, and Halfwidth/Fullwidth glyphs client-side vialocalIdeographFontFamily, so SMP files do not need to include these 163 of 256 glyph ranges. AddsskipLocalGlyphsoption todownload()and--skip-local-glyphsCLI flag. Validator glyph completeness check now only counts the 93 required ranges.Patch Changes
799c2fd,4cc7a88,911d64d,6ce4486,4e1f56c,8efbb36,9fc6faf,03e43f6,799c2fd]: