UNPKG

2.64 kBMarkdownView Raw
1## 2.0.0
2
3**This is the first stable release of geojsonhint that supports the [IETF GeoJSON standard](https://tools.ietf.org/html/rfc7946)**
4
5* Fixes winding order reversal from beta releases.
6
7## 2.0.0-beta2
8
9* Fix missing `bin` directory from beta1 release.
10
11## 2.0.0-beta1
12
13* geojsonhint.js has been removed from this repository: it's a built file,
14 useful for people who want to include geojson as a script tag. That file
15 will still be available on unpkg, which is documented in the readme. This
16 change ensures that contributors don't accidentally mess with the geojsonhint.js
17 built file when they should be editing the source files in `lib`: now the
18 repository contains only source files.
19* vfile and vfile-reporter are upgraded. output is slightly different in formatting
20 but functionally the same.
21
22## 2.0.0-beta
23
24* 2.0.0 will be released once the IETF Draft graduates to a specification
25* geojsonhint now validates according to the [IETF specification of GeoJSON](https://datatracker.ietf.org/wg/geojson/documents/),
26 which includes useful improvements in clarity.
27* we now use `vfile` for fancier message formatting in output
28* geojsonhint includes both warnings and errors now, so it can warn about
29 things that are not technically wrong but can be improved, and enforce
30 recommendations of the specification.
31
32## 1.2.1
33
34* Fixes a case where coordinate arrays that aren't nested deeply would trigger
35 an uncaught exception
36* Improves test coverage
37
38## 1.2.0
39
40* Introduces a new option, `noDuplicateMembers`, and a stricter default
41 behavior: repeated properties, which are ambiguous in JSON, are now forbidden
42 by default with geojsonhint.
43
44## 1.1.0
45
46* Adds purely object-based api, accessible via `require('geojsonhint/object')`.
47 This is useful for performance-intensive browser libraries.
48* Boosts code coverage testing to 100%
49
50## 1.0.0
51
52* Declares the public API
53* This adds compatibility with objects as well as strings, and adds
54 a benchmark to confirm that it's faster.
55* Adds a .npmignore so that `npm install geojson` is significantly
56 more efficient - excludes 496kb of testing fixtures
57* Adds JSDoc comment to the source
58
59## 0.3.4
60
61* Tolerates `id` properties as numbers as well as strings, to match
62 the actual specification.
63
64## 0.3.3
65
66* Enforces the type of the Feature.id property
67
68## 0.3.2
69
70* Detects & reports incorrectly nested LinearRing arrays
71
72## 0.3.0
73
74* Now uses `tap` for tests
75* Modernized binary supports streams
76
77## 0.2.0
78
79* JSON parse errors are now parsed and output as objects rather than raw
80 errors with strings.
81* Stricter checking of LinearRing and Line coordinate length.