diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 7dfa5e1d..ac0c9d67 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -54,6 +54,7 @@ jobs: - '8.1.0' - '8.2.0' - '9.0.0' + - '9.1.0' steps: - run: echo "::add-mask::${{ secrets.STADIA_MAPS_API_KEY }}" diff --git a/.github/workflows/test-npm.yml b/.github/workflows/test-npm.yml index 291c8907..29a72f35 100644 --- a/.github/workflows/test-npm.yml +++ b/.github/workflows/test-npm.yml @@ -45,7 +45,7 @@ jobs: run: | cd rlayers-npm-tests/cra-js npm install - npm i rlayers@${{ github.event.inputs.version }} ol@9.0.0 + npm i rlayers@${{ github.event.inputs.version }} ol@9.1.0 npm run build cra_ts: @@ -57,7 +57,7 @@ jobs: run: | cd rlayers-npm-tests/cra-ts npm install - npm i rlayers@${{ github.event.inputs.version }} ol@9.0.0 + npm i rlayers@${{ github.event.inputs.version }} ol@9.1.0 npm run build cra_react18_js: @@ -69,7 +69,7 @@ jobs: run: | cd rlayers-npm-tests/cra-react18-js npm install - npm i rlayers@${{ github.event.inputs.version }} ol@9.0.0 + npm i rlayers@${{ github.event.inputs.version }} ol@9.1.0 npm run build cra_react18_ts: @@ -81,7 +81,7 @@ jobs: run: | cd rlayers-npm-tests/cra-react18-ts npm install - npm i rlayers@${{ github.event.inputs.version }} ol@9.0.0 + npm i rlayers@${{ github.event.inputs.version }} ol@9.1.0 npm run build cra_react18_1_js: @@ -93,7 +93,7 @@ jobs: run: | cd rlayers-npm-tests/cra-react18-1-js npm install - npm i rlayers@${{ github.event.inputs.version }} ol@9.0.0 + npm i rlayers@${{ github.event.inputs.version }} ol@9.1.0 npm run build cra_react18_1_ts: @@ -105,7 +105,7 @@ jobs: run: | cd rlayers-npm-tests/cra-react18-1-ts npm install - npm i rlayers@${{ github.event.inputs.version }} ol@9.0.0 + npm i rlayers@${{ github.event.inputs.version }} ol@9.1.0 npm run build cra_react18_2_js: @@ -117,7 +117,7 @@ jobs: run: | cd rlayers-npm-tests/cra-react18-2-js npm install - npm i rlayers@${{ github.event.inputs.version }} ol@9.0.0 + npm i rlayers@${{ github.event.inputs.version }} ol@9.1.0 npm run build cra_react18_2_ts: @@ -129,7 +129,7 @@ jobs: run: | cd rlayers-npm-tests/cra-react18-2-ts npm install - npm i rlayers@${{ github.event.inputs.version }} ol@9.0.0 + npm i rlayers@${{ github.event.inputs.version }} ol@9.1.0 npm run build nextjs12: @@ -145,7 +145,7 @@ jobs: run: | cd rlayers-npm-tests/next12 npm install - npm i rlayers@${{ github.event.inputs.version }} ol@9.0.0 + npm i rlayers@${{ github.event.inputs.version }} ol@9.1.0 npm run build nextjs13: @@ -157,7 +157,7 @@ jobs: run: | cd rlayers-npm-tests/next13 npm install - npm i rlayers@${{ github.event.inputs.version }} ol@9.0.0 + npm i rlayers@${{ github.event.inputs.version }} ol@9.1.0 npm run build nextjs13-esm: @@ -169,5 +169,5 @@ jobs: run: | cd rlayers-npm-tests/next13-esm npm install - npm i rlayers@${{ github.event.inputs.version }} ol@9.0.0 + npm i rlayers@${{ github.event.inputs.version }} ol@9.1.0 npm run build diff --git a/CHANGELOG.md b/CHANGELOG.md index c1cbc22b..3138d938 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,8 +5,9 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -# [2.3.1] +### [2.3.1] +- Support OpenLayers 9.1.0 - Fix [#220](https://github.com/mmomtchev/rlayers/issues/220), use correct event names for `RModify` in TypeScript ## [2.3.0] 2024-02-27 diff --git a/README.md b/README.md index 033f69e2..43c5f861 100644 --- a/README.md +++ b/README.md @@ -53,17 +53,17 @@ _React_ is supported from version 16.8.0. --- -| rlayers | Unit-tested _OpenLayers_ versions | Unit-tested _React_ versions | -| ---------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------- | -| 1.0 (_obsolete_) | 6.0 | 16.8, 16.14, 17.0.2 | -| 1.1 (_obsolete_) | 6.6, 6.7, 6.8, 6.9 | 16.8, 16.14, 17.0.2 | -| 1.2 (_obsolete_) | 6.6, 6.7, 6.8, 6.9 | 16.8, 16.14, 17.0.2 | -| 1.3 (_obsolete_) | 6.10, 6.11, 6.12, 6.13, 6.14, 6.14.1 | 16.8, 16.14, 17.0.2, 18.0.0 | -| 1.4 (_obsolete_) | 6.10, 6.11, 6.12, 6.13, 6.14, 6.14.1, 6.15, 6.15.1, 7.0.0, 7.1.0, 7.2.0, 7.2.2, 7.3.0 | 16.8, 16.14, 17.0.2, 18.0.0, 18.1.0, 18.2.0 | -| 1.5 (_obsolete_) | 6.10, 6.11, 6.12, 6.13, 6.14, 6.14.1, 6.15, 6.15.1, 7.0.0, 7.1.0, 7.2.0, 7.2.2, 7.3.0, 7.4.0 | 16.8, 16.14, 17.0.2, 18.0.0, 18.1.0, 18.2.0 | -| 2.0 | 6.10, 6.11, 6.12, 6.13, 6.14, 6.14.1, 6.15, 6.15.1, 7.0.0, 7.1.0, 7.2.0, 7.2.2, 7.3.0, 7.4.0, 7.5.1 | 16.8, 16.14, 17.0.2, 18.0.0, 18.1.0, 18.2.0 | -| 2.1 `(@latest)` | 6.10, 6.11, 6.12, 6.13, 6.14, 6.14.1, 6.15, 6.15.1, 7.0.0, 7.1.0, 7.2.0, 7.2.2, 7.3.0, 7.4.0, 7.5.1, 8.0.0, 8.1.0 | 16.8, 16.14, 17.0.2, 18.0.0, 18.1.0, 18.2.0 | -| 2.2 `(@next)` | 6.10, 6.11, 6.12, 6.13, 6.14, 6.14.1, 6.15, 6.15.1, 7.0.0, 7.1.0, 7.2.0, 7.2.2, 7.3.0, 7.4.0, 7.5.1, 8.0.0, 8.1.0, 8.2.0, 9.0.0 | 16.8, 16.14, 17.0.2, 18.0.0, 18.1.0, 18.2.0 | +| rlayers | Unit-tested _OpenLayers_ versions | Unit-tested _React_ versions | +| ---------------- | -------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------- | +| 1.0 (_obsolete_) | 6.0 | 16.8, 16.14, 17.0.2 | +| 1.1 (_obsolete_) | 6.6, 6.7, 6.8, 6.9 | 16.8, 16.14, 17.0.2 | +| 1.2 (_obsolete_) | 6.6, 6.7, 6.8, 6.9 | 16.8, 16.14, 17.0.2 | +| 1.3 (_obsolete_) | 6.10, 6.11, 6.12, 6.13, 6.14, 6.14.1 | 16.8, 16.14, 17.0.2, 18.0.0 | +| 1.4 (_obsolete_) | 6.10, 6.11, 6.12, 6.13, 6.14, 6.14.1, 6.15, 6.15.1, 7.0.0, 7.1.0, 7.2.0, 7.2.2, 7.3.0 | 16.8, 16.14, 17.0.2, 18.0.0, 18.1.0, 18.2.0 | +| 1.5 (_obsolete_) | 6.10, 6.11, 6.12, 6.13, 6.14, 6.14.1, 6.15, 6.15.1, 7.0.0, 7.1.0, 7.2.0, 7.2.2, 7.3.0, 7.4.0 | 16.8, 16.14, 17.0.2, 18.0.0, 18.1.0, 18.2.0 | +| 2.0 | 6.10, 6.11, 6.12, 6.13, 6.14, 6.14.1, 6.15, 6.15.1, 7.0.0, 7.1.0, 7.2.0, 7.2.2, 7.3.0, 7.4.0, 7.5.1 | 16.8, 16.14, 17.0.2, 18.0.0, 18.1.0, 18.2.0 | +| 2.1 `(@latest)` | 6.10, 6.11, 6.12, 6.13, 6.14, 6.14.1, 6.15, 6.15.1, 7.0.0, 7.1.0, 7.2.0, 7.2.2, 7.3.0, 7.4.0, 7.5.1, 8.0.0, 8.1.0 | 16.8, 16.14, 17.0.2, 18.0.0, 18.1.0, 18.2.0 | +| 2.2 `(@next)` | 6.10, 6.11, 6.12, 6.13, 6.14, 6.14.1, 6.15, 6.15.1, 7.0.0, 7.1.0, 7.2.0, 7.2.2, 7.3.0, 7.4.0, 7.5.1, 8.0.0, 8.1.0, 8.2.0, 9.0.0, 9.1.0 | 16.8, 16.14, 17.0.2, 18.0.0, 18.1.0, 18.2.0 | --- diff --git a/package.json b/package.json index 3592238c..269819d0 100644 --- a/package.json +++ b/package.json @@ -93,7 +93,7 @@ "lru-cache": "^10.2.0" }, "peerDependencies": { - "ol": ">=6.10.0 <9.1.0", + "ol": ">=6.10.0 <9.2.0", "react": ">=16.8", "react-dom": ">=16.8" }, @@ -134,8 +134,8 @@ "jest-environment-jsdom": "^29.4.3", "markdown-loader": "^8.0.0", "null-loader": "^4.0.1", - "ol": "^9.0.0", - "ol-mbtiles": "^2.2.0", + "ol": "^9.1.0", + "ol-mbtiles": "^2.3.0", "prettier": "2.8.8", "prism-themes": "^1.6.0", "prismjs": "^1.28.0",