vue-mapbox-gl
vue-mapbox-gl copied to clipboard
Update vue-mapbox-gl devDependencies
Note: This PR body was truncated due to platform limits.
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| @mapbox/mapbox-gl-geocoder | 5.0.3 -> 5.1.2 |
||
| @studiometa/js-toolkit | 3.0.2 -> 3.4.3 |
||
| mapbox-gl | 3.11.1 -> 3.16.0 |
||
| vue (source) | 3.5.13 -> 3.5.24 |
Release Notes
mapbox/mapbox-gl-geocoder (@βmapbox/mapbox-gl-geocoder)
v5.1.2
Bug fixes π
- Fix potential XSS when rendering place name #β547
v5.1.1
Dependency update
- Bumps
form-datato v4.0.4
v5.1.0
Features / Improvements π
- Introduce
useBrowserFocusoption to use the browser's native focus management instead of the geocoder's custom focus management. This is useful for accessibility.
studiometa/js-toolkit (@βstudiometa/js-toolkit)
v3.4.3
Fixed
v3.4.2
Fixed
v3.4.1
Fixed
v3.4.0
Added
Changed
- Improve the
BaseInterfacetypes (#β683, 6d25553d, 0acafe51) - cache: ensure the cache is shared globally between multiple instances of the package (#β684, 8e726e8d)
Fixed
- Fix a bug when trying to destroy already destroyed instances (#β683, b3686378)
- cache: fix normalizing the key into an array (#β684, d7d7bcb9)
v3.3.0
Added
Changed
Fixed
- withGroup: do not include instances disconnected from the DOM in groups (#β680, #β681, e214ba38)
v3.2.0
Added
- Add a
registerComponenthelper function (#β672, 7a51eac1, #β676, bf0957cd) - Add a
withGroupdecorator (#β655, ec57d5a4) - createElement: add support for data attributes as objects (d6dbb337)
Fixed
- Fix calling the
$registerstatic method multiple times (#β672, 409115f7) - Improve instances storage (#β673, 42380a73)
- useDrag: do not drag when touch has multiple touches (studiometa/ui#437, #β674, 6ec11f96)
Changed
v3.1.1
Added
Changed
v3.1.0
Added
- Add a
randomutility function (#β662, a25247a5) - Add a
smoothToutility function (#β660, f4d7b349) - Add a
wraputility function (#β660, 866ed3a4) - Add a
springfunction (#β660, 1e06f792) - tween: add support for spring physics (#β660, fe079359)
- animate: add support for spring physics (#β660, fe079359)
- useRaf: add a
deltaproperty to the props (#β657, ca9fe570)
Fixed
v3.0.5
Changed
- withScrolledInView: improve performance (#β645, 83b65f16)
- useScroll: avoid layout thrashing (#β645, 158d0b66)
Fixed
v3.0.4
Changed
v3.0.3
Changed
mapbox/mapbox-gl-js (mapbox-gl)
v3.16.0
Features and improvements β¨
- Introduce experimental Appearances API for managing layer styling based on feature state.
- Add
MapsetLayerPropertythat combinessetLayoutProperty&setPaintPropertyinto one method for convenience. - Add support for node/material overrides & other improvements to
modelsource and layer. - Various improvements & fixes for upcoming 3D features (indoor, procedural buildings & elevated roads).
- Add response headers to the
sourcedataevent data. - Improve TypeScript types for style specification.
Bug fixes π
- Fix raster particle layer not rendering correctly on styles with emissive light.
- Fix icons of different sizes rendering incorrectly in appearances.
- Fix worldview filtering with dynamic expressions.
- Improve accuracy of
queryRenderedFeaturesfor model layers. - Fix a bug with heatmap sometimes disappearing after switching projection.
- Fix rendering of model layer with vector source on globe projection.
- Fix flickering of fill-extrusion buildings when using clip layers.
- Fix inaccuracies in 3D model query intersection.
- Fix the passing of
GeolocationPositiontogeolocateevent listeners. - Fix the placement of line-aligned text with a non-default
scaleFactor.
v3.15.0
Features and improvements β¨
- Add
queryRasterValuemethod for querying values inraster-arraylayers. - Add
icon-image-use-themeproperty. - Add support for Mapbox vector tiles with precalculated line metrics (for line gradients).
- Improve HD Roads loading performance.
- Optimize applying LUT when updating images at runtime.
- Improve TypeScript types in Style Spec validation methods.
- Slightly improve
hslaexpression performance. - Optimize applying LUT for patterns.
- Round
queryRasterValueresults to 12 decimal digits to fix precision issues. - Improvements on typing and testing.
Bug fixes π
- Fix an issue with refreshing expired raster array tiles.
- Fix an error on GeoJSON with
"Infinity"and similar ids. - Fix
GL_INVALID_VALUEconsole warning on Mapbox Satellite Standard and a few other styles. - Fix model layer positioning during globe to mercator transition.
- Fix an issue with incorrect transparency for some icons with LUT applied.
- Fix an issue where updating
*-occlusion-opacityproperties didn't have any effect. - Fix an issue with MRT layers throwing an error when reloading.
- Fix occlusion layer ordering.
- Fix an issue where using too many data-driven properties on the symbol layer could break the map.
- Fix gradients and interpolations with fully-transparent colors.
- Fix model layer density reduction.
- Fix performance regression on styles that use feature-state expressions.
v3.14.0
Breaking changes β οΈ
- Imported styles will use the
glyphsURL template from the root style instead of their own.
Features and improvements β¨
- Add a
splitexpression to divide a string into an array of substrings based on a specified delimiter. - Improve memory usage for GeoJSON sources.
Bug fixes π
- Fix an issue with querying rendered features during the globe-to-Mercator transition.
- Fix resources cleanup when removing a map with a terrain or/and vector icons.
- Fix an issue where a single primary image was not rendered correctly with
icon-image-cross-fade. - Fix an edge case involving the mixing of vertical and horizontal writing modes.
- Fix rendering of multiple
rasterlayers from a singleraster-arraysource. - Fix restoration of maps with background patterns, heatmap, image, video, or raster sources after WebGL context loss.
- Fix memory spike when calling
setDataon large datasets.
v3.13.0
Breaking changes β οΈ
interpolateexpression will interpolate between non-alpha-premultiplied colors. The change might affectraster-particle-color,line-gradient, andheatmap-color.rgbexpression will return non-premultiplied-alpha color.
Features and improvements β¨
- Add the
["worldview"]expression, which returns the currentworldviewof the map. - Add
model-translationsupport for batched model layers. - Improve indoor level interaction.
- Add support of gradient transforms in the fill style of vector icons.
Bug fixes π
- Fix querying and styling issues with multiple model layers referencing the same source.
- Fix
mapbox-gl-rtl-textv0.3.0 plugin not loading in certain configurations. - Fix icons with
text-variable-anchordisappearing. - Fix minor distortions on vector icons in some cases.
- Fix zooming over terrain with negative altitude values.
- Fix interactions to not throw on
mouseleavewithoutmouseenter. - Fix shadow rendering issues on underground structures.
- Fix striping artifacts when rendering shadows on some GPU configurations.
- Fix errors when viewing a style with filtered model layers.
- Fix parsing of
color-use-themeproperty of 3D lights. - Fix feature-dependent
configexpressions (h/t @βbrncsk) #β13453. - Fix reset of the indoor floorplan selection after moving the camera.
- Fix excessive rerendering of the map after
setStylewith the same URL of an import. - Fix source reloading during mercator-globe transition with terrain.
- Fix color of semi-transparent vector icons.
Workflow π οΈ
- Switched from CircleCI to GitHub Actions for continuous integration tests.
v3.12.0
Features and improvements β¨
- Add experimental support for rendering 3D road intersections.
- Add shadow rendering support for elevated lines.
- Add
wrapTileIdproperty toCustomLayerInterfaceto control whether tile IDs are wrapped across world copies during rendering. - Add
line-pattern-cross-fade,fill-pattern-cross-fade, andfill-extrusion-pattern-cross-fadeproperties for smooth transitions between pattern images. - Add support for
extra_boundsin TileJSON for more fine-grained control over tile requests, particularly when dealing with sparse data coverage. - Improve performance by lazy loading 3D models.
- Slightly improve JS bundle sizes.
- Various TypeScript types improvements.
Bug fixes π
- Fixed an issue where calling
setDataon symbol layers could cause flickering. - Expose
CustomSourceInterfaceTypeScript type that was missing in the public interface. - Fix some edge cases related to rendering of elevated structures.
- Relax
line-gradientvalidation to work not only on GeoJSON, but also on vector tile sources if they havemapbox_clip_startandmapbox_clip_endproperties precomputed. - Fix
styleimagemissingevent not firing in certain scenarios.
vuejs/core (vue)
v3.5.24
Reverts
- Revert "fix(compiler-core): correctly handle ts type assertions in expressionβ¦" (#β14062) (11ec51a), closes #β14062 #β14060
v3.5.23
Bug Fixes
- compiler-core: correctly handle ts type assertions in expressions (#β13397) (e6544ac), closes #β13395
- compiler-core: fix v-bind shorthand handling for in-DOM templates (#β13933) (b3cca26), closes #β13930
- compiler-sfc: resolve numeric literals and template literals without expressions as static property key (#β13998) (75d44c7)
- compiler-ssr: textarea with v-text directive SSR (#β13975) (006a0c1)
- compiler: using guard instead of non-nullish assertion (#β13982) (dcc6f36)
- custom-element: batch custom element prop patching (#β13478) (c13e674), closes #β12619
- custom-element: optimize slot retrieval to avoid duplicates (#β13961) (84ca349), closes #β13955
- hydration: avoid mismatch during hydrate text with newlines in interpolation (#β9232) (6cbdf78), closes #β9229
- runtime-core: pass props and children to loadingComponent (#β13997) (40c4b2a)
- runtime-dom: ensure iframe sandbox is handled as an attribute to prevent unintended behavior (#β13950) (5689884), closes #β13946
- suspense: clear placeholder and fallback el after resolve to enable GC (#β13928) (f411c66)
- transition-group: use offsetLeft and offsetTop instead of getBoundingClientRect to avoid transform scale affect animation (#β6108) (dc4dd59), closes #β6105
- v-model: handle number modifier on change (#β13959) (8fbe48f), closes #β13958
v3.5.22
Bug Fixes
- compiler-core: identifiers in switch-case should not be inferred as references (#β13923) (5953c9f)
- compiler-dom: nodes with v-once shouldn't be stringified (#β13878) (95c1975)
- compiler-sfc: add support for
@vue-ignorein runtime type resolution (#β13906) (ba7f7f9) - compiler-sfc: enhance inferRuntimeType to support TSMappedType with indexed access (#β13848) (e388f1a), closes #β13847
- compiler-sfc: ensure css custom properties do not start with a digit (#β13870) (9c27951)
- compiler-sfc: ensure props bindings register before compiling template (#β13922) (abd5638), closes #β13920
- compiler-ssr: ensure v-show has a higher priority in SSR (#β12171) (836b829), closes #β12162
- custom-element: properly mount multiple Teleports in custom element component w/ shadowRoot false (#β13900) (5e1e791), closes #β13899
- custom-element: set prop runs pending mutations before disconnect (#β13897) (c4a88cd), closes #β13315
- custom-element: use
PatchFlags.BAILfor slot when props are present (#β13907) (5358bca), closes #β13904 - reactivity: respect readonly during ref unwrapping (#β13905) (aba7fed), closes #β13903
- reactivity: update iterator to check for completion instead of value presence (#β13761) (2078f8b)
- runtime-core: simplify block-tracking disabling in
hhelper (#β13841) (75220c7) - transition-group: run
forceReflowon the correct document (fix #β13849) (#β13853) (1be5ddf) - types: more precise types for Events and added missing definitions (#β9675) (8bb8fb2)
- types: set dom stub type to
neverinstead of{}(#β13915) (8620a61), closes #β11564 - types: widen directive arg type from string to any (#β13758) (4b71706), closes #β13757
Features
- custom-element: allow specifying additional options for
shadowRootin custom elements (#β12965) (47e628d), closes #β12964
Reverts
- Revert "fix(hmr): prevent VUE_HMR_RUNTIME from being overwritten by vue runtime in 3rd-party libraries" (#β13925) (6b68f72), closes #β13925
v3.5.21
Bug Fixes
- compiler-core: force dynamic slots when slot referencing scope vars (#β9427) (99d54b2), closes #β9380
- compiler-sfc: check lang before attempt to compile script (#β13508) (55922ff), closes #β8368
- compiler-sfc: support
${configDir}in paths for TypeScript 5.5+ (#β13491) (8696e34), closes #β13484 - compiler-sfc: support global augments with named exports (#β13789) (35da3c6)
- custom-element: prevent defineCustomElement from mutating the options object (#β13791) (e322436)
- hmr: prevent
__VUE_HMR_RUNTIME__from being overwritten by vue runtime in 3rd-party libraries (#β13817) (1392734), closes vitejs/vite-plugin-vue#644 - hmr: prevent update unmounting component during HMR reload (#β13815) (ef20b86), closes vitejs/vite-plugin-vue#599
- runtime-core: disable tracking block in h function (#β8213) (8f6b505), closes #β6913
- runtime-core: use separate emits caches for components and mixins (#β11661) (15fc75f)
- Suspence: handle Suspense + KeepAlive HMR updating edge case (#β13076) (5d75a17), closes #β13075
- Teleport: hydrate disabled Teleport with undefined target (#β11235) (00978f7), closes #β11230
- templateRef: prevent unnecessary set ref on dynamic ref change or component unmount (#β12642) (93ba107), closes #β12639
- watch: use maximum depth for duplicates (#β13434) (f2699a5)
Performance Improvements
v3.5.20
Bug Fixes
- runtime-dom: add name to vShow for prop mismatch check (#β13806) (1031e8d), closes #β13805 re-fix #β13744 revert #β13777
v3.5.19
Bug Fixes
- compiler-core: adjacent v-else should cause a compiler error (#β13699) (911e670), closes #β13698
- compiler-core: prevent cached array children from retaining detached dom nodes (#β13691) (7f60ef8), closes element-plus/element-plus#21408 #β13211
- compiler-sfc: improve type inference for generic type aliases types (#β12876) (d9dd628), closes #β12872
- compiler-sfc: throw mismatched script langs error before invoking babel (#β13194) (0562548), closes #β13193
- compiler-ssr: disable v-memo transform in ssr vdom fallback branch (#β13725) (0a202d8), closes #β13724
- devtools: clear performance measures (#β13701) (c875019), closes #β13700
- hmr: prevent updating unmounting component during HMR rerender (#β13775) (6e5143d), closes #β13771 #β13772
- hydration: also set vShow name if
__FEATURE_PROD_HYDRATION_MISMATCH_DETAILS__flag is enabled (#β13777) (439e1a5), closes #β13744 - reactivity: warn on nested readonly ref update during unwrapping (#β12141) (1498821)
- runtime-core: avoid setting direct ref of useTemplateRef in dev (#β13449) (4a2953f)
- runtime-core: improve consistency of
PublicInstanceProxyHandlers.has(#β13507) (d7283f3) - suspense: don't immediately resolve suspense on last dep unmount (#β13456) (a871315), closes #β13453
- transition: handle KeepAlive + transition leaving edge case (#β13152) (3190b17), closes #β13153
v3.5.18
Bug Fixes
- compiler-core: avoid cached text vnodes retaining detached DOM nodes (#β13662) (00695a5), closes #β13661
- compiler-core: avoid self updates of
v-pre(#β12556) (21b685a) - compiler-core: identifiers in function parameters should not be inferred as references (#β13548) (9b02923)
- compiler-core: recognize empty string as non-identifier (#β12553) (ce93339)
- compiler-core: transform empty
v-binddynamic argument content correctly (#β12554) (d3af67e) - compiler-sfc: transform empty srcset w/ includeAbsolute: true (#β13639) (d8e40ef), closes vitejs/vite-plugin-vue#631
- css-vars: nullish v-bind in style should not lead to unexpected inheritance (#β12461) (c85f1b5), closes #β12434 #β12439 #β7474 #β7475
- custom-element: ensure exposed methods are accessible from custom elements by making them enumerable (#β13634) (90573b0), closes #β13632
- hydration: prevent lazy hydration for updated components (#β13511) (a9269c6), closes #β13510
- runtime-core: ensure correct anchor el for unresolved async components (#β13560) (7f29943), closes #β13559
- slots: refine internal key checking to support slot names starting with an underscore (#β13612) (c5f7db1), closes #β13611
- ssr: ensure empty slots render as a comment node in Transition (#β13396) (8cfc10a), closes #β13394
v3.5.17
Bug Fixes
- compat: allow v-model built in modifiers on component (#β12654) (cb14b86), closes #β12652
- compile-sfc: handle mapped types work with omit and pick (#β12648) (4eb46e4), closes #β12647
- compiler-core: do not increase newlines in
InEntitystate (#β13362) (f05a8d6) - compiler-core: ignore whitespace when matching adjacent v-if (#β12321) (10ebcef), closes #β9173
- compiler-core: prevent comments from blocking static node hoisting (#β13345) (55dad62), closes #β13344
- compiler-sfc: improved type resolution for function type aliases (#β13452) (f3479aa), closes #β13444
- custom-element: ensure configureApp is applied to async component (#β12607) (5ba1afb), closes #β12448
- custom-element: prevent injecting child styles if shadowRoot is false (#β12769) (73055d8), closes #β12630
- reactivity: add
__v_skipflag toDepto prevent reactive conversion (#β12804) (e8d8f5f), closes #β12803 - runtime-core: unset old ref during patching when new ref is absent (#β12900) (47ddf98), closes #β12898
- slots: make cache indexes marker non-enumerable (#β13469) (919c447), closes #β13468
- ssr: handle initial selected state for select with v-model + v-for/v-if option (#β13487) (1552095), closes #β13486
- types: typo of
vOnceandvSlot(#β13343) (762fae4)
v3.5.16
Reverts
- Revert "fix(compiler-sfc): add scoping tag to trailing universal selector" (#β13406) (19f23b1), closes #β13406
- Revert "fix(compiler-sfc): add error handling for defineModel() without variable" (#β13390) (42f879f), closes #β13390
v3.5.15
Bug Fixes
- compat: ensure false value on input retains value attribute (#β13216) (1a66474), closes #β13205
- compat: should not warn COMPILER_V_BIND_OBJECT_ORDER when using v-bind together with v-for (#β12993) (93949e6), closes #β12992
- compile-sfc: handle inline template source map in prod build (#β12701) (89edc6c), closes #β12682 vitejs/vite-plugin-vue#500
- compiler-core: ensure mapping is added only if node source is available (#β13285) (d37a2ac), closes #β13261 vitejs/vite-plugin-vue#368
- compiler-dom: improve HTML nesting validation to allow any child element within template tag (#β13320) (163b365), closes #β13318
- compiler-sfc: add error handling for defineModel() without variable assignment (#β13352) (00734af), closes #β13280
- compiler-sfc: add scoping tag to trailing universal selector (#β12918) (949df80), closes #β12906
- compiler-sfc: improve type inference for TSTypeAliasDeclaration with better runtime type detection (#β13245) (cf5a5e0), closes #β13240
- compiler-sfc: simulate
allowArbitraryExtensionson resolving type (#β13301) (f7ce5ae), closes #β13295 - custom-element: allow injecting values ββfrom app context in nested elements (#β13219) (b991075), closes #β13212
- custom-element: ensure proper remount and prevent redundant slot parsing with shadowRoot false (#β13201) (1d41d4d), closes #β13199
- custom-element: preserve appContext during update (#β12455) (013749e), closes #β12453
- custom-element: properly resolve props for sync component defs (#β12855) (a683c80), closes #β12854
- hydration: handle transition appear hydration edge case (#β13339) (35aeae7), closes #β13335
- hydration: skip lazy hydration for patched components (#β13283) (80055fd), closes #β13255
- suspense: handle edge case in patching list nodes within Suspense (#β13306) (772b008), closes #β13305
- teleport: handle deferred teleport updates before and after mount (#β13350) (d15dce3), closes #β13349
- types: avoid merging component instance into
$propsinComponentInstance(#β12870) (f44feed), closes #β12751 - types: exclude
undefinedfrom inferred prop types with default values (#β13007) (5179d32), closes #β13006 - watch: update
oldValuebefore runningcbto prevent stale value (#β12296) (c69c4bb), closes [#β12294](https://redi
Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π» Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Renovate Bot.
Deploy Preview for vue-mapbox-gl-demo ready!
| Name | Link |
|---|---|
| Latest commit | 17e966621eff9ca2950778723a483f99c3601247 |
| Latest deploy log | https://app.netlify.com/projects/vue-mapbox-gl-demo/deploys/692804f42fea640008128e00 |
| Deploy Preview | https://deploy-preview-298--vue-mapbox-gl-demo.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify project configuration.
Export Size
@studiometa/vue-mapbox-gl
| Name | Size | Diff |
|---|---|---|
| MapboxCluster | 1.76 kB | +4 B (+0.23%) πΊ |
| StoreLocator | 5.41 kB | +2 B (+0.04%) πΊ |
| MapboxImages | 876 B | -4 B (-0.45%) π½ |
Unchanged
@studiometa/vue-mapbox-gl
| Name | Size | Diff |
|---|---|---|
| MapboxFullscreenControl | 1.16 kB | - |
| MapboxGeocoder | 1.56 kB | - |
| MapboxGeolocateControl | 1.34 kB | - |
| MapboxImage | 656 B | - |
| MapboxLayer | 962 B | - |
| MapboxMap | 2.04 kB | - |
| MapboxMarker | 1.64 kB | - |
| MapboxNavigationControl | 1.21 kB | - |
| MapboxPopup | 1.25 kB | - |
| MapboxSource | 437 B | - |
| useControl | 1.03 kB | - |
| useEventsBinding | 551 B | - |
| useMap | 166 B | - |
| usePropsBinding | 439 B | - |
| VueScroller | 634 B | - |
Codecov Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 64.00%. Comparing base (cbd1a79) to head (17e9666).
Additional details and impacted files
@@ Coverage Diff @@
## develop #298 +/- ##
========================================
Coverage 64.00% 64.00%
========================================
Files 22 22
Lines 2445 2445
Branches 70 70
========================================
Hits 1565 1565
Misses 878 878
Partials 2 2
| Flag | Coverage Ξ | |
|---|---|---|
| unittests | 64.00% <ΓΈ> (ΓΈ) |
Flags with carried forward coverage won't be shown. Click here to find out more.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.