Repository navigation
Summary
This release brings several bugfixes and backports from main, including corrections to the solr config (#1932) and fixes for errors in the Leaflet (#1872) and OpenLayers (#1968) viewers.
It also provides the ability to configure a basemap via a full URL including an API key, which allows users to avoid the watermarks that CARTO recently added to its raster basemap services (#1958). For more information on how to do this, see below.
Lastly, this release includes a set of deprecation warnings indicating content that was changed or removed in the upcoming GeoBlacklight version 6, to help users prepare to migrate. These warnings may continue to evolve in future releases as v6 moves closer to a full production release.
Supplying a CARTO API key
To do this in version v5.4.0, request a free API key, then add a url key to BASEMAPS in settings.yml that includes your API key:
LEAFLET:
BASEMAPS:
positron:
url: 'https://basemaps.cartocdn.com/light_all/{z}/{x}/{y}{retina}.png?key=YOUR_KEY'Then set basemap_provider in your CatalogController to point to the desired key from BASEMAPS:
# Configure basemap provider for GeoBlacklight maps (uses https only basemap
# providers with open licenses)
# Valid basemaps include:
# 'positron'
# 'darkMatter'
# 'positronLite'
# 'openstreetmapHot'
# 'openstreetmapStandard'
#
# To change one of these basemaps' tile URLs, or to add a basemap of your
# own and name it here, set LEAFLET.BASEMAPS in settings.yml
config.basemap_provider = "positron"The two OpenStreetMap basemap offerings don't require an API key, but some of the older presets (worldAntique, worldEco, flatBlue, and midnightCommander) have been retired by CARTO and are no longer available as of this version.
Note that this settings.yml change will also affect the OpenLayers viewer. If your application already modifies GeoBlacklight.Basemaps in javascript, that code will override settings.yml, so you'll want to instead make the change there.
What's Changed
- Deprecate USE_GEOM_FOR_RELATIONS_ICON by @jcoyne in #1783
- [backport] Don't wait for basemap tiles when running the feature tests with javascript by @thatbudakguy in #1878
- [Backport 5.x] Import leaflet functions during inspection to fix overlay crash for point and line data by @chrisrlc in #1872
- Fix dead relevance boosts: qf/pf referenced unpopulated *_ti fields (5.x backport) by @thatbudakguy in #1932
- Depend on standard directly rather than the standardrb alias by @thatbudakguy in #1954
- Require selenium-webdriver >= 4.11 by @thatbudakguy in #1950
- Let applications configure basemap tile URLs by @thatbudakguy in #1958
- Don't force OpenLayers to convert COGs to RGB by @thatbudakguy in #1968
- Add deprecation warnings for content changed in v6 by @thatbudakguy in #1939
- Bump version to v5.4.0 by @thatbudakguy in #1969
Full Changelog: v5.3.0...v5.4.0