Skip to content

Version Packages - #133

Merged
gmaclennan merged 1 commit into
mainfrom
changeset-release/main
Oct 6, 2026
Merged

gmaclennan merged 1 commit into
mainfrom
changeset-release/main

Conversation

@awana-release-bot

@awana-release-bot awana-release-bot Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

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.

Releases

styled-map-package-api@6.2.0

Minor Changes

  • #134 56ecb10 Thanks @gmaclennan! - download() takes a beforeFinish(writer, { signal, glyphRanges }) option for adding resources that aren't downloaded, such as sprites for layers added to a style object, tiles for a local overlay source, or local fonts. Reference them in the style with smp: URLs from the newly exported getSpriteUri(), TILE_URI and GLYPH_URI: StyleDownloader no longer tries to download sprites, tiles or glyphs with smp: URLs, and rejects smp: URLs it can't skip, such as a source url or GeoJSON data.

  • #130 1a814f1 Thanks @gmaclennan! - download() takes a new style option, which accepts either a style URL or a style object, so a style that isn't hosted anywhere can be downloaded without rebuilding download() from StyleDownloader and Writer. styleUrl still works but is deprecated.

Patch Changes

  • #132 adfbb60 Thanks @gmaclennan! - GeoJSON sources keep their maxzoom instead of being written with maxzoom: 0, which made MapLibre tile them only at zoom 0 and render them coarsely. smp:maxzoom and the default zoom now come from the tile sources, as the spec requires, and fall back to 16 only for GeoJSON-only packages.

  • #131 62d74b5 Thanks @gmaclennan! - Limit how far each tile and GeoJSON file may expand when validate() decompresses it for the glyph coverage check, instead of capping the total across the archive, and stream the decompression rather than buffering the compressed data first.

  • #137 54a13e4 Thanks @gmaclennan! - Writer methods now throw "Writer is already finished" once finish() has been called. Previously setMetadata() and a duplicate tile with dedupe were silently lost, and other calls failed with unrelated errors such as "VERSION already added".

styled-map-package@6.2.0

Minor Changes

  • #134 56ecb10 Thanks @gmaclennan! - download() takes a beforeFinish(writer, { signal, glyphRanges }) option for adding resources that aren't downloaded, such as sprites for layers added to a style object, tiles for a local overlay source, or local fonts. Reference them in the style with smp: URLs from the newly exported getSpriteUri(), TILE_URI and GLYPH_URI: StyleDownloader no longer tries to download sprites, tiles or glyphs with smp: URLs, and rejects smp: URLs it can't skip, such as a source url or GeoJSON data.

  • #130 1a814f1 Thanks @gmaclennan! - download() takes a new style option, which accepts either a style URL or a style object, so a style that isn't hosted anywhere can be downloaded without rebuilding download() from StyleDownloader and Writer. styleUrl still works but is deprecated.

Patch Changes

  • #132 adfbb60 Thanks @gmaclennan! - GeoJSON sources keep their maxzoom instead of being written with maxzoom: 0, which made MapLibre tile them only at zoom 0 and render them coarsely. smp:maxzoom and the default zoom now come from the tile sources, as the spec requires, and fall back to 16 only for GeoJSON-only packages.

  • #131 62d74b5 Thanks @gmaclennan! - Limit how far each tile and GeoJSON file may expand when validate() decompresses it for the glyph coverage check, instead of capping the total across the archive, and stream the decompression rather than buffering the compressed data first.

  • #137 54a13e4 Thanks @gmaclennan! - Writer methods now throw "Writer is already finished" once finish() has been called. Previously setMetadata() and a duplicate tile with dedupe were silently lost, and other calls failed with unrelated errors such as "VERSION already added".

  • Updated dependencies [56ecb10, 1a814f1, adfbb60, 62d74b5, 54a13e4]:

    • styled-map-package-api@6.2.0

@awana-release-bot
awana-release-bot Bot force-pushed the changeset-release/main branch 3 times, most recently from dfd348e to cd6bad8 Compare October 6, 2026 12:14
@awana-release-bot
awana-release-bot Bot force-pushed the changeset-release/main branch from cd6bad8 to 4e9f2f2 Compare October 6, 2026 18:45
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedstyled-map-package-api@​6.1.0 ⏵ 6.2.0N/AN/AN/AN/AN/A

View full report

@gmaclennan
gmaclennan merged commit 5b7c47a into main Oct 6, 2026
9 checks passed
@gmaclennan
gmaclennan deleted the changeset-release/main branch October 6, 2026 20:14
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