|  | 
| 1 | 1 | # Changes | 
| 2 | 2 | 
 | 
|  | 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 | + | 
| 3 | 36 | ## Version 0.1.1-alpha (2022-05-09) | 
| 4 | 37 | 
 | 
| 5 | 38 | - 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