Skip to content

Commit f29d492

Browse files
Bump version to 4.0.0-pre.3 (#3558)
* Bump version to 4.0.0-pre.3 * Update CHANGELOG.md * Add more logs to understand why the tests are failing * Timeout instead of idle *hack* * remove unwanted changes * Fix lint, revert code --------- Co-authored-by: HarelM <HarelM@users.noreply.github.com> Co-authored-by: Harel M <harel.mazor@gmail.com>
1 parent 624ba14 commit f29d492

5 files changed

Lines changed: 14 additions & 8 deletions

File tree

CHANGELOG.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,25 @@
22

33
### ✨ Features and improvements
44

5+
- _...Add new stuff here..._
6+
7+
### 🐞 Bug fixes
8+
- _...Add new stuff here..._
9+
10+
## 4.0.0-pre.3
11+
12+
### ✨ Features and improvements
13+
514
- ⚠️ Add the ability to import a script in the worker thread and call `addProtocol` and `removeProtocol` there ([#3459](https://github.com/maplibre/maplibre-gl-js/pull/3459)) - this also changed how `addSourceType` works since now you'll need to load the script with `maplibregl.importScriptInWorkers`.
615
- Upgraded to use Node JS 20 and removed the dependency of `gl` package from the tests to allow easier develpment setup.
716
- Improved precision and added a subtle fade transition to marker opacity changes ([#3431](https://github.com/maplibre/maplibre-gl-js/pull/3431))
817
- Adds support for terrain in `setStyle` with diff method ([#3515](https://github.com/maplibre/maplibre-gl-js/pull/3515), [#3463](https://github.com/maplibre/maplibre-gl-js/pull/3463))
9-
- _...Add new stuff here..._
1018

1119
### 🐞 Bug fixes
1220

1321
- Fix the shifted mouse events after a css transform scale on the map container ([#3437](https://github.com/maplibre/maplibre-gl-js/pull/3437))
1422
- Fix markers remaining transparent when disabling terrain ([#3431](https://github.com/maplibre/maplibre-gl-js/pull/3431))
1523
- Fix labels disappearing when enabling terrain at high zoom ([#3545](https://github.com/maplibre/maplibre-gl-js/pull/3545))
16-
- _...Add new stuff here..._
1724

1825
## 4.0.0-pre.2
1926

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "maplibre-gl",
33
"description": "BSD licensed community fork of mapbox-gl, a WebGL interactive maps library",
4-
"version": "4.0.0-pre.2",
4+
"version": "4.0.0-pre.3",
55
"main": "dist/maplibre-gl.js",
66
"style": "dist/maplibre-gl.css",
77
"license": "BSD-3-Clause",

test/integration/browser/browser.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,14 +264,14 @@ describe('Browser tests', () => {
264264

265265
return new Promise<any>((resolve) => {
266266
map.once('idle', () => {
267-
map.setTerrain({source: 'terrainSource'});
268267
map.once('idle', () => {
269268
const markerBounding = marker.getElement().getBoundingClientRect();
270269
resolve({
271270
x: markerBounding.x,
272271
y: markerBounding.y
273272
});
274273
});
274+
map.setTerrain({source: 'terrainSource'});
275275
});
276276
});
277277
});

test/integration/query/query.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,14 +159,13 @@ describe('query tests', () => {
159159
globPattern = globPattern.replace(/\\/g, '/');
160160
const testStyles = globSync(globPattern);
161161

162-
for (const [testindex, styleJson] of testStyles.entries()) {
162+
for (const styleJson of testStyles) {
163163
const testCaseRoot = path.dirname(styleJson.replace(/\\/g, '/')); // glob is returning paths that dirname can't handle...
164164
const caseName = path.relative(allTestsRoot, testCaseRoot);
165165
// eslint-disable-next-line no-loop-func
166166
test(caseName, async () => {
167167
const port = (server.address() as AddressInfo).port;
168168
const fixture = await dirToJson(testCaseRoot, port);
169-
console.log(`${testindex + 1} / ${testStyles.length}: ${caseName}`);
170169

171170
const style = fixture.style;
172171
const options = style.metadata.test;

0 commit comments

Comments
 (0)