Bump ol from 10.3.1 to 10.4.0 (#1041)

Bumps [ol](https://github.com/openlayers/openlayers) from 10.3.1 to
10.4.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/openlayers/openlayers/releases">ol's
releases</a>.</em></p>
<blockquote>
<h2>v10.4.0</h2>
<p>With more than 40 pull requests, the 10.4 release brings performance
improvements, bug fixes, better TypeScript generics and new features.
New features include a convenience <code>Image</code> layer loader for
debugging MapServer map files using the MapServer CGI API, and an
experimental <code>WebGLVectorTile</code> layer.</p>
<h2>Upgrade notes</h2>
<h3>Deprecation of ol/layer/WebGLPoints</h3>
<p>Use <code>ol/layer/WebGLVector</code> instead. Besides rendering
points it will also render lines and polygons.
In most cases this is a drop-in replacement. To use filtering the style
and filter have to be in a nested object.</p>
<pre lang="js"><code>// Before
new WebGLPointsLayer({
filter: ['between', ['get', 'year'], ['var', 'minYear'], ['var',
'maxYear']],
  style: {
    'circle-radius': 8,
    'circle-fill-color': 'blue',
  },
  source: vectorSource,
})
<p>// After
new WebGLVectorLayer({
style: [{
filter: ['between', ['get', 'year'], ['var', 'minYear'], ['var',
'maxYear']],
style: {
'circle-radius': 8,
'circle-fill-color': 'blue',
},
}],
source: vectorSource,
})
</code></pre></p>
<h3>ol-mapbox-style compatibility</h3>
<p>This version of OpenLayers is only compatible with
<code>ol-mapbox-style@12.4.0</code> or higher.</p>
<h3>Returning false from a one-time listener added with
<code>once</code></h3>
<p>Returning false from the listener function will now stop propagation,
when the listener is added with <code>once</code>.
Previously this only worked with the <code>on</code> method.</p>
<h4>The <code>filter</code> option for <code>WebGLPointsLayer</code> has
changed</h4>
<p>The filter option for the <code>WebGLPointsLayer</code> must now be
specified alongside other options instead of being part of the
<code>style</code> object. Note that the <code>WebGLPointsLayer</code>
is not part of the stable API and is subject to breaking changes between
major releases.</p>
<pre lang="js"><code>// Before
new WebGLPointsLayer({
  style: {
&lt;/tr&gt;&lt;/table&gt; 
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/openlayers/openlayers/commit/85219a86c52428e7736957e7255f45a34e645cef"><code>85219a8</code></a>
Updates for the 10.4.0 release</li>
<li><a
href="https://github.com/openlayers/openlayers/commit/b8306d3f538f2633a50dab90818631ad35e6b3f3"><code>b8306d3</code></a>
Merge pull request <a
href="https://redirect.github.com/openlayers/openlayers/issues/16591">#16591</a>
from geographika/mapserver-source</li>
<li><a
href="https://github.com/openlayers/openlayers/commit/2262a6a79c0f13d4008c9f36bee2701a3a820493"><code>2262a6a</code></a>
Fix typo</li>
<li><a
href="https://github.com/openlayers/openlayers/commit/b79ccdf1ac5ff8051132b056fab3ae526d49fabb"><code>b79ccdf</code></a>
Update comments</li>
<li><a
href="https://github.com/openlayers/openlayers/commit/7549ac61e9555d3e7be0d11a2f22cdff32061295"><code>7549ac6</code></a>
Update test/browser/spec/ol/source/mapserver.test.js</li>
<li><a
href="https://github.com/openlayers/openlayers/commit/9b358c6f0a5a0b0e0fdff3dba4380ce0941b1a15"><code>9b358c6</code></a>
Update file names and title to include CGI</li>
<li><a
href="https://github.com/openlayers/openlayers/commit/5590f983490e3dd48beb279cd9f0494dd2ac715d"><code>5590f98</code></a>
Remove map from test and test all querystring parameters are set
correctly</li>
<li><a
href="https://github.com/openlayers/openlayers/commit/698c82ee7e7ec085fcbda19e9632552b0eeea623"><code>698c82e</code></a>
Update tests</li>
<li><a
href="https://github.com/openlayers/openlayers/commit/c7a99bfb36c1cdd93e7560408e2b051cf0e389cc"><code>c7a99bf</code></a>
Add mapserver.js</li>
<li><a
href="https://github.com/openlayers/openlayers/commit/b8a98dfe76fb04ce15d340a5415409f7135e95f1"><code>b8a98df</code></a>
Add createLoader function for MapServer layers with example and
tests</li>
<li>Additional commits viewable in <a
href="https://github.com/openlayers/openlayers/compare/v10.3.1...v10.4.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ol&package-manager=npm_and_yarn&previous-version=10.3.1&new-version=10.4.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
dependabot[bot]
2025-01-30 13:43:58 +00:00
committed by GitHub
parent 1692138e51
commit 3dde66b6e9
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -52,7 +52,7 @@
"lodash.throttle": "^4.1.1",
"maplibre-gl": "^5.1.0",
"maputnik-design": "github:maputnik/design#172b06c",
"ol": "^10.3.1",
"ol": "^10.4.0",
"ol-mapbox-style": "^12.4.0",
"pmtiles": "^4.1.0",
"prop-types": "^15.8.1",