-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
v1.9.0-beta.1 #9417
v1.9.0-beta.1 #9417
Conversation
CHANGELOG.md
Outdated
* Add changelog policy to contribution guidelines ([#9378](https://github.com/mapbox/mapbox-gl-js/pull/9378)) | ||
* Reduce bundle size and improve visual quality of `showTileBoundaries` debug text ([#9267](https://github.com/mapbox/mapbox-gl-js/pull/9267)) | ||
* Clarify differences in `symbol-sort-key` with and without overlap ([#9379](https://github.com/mapbox/mapbox-gl-js/pull/9379)) | ||
* Add browser testing with Selenium/WebDriver ([#9245](https://github.com/mapbox/mapbox-gl-js/pull/9245)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this need changelong? I was thinking we can skip this
CHANGELOG.md
Outdated
* Slightly improve GPU memory footprint ([#9377](https://github.com/mapbox/mapbox-gl-js/pull/9377)) | ||
* Results from `queryRenderedFeatures` now have evaluated property values rather than raw expressions ([#9198](https://github.com/mapbox/mapbox-gl-js/pull/9198)) | ||
* `LngLatBounds.extend` now accepts `LngLatLike` and `LngLatBoundsLike` as well. ([#9293](https://github.com/mapbox/mapbox-gl-js/pull/9293)) | ||
* Clarify GeolocateControl interaction states ([#9324](https://github.com/mapbox/mapbox-gl-js/pull/9324)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a documentation change, do we want to state it in the changelog?
CHANGELOG.md
Outdated
|
||
### 🐞 Bug fixes | ||
* Allow needle argument to `in` expression to be false ([#9295](https://github.com/mapbox/mapbox-gl-js/pull/9295)) | ||
* Clear source tiles when removing a layer ([#9305](https://github.com/mapbox/mapbox-gl-js/pull/9305)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this isn't exactly describing the change.
* Clear source tiles when removing a layer ([#9305](https://github.com/mapbox/mapbox-gl-js/pull/9305)) | |
* Fix exception thrown when trying to set feature-state for a layer that has been removed, fixes [#8634](https://github.com/mapbox/mapbox-gl-js/issues/8634). ([#9305](https://github.com/mapbox/mapbox-gl-js/pull/9305)) |
CHANGELOG.md
Outdated
### 🍏 Improvements | ||
* Add changelog policy to contribution guidelines ([#9378](https://github.com/mapbox/mapbox-gl-js/pull/9378)) | ||
* Reduce bundle size and improve visual quality of `showTileBoundaries` debug text ([#9267](https://github.com/mapbox/mapbox-gl-js/pull/9267)) | ||
* Clarify differences in `symbol-sort-key` with and without overlap ([#9379](https://github.com/mapbox/mapbox-gl-js/pull/9379)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also a docs change
CHANGELOG.md
Outdated
* Introduce `within` expression ([#9352](https://github.com/mapbox/mapbox-gl-js/pull/9352)) | ||
|
||
### 🍏 Improvements | ||
* Add changelog policy to contribution guidelines ([#9378](https://github.com/mapbox/mapbox-gl-js/pull/9378)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also a docs change
CHANGELOG.md
Outdated
### 🍏 Improvements | ||
* Add changelog policy to contribution guidelines ([#9378](https://github.com/mapbox/mapbox-gl-js/pull/9378)) | ||
* Reduce bundle size and improve visual quality of `showTileBoundaries` debug text ([#9267](https://github.com/mapbox/mapbox-gl-js/pull/9267)) | ||
* Clarify differences in `symbol-sort-key` with and without overlap ([#9379](https://github.com/mapbox/mapbox-gl-js/pull/9379)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: this was a documentation update. It probably doesn't need to be in the changelog, although I don't recall with the GL JS policy is
CHANGELOG.md
Outdated
* Add browser testing with Selenium/WebDriver ([#9245](https://github.com/mapbox/mapbox-gl-js/pull/9245)) | ||
* Slightly improve GPU memory footprint ([#9377](https://github.com/mapbox/mapbox-gl-js/pull/9377)) | ||
* Results from `queryRenderedFeatures` now have evaluated property values rather than raw expressions ([#9198](https://github.com/mapbox/mapbox-gl-js/pull/9198)) | ||
* `LngLatBounds.extend` now accepts `LngLatLike` and `LngLatBoundsLike` as well. ([#9293](https://github.com/mapbox/mapbox-gl-js/pull/9293)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: As someone who's not familiar with these properties, the changelog entry alone doesn't tell me what benefit I now get from this change (this tells me what changed, not the impact)
CHANGELOG.md
Outdated
* Fix a rendering error for very old versions of Chrome (ca. 2016) where text would appear much bigger than intended ([#9349](https://github.com/mapbox/mapbox-gl-js/pull/9349)) | ||
* Fix a bug where `icon-image` expression that evaluates to `''` produced a warning. ([#9380](https://github.com/mapbox/mapbox-gl-js/pull/9380)) | ||
* Prevent exception resulting from `line-dash-array` of empty length ([#9385](https://github.com/mapbox/mapbox-gl-js/pull/9385)) | ||
* Improve scaling of patterns used in `line-pattern` on all device resolutions and pixel ratios ([#9266](https://github.com/mapbox/mapbox-gl-js/pull/9266)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: since this entry starts with "Improve", it seems weird that it's not in the "Improvements" section. We could either change the verb or move the entry. I think this is also a pretty big fix and should be higher in order
CHANGELOG.md
Outdated
* Clear source tiles when removing a layer ([#9305](https://github.com/mapbox/mapbox-gl-js/pull/9305)) | ||
* Fix a bug where maps were not displaying inside elements with `dir=rtl`. ([#9332](https://github.com/mapbox/mapbox-gl-js/pull/9332)) | ||
* Fix a rendering error for very old versions of Chrome (ca. 2016) where text would appear much bigger than intended ([#9349](https://github.com/mapbox/mapbox-gl-js/pull/9349)) | ||
* Fix a bug where `icon-image` expression that evaluates to `''` produced a warning. ([#9380](https://github.com/mapbox/mapbox-gl-js/pull/9380)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Probably can be ordered lower
CHANGELOG.md
Outdated
* Fix a bug where `icon-image` expression that evaluates to `''` produced a warning. ([#9380](https://github.com/mapbox/mapbox-gl-js/pull/9380)) | ||
* Prevent exception resulting from `line-dash-array` of empty length ([#9385](https://github.com/mapbox/mapbox-gl-js/pull/9385)) | ||
* Improve scaling of patterns used in `line-pattern` on all device resolutions and pixel ratios ([#9266](https://github.com/mapbox/mapbox-gl-js/pull/9266)) | ||
* Correctly adjust patterns added with `addImage(id, image, pixelRatio)` by the asset pixel ratio, not the device pixel ratio ([#9372](https://github.com/mapbox/mapbox-gl-js/pull/9372)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Recommend moving this higher in order
CHANGELOG.md
Outdated
|
||
## Features and improvements | ||
* Map API functions such as `easeTo` and `flyTo` now support `padding: PaddingOptions` which lets developers shift the center of perspective for a map when building floating sidebars ([#8638](https://github.com/mapbox/mapbox-gl-js/pull/8638)) | ||
* Introduce `within` expression ([#9352](https://github.com/mapbox/mapbox-gl-js/pull/9352)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not add more detail about how within
works? This seems to deviate from past changelog entries featuring new expressions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, a new expression should go above a new easeTo / flyTo option
CHANGELOG.md
Outdated
* Introduce `within` expression ([#9352](https://github.com/mapbox/mapbox-gl-js/pull/9352)) | ||
|
||
### 🍏 Improvements | ||
* Add changelog policy to contribution guidelines ([#9378](https://github.com/mapbox/mapbox-gl-js/pull/9378)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This would be better as a sentence under the release, rather than as a changelog entry.
"With this release, we're adding a new changelog policy to our contribution guidelines." with a link to the actual guidelines or contribution guidelines
CHANGELOG.md
Outdated
|
||
### 🍏 Improvements | ||
* Add changelog policy to contribution guidelines ([#9378](https://github.com/mapbox/mapbox-gl-js/pull/9378)) | ||
* Reduce bundle size and improve visual quality of `showTileBoundaries` debug text ([#9267](https://github.com/mapbox/mapbox-gl-js/pull/9267)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since this is a debug mode improvement, I think it can be moved lower
CHANGELOG.md
Outdated
|
||
## Features and improvements | ||
* Map API functions such as `easeTo` and `flyTo` now support `padding: PaddingOptions` which lets developers shift the center of perspective for a map when building floating sidebars ([#8638](https://github.com/mapbox/mapbox-gl-js/pull/8638)) | ||
* Introduce `within` expression ([#9352](https://github.com/mapbox/mapbox-gl-js/pull/9352)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion from @chloekraw at #9352 (comment):
* Introduce `within` expression ([#9352](https://github.com/mapbox/mapbox-gl-js/pull/9352)) | |
* Add `within` expression for testing whether an evaluated feature lies within a given GeoJSON object ([#9352](https://github.com/mapbox/mapbox-gl-js/pull/9352)). For example:<br> | |
`"icon-opacity": ["case", ["==", ["within", "some-polygon"], true], 1, | |
["==", ["within", "some-polygon"], false], 0]` |
CHANGELOG.md
Outdated
* Clear source tiles when removing a layer ([#9305](https://github.com/mapbox/mapbox-gl-js/pull/9305)) | ||
* Fix a bug where maps were not displaying inside elements with `dir=rtl`. ([#9332](https://github.com/mapbox/mapbox-gl-js/pull/9332)) | ||
* Fix a rendering error for very old versions of Chrome (ca. 2016) where text would appear much bigger than intended ([#9349](https://github.com/mapbox/mapbox-gl-js/pull/9349)) | ||
* Fix a bug where `icon-image` expression that evaluates to `''` produced a warning. ([#9380](https://github.com/mapbox/mapbox-gl-js/pull/9380)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Fix a bug where `icon-image` expression that evaluates to `''` produced a warning. ([#9380](https://github.com/mapbox/mapbox-gl-js/pull/9380)) | |
* Fix a bug where `icon-image` expression that evaluates to an empty string (`''`) produced a warning. ([#9380](https://github.com/mapbox/mapbox-gl-js/pull/9380)) |
CHANGELOG.md
Outdated
* Fix a rendering error for very old versions of Chrome (ca. 2016) where text would appear much bigger than intended ([#9349](https://github.com/mapbox/mapbox-gl-js/pull/9349)) | ||
* Fix a bug where `icon-image` expression that evaluates to `''` produced a warning. ([#9380](https://github.com/mapbox/mapbox-gl-js/pull/9380)) | ||
* Prevent exception resulting from `line-dash-array` of empty length ([#9385](https://github.com/mapbox/mapbox-gl-js/pull/9385)) | ||
* Improve scaling of patterns used in `line-pattern` on all device resolutions and pixel ratios ([#9266](https://github.com/mapbox/mapbox-gl-js/pull/9266)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Recommend moving this to the top section as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great minus a few nits!
|
||
### ✨ Features | ||
* Add `within` expression for testing whether an evaluated feature lies within a given GeoJSON object ([#9352](https://github.com/mapbox/mapbox-gl-js/pull/9352)). For example:<br> | ||
`"icon-opacity": ["case", ["==", ["within", "some-polygon"], true], 1, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the line break <br>
breaks precedent from previous changelogs. It does seem to add clarity so I'm not necessarily against it, but I'm also not sure how I feel about it
CHANGELOG.md
Outdated
* Add `within` expression for testing whether an evaluated feature lies within a given GeoJSON object ([#9352](https://github.com/mapbox/mapbox-gl-js/pull/9352)). For example:<br> | ||
`"icon-opacity": ["case", ["==", ["within", "some-polygon"], true], 1, | ||
["==", ["within", "some-polygon"], false], 0]` | ||
* Map API functions such as `easeTo` and `flyTo` now support `padding: PaddingOptions` which lets developers shift the center of perspective for a map when building floating sidebars ([#8638](https://github.com/mapbox/mapbox-gl-js/pull/8638)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: which lets developers shift a map's center of perspective when building floating sidebars
CHANGELOG.md
Outdated
|
||
### 🍏 Improvements | ||
* Results from `queryRenderedFeatures` now have evaluated property values rather than raw expressions ([#9198](https://github.com/mapbox/mapbox-gl-js/pull/9198)) | ||
* Improve scaling of patterns used in `line-pattern` on all device resolutions and pixel ratios. ([#9266](https://github.com/mapbox/mapbox-gl-js/pull/9266)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: remove period
CHANGELOG.md
Outdated
* Correctly adjust patterns added with `addImage(id, image, pixelRatio)` by the asset pixel ratio, not the device pixel ratio ([#9372](https://github.com/mapbox/mapbox-gl-js/pull/9372)) | ||
* Allow needle argument to `in` expression to be false ([#9295](https://github.com/mapbox/mapbox-gl-js/pull/9295)) | ||
* Fix exception thrown when trying to set `feature-state` for a layer that has been removed, fixes [#8634](https://github.com/mapbox/mapbox-gl-js/issues/8634) ([#9305](https://github.com/mapbox/mapbox-gl-js/pull/9305)) | ||
* Fix a bug where maps were not displaying inside elements with `dir=rtl`. ([#9332](https://github.com/mapbox/mapbox-gl-js/pull/9332)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: remove period
Launch Checklist
@mapbox/studio
and/or@mapbox/map-design-team
if this PR includes style spec or visual changes@mapbox/gl-native
if this PR includes shader changes or needs a native portmapbox-gl-js
changelog:<changelog></changelog>