CHANGES.md in datacite-mapping-0.1.17.2 vs CHANGES.md in datacite-mapping-0.2.0

- old
+ new

@@ -1,4 +1,37 @@ +## 0.2.0 + +- Datacite 4.0 support: + - reading supports both Datacite 3 and Datacite 4 + - writing now defaults to Datacite 4 + - deprecated elements will produce a warning + - Datacite 3 support via `mapping: :datacite_3` + - invalid elements (`<geoLocationPolygon/>`, `<fundingReference>`) + will be dropped, with a warning + - [IGSN](http://igsn.github.io/overview/) identifiers will be converted to Handle identifiers +- `language` and `xml:lang` attributes no longer default to `'en'` and are + now fully optional. +- `Date` now properly supports [RKMS-ISO8601](http://www.ukoln.ac.uk/metadata/dcmi/collection-RKMS-ISO8601/) + date ranges +- Remove `Datacite::Mapping.log` in favor of `warn()` +- Array fields (`subjects`, `contributors`, etc.) can no longer be set to nil; if set to + nil they will instead return an empty array. +- `:nonvalidating` mapping has been removed. Instead: + - `<subject/>` and `<description/>` tags without text are ignored on read, as are `<geoLocation>` + tags with no child elements. + - missing `<identifiers/>` and `<identifiers/>` with missing values are ignored on read, but + the `Resource` must be given a valid `Identifier` before writing it back out. + +## 0.1.18 (unreleased) + +- Datacite 4.0 support: + - read Datacite 4.0 `<fundingReference/>` tag (introduced in 0.1.17) + - read Datacite 4.0 `<geoLocationBox>` nodes with coordinates in child nodes + (`<southBoundLatitude>`, `<westBoundLongitude>`, `<northBoundLatitude>`, `<eastBoundLongitude>`) + rather than element text + - read Datacite 4.0 `<geoLocationPoint` nodes coordinates in child nodes + (`<pointLatitude>`, `<pointLongitude>`) rather than element text + ## 0.1.17.2 (19 August 2016) - Filter out `<subject/>` tags without values ## 0.1.17.1 (5 August 2016)