Releases: M-Scott-Lassiter/jest-geojson
Releases Β· M-Scott-Lassiter/jest-geojson
v1.6.0
1.6.0 (2022-06-12)
π§ API Documentation Changes
- toHaveGeometryCount: improve error messages and description for nested GeometryCollections behavior (01fe745)
π Bug Fixes
- toHaveGeometryCount: correct issue where empty collections would fail when provided with a valid range (93dadff), closes #58
π Feature Changes
v1.5.0
v1.4.0
v1.3.0
v1.2.0
v1.1.0
v1.0.0
1.0.0 (2022-06-02)
π§ API Documentation Changes
- toBeMultiLineStringGeometry: add the min point count error to the JSDoc API (01f6c4b)
- change JSDoc param types to avoid using GeoJSON unknown types (06ac03a)
- all: cleanup JSDoc formatting and standardize API examples (300a96d)
- update JSDoc descriptions of coordinate core functions (f5658f3)
- update JSDoc organization (7ab7eca)
- isValidCoordinate: update returns description (70bd43e)
- isValidCoordinate: update the error and parameter descriptions (7e3e8ed)
π Bug Fixes
- add bounding box validity checking to geometry core functions and matchers (ac6a9a1), closes /datatracker.ietf.org/doc/html/rfc7946#section-5 #9 #10 #11 #12 #13 #14 #16 #29
- toBeLineStringGeometry: prohibit single coordinate in "coordinates" member (ee5de52), closes /datatracker.ietf.org/doc/html/rfc7946#section-3 #11
π― Test Changes
- add 'Feature' and 'FeatureCollection' to test list of disallowed geometry type values (f139a09)
- toBeLineStringGeometry: add a stress test with many points (22df5c7)
- toBeGeometryCollection: add an unrecognizable geometry to the invalid tests (5c041c6)
- toBeGeometryCollection: add robust snapshot tests, verify coordinates treated as foreign member (472d12d), closes #32 #33
- isValid2DBoundingBox: add robust snapshot tests (4363710), closes #32
- isValid2DCoordinate: add robust snapshot tests (ae92f67), closes #32
- isValid3DBoundingBox: add robust snapshot tests (a37ec48), closes #32
- isValid3DCoordinate: add robust snapshot tests (56fbf92), closes #32
- isValidBoundingBox: add robust snapshot tests (063b94e), closes #32
- isValidCoordinate: add robust snapshot tests (7b4a804), closes #32
- toBeAnyGeometry: add robust snapshot tests (8a6e611), closes #32
- toBeLineStringGeometry: add robust snapshot tests (cfaed46), closes #32
- toBeMultiLineStringGeometry: add robust snapshot tests (57dc767), closes #32
- toBeMultiPointGeometry: add robust snapshot tests (36013e1), closes #32
- toBeMultiPolygonGeometry: add robust snapshot tests (df1c23a), closes #32
- toBePointGeometry: add robust snapshot tests (fd5c516), closes #32
- toBePolygonGeometry: add robust snapshot tests (1c9df69), closes #32
- toBeMultiLineStringGeometry: fix coordinate out of range test that (d6fe2ac)
- toBeMultiPointGeometry: fix typo in test and core function that was omitting coverage (bc10f4e)
- isValid2DBoundingBox: fix typo in test descriptions (df94c27)
- setup the project testing framework (6a95c37)
π Feature Changes
- isValid2DBoundingBox: add new matcher function (7fe56f3), closes #6
- isValid2DCoordinate: add new matcher function (527bbc4), closes #1
- isValid3DCoordinate: add new matcher function (0329231), closes #2
- isValidCoordinate: add new matcher function (d7e5b70), closes #4
- isValid3DBoundingBox: add new matcher (6ee8cc6), closes #7
- isValidBoundingBox: add new matcher (9a8b7ed), closes #8
- toBeAnyGeometry: add new matcher (ed7c3eb), closes #15
- toBeFeature: add new matcher (551aa7f), closes #32 #24
- toBeFeatureCollection: add new matcher (21fe044), closes #25
- toBeGeometryCollection: add new matcher (63cc919), closes #16
- toBeLineStringGeometry: add new matcher (54416a5), closes #11
- toBeMultiLineStringGeometry: add new matcher ([3d3a15e](https://github.com/M-Scott-L...
v1.0.0-beta.16
1.0.0-beta.16 (2022-06-02)
π Feature Changes
v1.0.0-beta.15
1.0.0-beta.15 (2022-06-02)
π Feature Changes
π― Test Changes
- add 'Feature' and 'FeatureCollection' to test list of disallowed geometry type values (f139a09)
- toBeGeometryCollection: add an unrecognizable geometry to the invalid tests (5c041c6)
- toBeGeometryCollection: add robust snapshot tests, verify coordinates treated as foreign member (472d12d), closes #32 #33
- isValid2DBoundingBox: add robust snapshot tests (4363710), closes #32
- isValid2DCoordinate: add robust snapshot tests (ae92f67), closes #32
- isValid3DBoundingBox: add robust snapshot tests (a37ec48), closes #32
- isValid3DCoordinate: add robust snapshot tests (56fbf92), closes #32
- isValidBoundingBox: add robust snapshot tests (063b94e), closes #32
- isValidCoordinate: add robust snapshot tests (7b4a804), closes #32
- toBeAnyGeometry: add robust snapshot tests (8a6e611), closes #32
- toBeLineStringGeometry: add robust snapshot tests (cfaed46), closes #32
- toBeMultiLineStringGeometry: add robust snapshot tests (57dc767), closes #32
- toBeMultiPointGeometry: add robust snapshot tests (36013e1), closes #32
- toBeMultiPolygonGeometry: add robust snapshot tests (df1c23a), closes #32
- toBePointGeometry: add robust snapshot tests (fd5c516), closes #32
- toBePolygonGeometry: add robust snapshot tests (1c9df69), closes #32