Skip to content

Releases: Vizzuality/half-earth-v3

8.1.0

02 Aug 15:04
2605319
Compare
Choose a tag to compare

Main changes

  • Update to About the Map members list
  • Update to Search control for Analyze Area in Data Globe
    • Display results containing search term, not just results that start with search term
  • Ability to scroll list of search results
    • Updated results to display more than 6 and allowed visitors to scroll
  • Text wrap selected region/country name if too long

8.0.0

10 Jul 07:18
Compare
Choose a tag to compare

Main changes

  • Update node to 20.5
  • Update birds south-america layer
  • Updte ArcGIS js to 4.30
  • Change bundler to Vite
  • Change esri-loader to @arcgis-loader
  • Update React to 17

Updates:

React updated to 17 (This change was made to support the Vite change)

Esri-loader library replaced by @arcgis/core This change was made because the esri-loader library was deprecated in arcgisjs 4.29.

Create react app (react-app-rewired) replaced by Vite. This change was made as react-app-rewired was "lightly maintained" as their page says. This made very difficult any further changes. With vite we have a simple packing system that we will be able to evolve. A further step could be using Next.js but that will require many more changes.

Removed unnecesary dependencies

Icons are now imported no more as:
import { ReactComponent as IconArrow } from 'icons/arrow_right.svg';
but now:
import IconArrow from 'icons/arrow_right.svg?react';

Important:

I have updated the environment variables on vercel, everything that started before REACT_APP_ should be VITE_APP_ now.

Vite creates the bundle on the dist directory so I added a vercel.json that overrides the folder build directory with the following content:

{
"outputDirectory": "dist"
}
Once this is deployed to production we will be able to change the folder build directory directly on Vercel and we won't need this file anymore.

Race condition problems with react 17
There were some race condition problems in React 17 with the system that we have to registry the redux modules based on http://nicolasgallagher.com/redux-modules-and-code-splitting/
Basically the data was tried to be loaded before the module was registered so it wasn't ready and empty once it was registered.
The temporary solution was to load the affected modules directly on the store file avoiding the redux splitting.

My recommendation is to change to redux-toolkit all the redux system and use slices so we have a more robust redux without sacrificing data splitting.

This also could bring us the opportunity to integrate it with react-query and improve the cache on each query.

What's Changed

Full Changelog: v.7.15.0...v.8.0.0

v.7.15.0

27 Feb 09:23
Compare
Choose a tag to compare

What's Changed

Full Changelog: v.7.14.0...v.7.15.0

7.14.0

21 Nov 09:16
1edc0fe
Compare
Choose a tag to compare

What's Changed

  • Add new basemap for AOIs:

Full Changelog: v.7.13.0...v.7.14.0

7.13.0

02 Nov 12:12
Compare
Choose a tag to compare

What's Changed

Full Changelog: v.7.12.0...v.7.13.0

7.12.0

05 Oct 09:08
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v.7.11.0...v.7.12.0

7.11.0

7.10.0

29 Jun 07:37
df14439
Compare
Choose a tag to compare

What's Changed

Full Changelog: v.7.9.3...v.7.10.0

7.9.3

23 Jun 08:09
Compare
Choose a tag to compare

What's Changed

Full Changelog: v.7.9.2...v.7.9.3

7.9.2

29 May 17:58
Compare
Choose a tag to compare
  • Fix drop upload bug for the data globe AOI shapefiles

Full Changelog: v.7.9.1...v.7.9.2