tileserver-gl 5.1.0-pre.1 → 5.1.1-pre.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -144,7 +144,7 @@ jobs:
144
144
  bodyFile: changelog_for_version.md
145
145
  allowUpdates: true
146
146
  draft: false
147
- prerelease: ${{ env.PRERELEASE }}
147
+ prerelease: ${{ steps.prepare_release.outputs.prerelease }}
148
148
 
149
149
  - name: Create Tileserver Light Directory
150
150
  run: node publish.js --no-publish
package/CHANGELOG.md CHANGED
@@ -1,6 +1,9 @@
1
1
  # tileserver-gl changelog
2
2
 
3
- ## 5.1.0-pre.1
3
+ ## 5.1.1-pre.0
4
+ * Fix wrong node version in Docker image (https://github.com/maptiler/tileserver-gl/pull/1438) by @acalcutt
5
+
6
+ ## 5.1.0
4
7
  * Update recommended node to v22 + Update docker images to use node 22 (https://github.com/maptiler/tileserver-gl/pull/1438) by @acalcutt
5
8
  * Upgrade Express to v5 + Canvas to v3 + code cleanup (https://github.com/maptiler/tileserver-gl/pull/1429) by @acalcutt
6
9
  * Terrain Preview and simple Elevation Query (https://github.com/maptiler/tileserver-gl/pull/1425 and https://github.com/maptiler/tileserver-gl/pull/1432) by @okimiko
@@ -10,4 +13,4 @@
10
13
  * Update Maplibre-Native to [v6.0.0](https://github.com/maplibre/maplibre-native/releases/tag/node-v6.0.0) release by @acalcutt in https://github.com/maptiler/tileserver-gl/pull/1376 and @dependabot in https://github.com/maptiler/tileserver-gl/pull/1381
11
14
  * This first release that use Metal for rendering instead of OpenGL (ES) for macOS.
12
15
  * This the first release that uses OpenGL (ES) 3.0 on Windows and Linux
13
- * Note: Windows users may need to update their [c++ redistributable ](https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170) for maplibre-native v6.0.0
16
+ * Note: Windows users may need to update their [c++ redistributable ](https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170) for maplibre-native v6.0.0
package/Dockerfile CHANGED
@@ -94,7 +94,7 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
94
94
 
95
95
  RUN mkdir -p /etc/apt/keyrings; \
96
96
  curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg; \
97
- echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list; \
97
+ echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_22.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list; \
98
98
  apt-get -qq update; \
99
99
  apt-get install -y nodejs; \
100
100
  npm i -g npm@latest; \
package/Dockerfile_test CHANGED
@@ -13,7 +13,8 @@ RUN set -ex; \
13
13
  unzip \
14
14
  build-essential \
15
15
  ca-certificates \
16
- wget \
16
+ curl \
17
+ gnupg \
17
18
  pkg-config \
18
19
  xvfb \
19
20
  libglfw3-dev \
@@ -25,16 +26,33 @@ RUN set -ex; \
25
26
  libjpeg-dev \
26
27
  libgif-dev \
27
28
  librsvg2-dev \
29
+ gir1.2-rsvg-2.0 \
30
+ librsvg2-2 \
31
+ librsvg2-common \
28
32
  libcurl4-openssl-dev \
29
- libpixman-1-dev; \
30
- wget -qO- https://deb.nodesource.com/setup_18.x | bash; \
33
+ libpixman-1-dev \
34
+ libpixman-1-0; \
35
+ apt-get -y --purge autoremove; \
36
+ apt-get clean; \
37
+ rm -rf /var/lib/apt/lists/*;
38
+
39
+ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
40
+
41
+ RUN mkdir -p /etc/apt/keyrings; \
42
+ curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg; \
43
+ echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_22.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list; \
44
+ apt-get -qq update; \
31
45
  apt-get install -y nodejs; \
32
- apt-get clean;
46
+ npm i -g npm@latest; \
47
+ apt-get -y remove gnupg; \
48
+ apt-get -y --purge autoremove; \
49
+ apt-get clean; \
50
+ rm -rf /var/lib/apt/lists/*;
33
51
 
34
52
  RUN mkdir -p /usr/src/app
35
53
  WORKDIR /usr/src/app
36
54
 
37
- RUN wget -O test_data.zip https://github.com/maptiler/tileserver-gl/releases/download/v1.3.0/test_data.zip; \
55
+ RUN curl -L -o test_data.zip https://github.com/maptiler/tileserver-gl/releases/download/v1.3.0/test_data.zip; \
38
56
  unzip -q test_data.zip -d test_data
39
57
 
40
58
  COPY package.json .
package/README.md CHANGED
@@ -43,7 +43,7 @@ An alternative to npm to start the packed software easier is to install [Docker]
43
43
  Example using a mbtiles file
44
44
  ```bash
45
45
  wget https://github.com/maptiler/tileserver-gl/releases/download/v1.3.0/zurich_switzerland.mbtiles
46
- docker run --rm -it -v $(pwd):/data -p 8080:8080 maptiler/tileserver-gl --file zurich_switzerland.mbtiles
46
+ docker run --rm -it -v $(pwd):/data -p 8080:8080 maptiler/tileserver-gl:latest --file zurich_switzerland.mbtiles
47
47
  [in your browser, visit http://[server ip]:8080]
48
48
  ```
49
49
 
@@ -51,18 +51,18 @@ Example using a config.json + style + mbtiles file
51
51
  ```bash
52
52
  wget https://github.com/maptiler/tileserver-gl/releases/download/v1.3.0/test_data.zip
53
53
  unzip test_data.zip
54
- docker run --rm -it -v $(pwd):/data -p 8080:8080 maptiler/tileserver-gl
54
+ docker run --rm -it -v $(pwd):/data -p 8080:8080 maptiler/tileserver-gl:latest
55
55
  [in your browser, visit http://[server ip]:8080]
56
56
  ```
57
57
 
58
58
  Example using a different path
59
59
  ```bash
60
- docker run --rm -it -v /your/local/config/path:/data -p 8080:8080 maptiler/tileserver-gl
60
+ docker run --rm -it -v /your/local/config/path:/data -p 8080:8080 maptiler/tileserver-gl:latest
61
61
  ```
62
62
  replace '/your/local/config/path' with the path to your config file
63
63
 
64
64
 
65
- Alternatively, you can use the `maptiler/tileserver-gl-light` docker image instead, which is pure javascript, does not have any native dependencies, and can run anywhere, but does not contain rasterization on the server side made with Maplibre GL Native.
65
+ Alternatively, you can use the `maptiler/tileserver-gl-light:latest` docker image instead, which is pure javascript, does not have any native dependencies, and can run anywhere, but does not contain rasterization on the server side made with Maplibre GL Native.
66
66
 
67
67
  ## Getting Started with Linux cli
68
68
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tileserver-gl",
3
- "version": "5.1.0-pre.1",
3
+ "version": "5.1.1-pre.0",
4
4
  "description": "Map tile server for JSON GL styles - vector and server side generated raster tiles",
5
5
  "main": "src/main.js",
6
6
  "bin": "src/main.js",