orb v0.2.0 Release Notes
Release Date: 2021-01-16 // about 3 years ago-
💥 Breaking Changes
Foreign Members in Feature Collections
Extra attributes in a feature collection object will now be put into
featureCollection.ExtraMembers
. Similarly, stuff in `ExtraMembers will be marshalled into the feature collection base. The break happens if you were decoding these foreign members using something liketype MyFeatureCollection struct { geojson.FeatureCollection Title string `json:"title"` }
The above will no longer work in this release and it never supported marshalling. See https://github.com/paulmach/orb/pull/56 for more details.
Features with nil/missing geometry will no longer return an errors
Previously missing or invalid geometry in a feature collection would return a
ErrInvalidGeometry
error. However missing geometry is compliant with section 3.2 of the spec. See https://github.com/paulmach/orb/issues/38 and https://github.com/paulmach/orb/pull/58 for more details.
🔄 Changed
- 👀 encoding/mvt: faster unmarshalling for Mapbox Vector Tiles (MVT) see https://github.com/paulmach/orb/pull/57