Skip to content

Commit 0a38a4e

Browse files
authored
Update CHANGES.md
1 parent 2ecc36f commit 0a38a4e

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

CHANGES.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,38 @@
11
# Changes
22

3+
## Version 0.2.0 (2022-07-17)
4+
5+
- Package review
6+
- Package renamed from `geo-metadata-previewer-react` to `invenio-geographic-components-react`;
7+
- The classes and the concepts used in the package are now refactored;
8+
- [Storybook](https://storybook.js.org/) is now used to make the development/test easier to use and understand;
9+
- Componentes for specific pages of the InvenioRDM are now handled using the `contrib` concept.
10+
11+
- Introduced features
12+
- **Loaders**
13+
- Specialized components to enable users to load data from different sources;
14+
- Supported sources:
15+
- `GeoJSON file`: Using the GeoJSON loader, the users can upload a GeoJSON file. The validation of the GeoJSON loaded is performed using the [GeoJSON Hint](https://github.com/mapbox/geojsonhint).
16+
17+
- **Simplifiers**
18+
- Specialized component to enable users to apply geometry simplification on the fly;
19+
- Supported simplification methods:
20+
- [Bounding box](https://turfjs.org/docs/#bbox);
21+
- [Convex Hull](https://turfjs.org/docs/#convex).
22+
- The simplifiers are implemented using only [turf.js](https://turfjs.org/docs/) functions.
23+
24+
- **Reusable Formik field components**
25+
- `GeometryField`: Formik Field to define geometries using an interactive map. `Data loading` and `data simplification` are supported via `Loaders` and `Simplifiers`;
26+
- `GeographicIdentifiersField`: Formik Field to define Geographic Identifiers. This component uses the endpoint provided by the [Invenio Geographic Identifiers](https://github.com/geo-knowledge-hub/invenio-geographic-identifiers) module;
27+
- `LocationsField`: Formik Field to define Locations data (based on `GeometryField` and `GeographicIdentifiersField`). The format of the Location follows the [InvenioRDM metadata specification](https://inveniordm.docs.cern.ch/reference/metadata/#locations-0-n).
28+
29+
- **Contrib module**
30+
- Record Landing page:
31+
- `GeographicMetadataLocationViewer`: Component to enable the visualization of the Locations Field in the Record Landing Page using an Interactive Map.
32+
33+
- Deposit page:
34+
- `LocationsFieldSerializer`: Helper class to serialize the Locations field in the InvenioRDM deposit page.
35+
336
## Version 0.1.1-alpha (2022-05-09)
437

538
- Package renamed to `@geo-knowledge-hub/geo-metadata-previewer-react` using [scoped pattern](https://docs.npmjs.com/cli/v8/using-npm/scope)

0 commit comments

Comments
 (0)