Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Mapbox-gl-js 0.40.0 #2410

Closed
jmunowitch opened this issue Sep 14, 2017 · 2 comments
Closed

Upgrade to Mapbox-gl-js 0.40.0 #2410

jmunowitch opened this issue Sep 14, 2017 · 2 comments
Assignees

Comments

@jmunowitch
Copy link
Contributor

jmunowitch commented Sep 14, 2017

mapbox-gl-js-bower has been updated with v0.40.1:
https://github.com/archesproject/mapbox-gl-js-bower/tree/v0.40.1

Testing will be required to confirm this doesn't break existing functionality

The Changelog claims there is a few breaking changes from the version currently pinned (0.35.1).
here are the changes:

0.40.1 (September 18, 2017)

🐛 Bug fixes

  • Fix bug causing flicker when zooming in on overzoomed tiles #5295
  • Remove erroneous call to Tile#redoPlacement for zoom-only or low pitch camera changes #5284
  • Fix bug where CanvasSource coordinates were flipped and improve performance for non-animated CanvasSources #5303
  • Fix bug causing map not to render on some cases on Internet Explorer 11 #5321
  • Remove upper limit on fill-extrusion-height property #5320

0.40.0 (September 13, 2017)

⚠️ Breaking changes

  • Map#addImage now requires the image as an HTMLImageElement, ImageData, or object with width, height, and
    data properties with the same format as ImageData. It no longer accepts a raw ArrayBufferView in the second
    argument and width and height options in the third argument.
  • canvas sources now require a contextType option specifying the drawing context associated with the source canvas. #5155

✨ Features and improvements

  • Correct rendering for multiple fill-extrusion layers on the same map #5101
  • Add an icon-anchor property to symbol layers #5183
  • Add a per-map transformRequest option, allowing users to provide a callback that transforms resource request URLs #5021
  • Add data-driven styling support for
  • Add support for SDF icons in Map#addImage() #5181
  • Added nautical miles unit to ScaleControl #5238 (h/t @fmairesse)
  • Eliminate the map-wide limit on the number of glyphs and sprites that may be used in a style #141. (Fixed by #5190, see also mapbox-gl-native#9213
  • Numerous performance optimizations (including #5108 h/t @pirxpilot)

🐛 Bug fixes

  • Add missing documentation for mouseenter, mouseover, mouseleave events #4772
  • Add missing documentation for Marker#getElement() method #5242
  • Fix bug wherein removing canvas source with animate=true leaves map in render loop #5097
  • Fix fullscreen detection on Firefox #5272
  • Fix z-fighting on overlapping fills within the same layer #3320
  • Fix handling of fractional values for layer.minzoom #2929
  • Clarify coordinate ordering in documentation for center option #5042 (h/t @karthikb351)
  • Fix output of stop functions where two stops have the same input value #5020 (h/t @edpop )
  • Fix bug wherein using Map#addLayer() with an inline source would mutate its input #4040
  • Fix invalid css keyframes selector #5075 (h/t @aar0nr)
  • Fix GPU-specific bug wherein canvas sources caused an error #4262
  • Fix a race condition in symbol layer handling that caused sporadic uncaught errors #5185
  • Fix bug causing line labels to render incorrectly on overzoomed tiles #5120
  • Fix bug wherein NavigationControl triggered mouse events unexpectedly #5148
  • Fix bug wherein clicking on the NavigationControl compass caused an error in IE 11 #4784
  • Remove dependency on GPL-3-licensed fast-stable-stringify module #5152
  • Fix bug wherein layer-specific an event listener produced an error after its target layer was removed from the map #5145
  • Fix Marker#togglePopup() failing to return the marker instance #5116
  • Fix bug wherein a marker's position failed to adapt to the marker element's size changing #5133
  • Fix rendering bug affecting Broadcom GPUs #5073

🔧 Development workflow improvements

  • Add (and now require) Flow type annotations throughout the majority of the codebase.
  • Migrate to CircleCI 2.0 #4939

0.39.1 (July 24, 2017)

🐛 Bug fixes

  • Fix packaging issue in 0.39.0 #5025
  • Correctly evaluate enum-based identity functions #5023

0.39.0 (July 21, 2017)

⚠️ Breaking changes

✨ Features and improvements

🐛 Bug fixes

🛠️ Development workflow changes

0.38.0 (June 9, 2017)

New features ✨

  • Attenuate label size scaling with distance, improving readability of pitched maps #4547

Bug fixes 🪲

  • Skip rendering for patterned layers when pattern is missing #4687
  • Fix bug with map failing to rerender after webglcontextlost event #4725 @cdawi
  • Clamp zoom level in flyTo to within the map's specified min- and maxzoom to prevent undefined behavior #4726 @ IvanSanchez
  • Fix wordmark rendering in IE #4741
  • Fix slight pixelwise symbol rendering bugs caused by incorrect sprite calculations #4737
  • Prevent exceptions thrown by certain flyTo calls #4761
  • Fix "Improve this map" link #4685
  • Tweak queryRenderedSymbols logic to better account for pitch scaling #4792
  • Fix for symbol layers sometimes failing to render, most frequently in Safari #4795
  • Apply text-keep-upright after text-offset to keep labels upright when intended #4779 [Potentially breaking ⚠️ but considered a bugfix]
  • Prevent exceptions thrown by empty GeoJSON tiles 4803

Accessibility improvements 🔉

Development workflow + testing improvements 🔧

  • Fix equality assertion bug in tests #4731 @IvanSanchez
  • Benchmark results page improvements #4746
  • Require node version >=6.4.0, enabling the use of more ES6 features #4752
  • Document missing pitchWithRotate option #4800 @simast
  • Move Github-specific Markdown files into subdirectory #4806 @tomscholz

0.37.0 (May 2nd, 2017)

⚠️ Breaking changes

  • Removed LngLat#wrapToBestWorld

New features 🚀

Bug fixes 🐛

Development workflow improvements 💻

0.36.0 (April 19, 2017)

New features ✨

Bug fixes 🐛

Development workflow improvements 🤓

@jmunowitch
Copy link
Contributor Author

@robgaston: I updated this ticket from 0.40.0 to 0.40.1.

robgaston added a commit that referenced this issue Sep 27, 2017
upgrading mapbox gl js (& draw tools) re: #2410
@robgaston robgaston removed their assignment Sep 27, 2017
@chiatt
Copy link
Member

chiatt commented Oct 10, 2017

All map features work as expected

@chiatt chiatt closed this as completed Oct 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants