|
5 | 5 | (nothing yet) |
6 | 6 |
|
7 | 7 |
|
8 | | -## json 9.0.5 |
| 8 | +## 9.0.6 |
| 9 | + |
| 10 | +- [issue #107] Fix man page installation with `npm install -g json`. |
| 11 | + |
| 12 | + |
| 13 | +## 9.0.5 |
9 | 14 |
|
10 | 15 | - [issue #112] Improve streaming (json -ga) performance for very long lines. For |
11 | 16 | example, using a 35 MB JSON object on one line gave a 50x speed improvement. |
|
14 | 19 | former case is expected to be much more common, and the latter may take a |
15 | 20 | slight performance hit from this change. |
16 | 21 |
|
17 | | -## json 9.0.4 |
| 22 | +## 9.0.4 |
18 | 23 |
|
19 | 24 | - [issue #108] Fix a crash on `json foo.bar` if "foo" is null. |
20 | 25 |
|
21 | 26 |
|
22 | | -## json 9.0.3 |
| 27 | +## 9.0.3 |
23 | 28 |
|
24 | 29 | - [issue #82] Fix a race in `-I/--in-place` temp file creation. |
25 | 30 | By https://github.com/inator |
26 | 31 |
|
27 | 32 |
|
28 | | -## json 9.0.2 |
| 33 | +## 9.0.2 |
29 | 34 |
|
30 | 35 | - [pull #72] Correct examples in docs for conditional filtering. |
31 | 36 |
|
32 | 37 |
|
33 | | -## json 9.0.1 |
| 38 | +## 9.0.1 |
34 | 39 |
|
35 | 40 | - [issue #71] Support `-o json-tab` and `-o jsony-tab` for TAB (i.e. `\t`) |
36 | 41 | indentation of emitted JSON. |
37 | 42 |
|
38 | 43 |
|
39 | | -## json 9.0.0 |
| 44 | +## 9.0.0 |
40 | 45 |
|
41 | 46 | - [issue #52] Fix termination on EPIPE in some cases. |
42 | 47 |
|
|
117 | 122 | performance improvements and semantic changes. |
118 | 123 |
|
119 | 124 |
|
120 | | -## json 8.0.0 |
| 125 | +## 8.0.0 |
121 | 126 |
|
122 | 127 | - [pull #70] Move from 'jsontool' to 'json' in the npm registry! Thanks |
123 | 128 | to <https://github.com/zpoley> for graciously giving up the name, and to |
124 | 129 | @izs for driving. `npm install json` FTW. Here after `jsontool` will |
125 | 130 | stagnate at version 7.0.2. |
126 | 131 |
|
127 | 132 |
|
128 | | -## json 7.0.2 |
| 133 | +## 7.0.2 |
129 | 134 |
|
130 | 135 | - [issue #68] Fix `--keys, -k` handling in streaming mode, i.e. `json -gak`. |
131 | 136 |
|
132 | 137 |
|
133 | | -## json 7.0.1 |
| 138 | +## 7.0.1 |
134 | 139 |
|
135 | 140 | - [pull #60, issue #59] Fix not having a `json` on the PATH from |
136 | 141 | 'npm install -g jsontool'. |
137 | 142 |
|
138 | 143 |
|
139 | | -## json 7.0.0 |
| 144 | +## 7.0.0 |
140 | 145 |
|
141 | 146 | - [issue #49] New `-C CODE` and `-E CODE` options to replace `-c CODE` and `-e |
142 | 147 | CODE`. The new options can be **10x or more faster**. An example processing |
|
319 | 324 | npm 1.3.3 work. |
320 | 325 |
|
321 | 326 |
|
322 | | -## json 6.0.0 |
| 327 | +## 6.0.0 |
323 | 328 |
|
324 | 329 | - [Backwards incompatibility, issue #55] Drop support for grouping of adjacent |
325 | 330 | arrays (via `-g`, `--group`) **separated by no space**: |
|
375 | 380 | taken in this tool. |
376 | 381 |
|
377 | 382 |
|
378 | | -## json 5.1.3 |
| 383 | +## 5.1.3 |
379 | 384 |
|
380 | 385 | - Fix an issue with option parsing that resulted in this failing: |
381 | 386 |
|
382 | 387 | json -f foo.json -- -1.someKey |
383 | 388 |
|
384 | 389 |
|
385 | 390 |
|
386 | | -## json 5.1.2 |
| 391 | +## 5.1.2 |
387 | 392 |
|
388 | 393 | - [pull #43] Add '-n' as a short alias for '--validate'. (By Bill Pijewski, |
389 | 394 | github.com/pijewski). |
390 | 395 |
|
391 | 396 |
|
392 | | -## json 5.1.1 |
| 397 | +## 5.1.1 |
393 | 398 |
|
394 | 399 | - [issue #42] Fix an edge case where a blank line would be emitted for |
395 | 400 | `... | json -ga -c COND` where the `COND` resulted in no matches. |
396 | 401 | - [issue #40] Improve "Lookups" section of docs to show how to lookup |
397 | 402 | non-identifier keys. |
398 | 403 |
|
399 | 404 |
|
400 | | -## json 5.1.0 |
| 405 | +## 5.1.0 |
401 | 406 |
|
402 | 407 | - [pull #39, issue #34] `json -ga` streams. (Largely by Fred Kuo, github.com/fkuo) |
403 | 408 | This means you can use `json` with an input stream of JSON objects. E.g.: |
|
415 | 420 | a stream of arrays. Such are the typical use cases I've encountered. |
416 | 421 |
|
417 | 422 |
|
418 | | -## json 5.0.0 |
| 423 | +## 5.0.0 |
419 | 424 |
|
420 | 425 | - [**backward incompatible**, issue #35] Special case the output for **a single |
421 | 426 | lookup AND JSON output** (i.e. `-j` or `-o json*`) to only output the value |
|
464 | 469 |
|
465 | 470 |
|
466 | 471 |
|
467 | | -## json 4.0.1 |
| 472 | +## 4.0.1 |
468 | 473 |
|
469 | 474 | - [issue #36] Turn off coloring for inspect output (`json -i`, `json -o |
470 | 475 | inspect`) if stdout is not a TTY. |
471 | 476 |
|
472 | 477 |
|
473 | | -## json 4.0.0 |
| 478 | +## 4.0.0 |
474 | 479 |
|
475 | 480 | - Add `--validate` option to just validate (no processing and output) |
476 | 481 |
|
|
531 | 536 | Minor change. Tabs are evil. |
532 | 537 |
|
533 | 538 |
|
534 | | -## json 3.3.0 |
| 539 | +## 3.3.0 |
535 | 540 |
|
536 | 541 | - Add `-k|--keys` option to output the input objects keys: |
537 | 542 |
|
|
549 | 554 | enough now to not bother. |
550 | 555 |
|
551 | 556 |
|
552 | | -## json 3.2.0 |
| 557 | +## 3.2.0 |
553 | 558 |
|
554 | 559 | - Support negative array indeces (a la Python list indeces), e.g.: |
555 | 560 |
|
556 | 561 | $ echo '["a", "b", "c"]' | json -- -1 |
557 | 562 | c |
558 | 563 |
|
559 | 564 |
|
560 | | -## json 3.1.2 |
| 565 | +## 3.1.2 |
561 | 566 |
|
562 | 567 | - Update man page and move bulk examples from README to man page. Use ronn (the |
563 | 568 | ruby one) instead of ronnjs: better and more reliable formatting. Add 'make |
|
566 | 571 | - [issue #31] Fix error message for `json -o`. |
567 | 572 |
|
568 | 573 |
|
569 | | -## json 3.1.1 |
| 574 | +## 3.1.1 |
570 | 575 |
|
571 | 576 | - [issue #32] Fix '-D' option processing so `json -D/` works (no space). |
572 | 577 |
|
573 | 578 |
|
574 | | -## json 3.1.0 |
| 579 | +## 3.1.0 |
575 | 580 |
|
576 | 581 | - [pull #29] Add '-D' option to set a delimiter for lookups (default is '.'), |
577 | 582 | so that this example works: |
|
582 | 587 | By Yaniv Aknin. |
583 | 588 |
|
584 | 589 |
|
585 | | -## json 3.0.3 |
| 590 | +## 3.0.3 |
586 | 591 |
|
587 | 592 | - [issue #30] Fix lookup strings with multiple double-quotes. |
588 | 593 | - [issue #28] Don't error on a multi-level lookup where one of the components |
|
591 | 596 | $ echo '{"foo": "bar"}' | json not_foo.bar |
592 | 597 |
|
593 | 598 |
|
594 | | -## json 3.0.2 |
| 599 | +## 3.0.2 |
595 | 600 |
|
596 | 601 | - [issue #27] Fix issue handling multi-level lookups (e.g. 'json foo.bar'). |
597 | 602 |
|
598 | 603 |
|
599 | | -## json 3.0.1 |
| 604 | +## 3.0.1 |
600 | 605 |
|
601 | 606 | - Fix a bogus 'json' dep. |
602 | 607 |
|
603 | 608 |
|
604 | | -## json 3.0.0 |
| 609 | +## 3.0.0 |
605 | 610 |
|
606 | 611 | - Switched to json 3.x dev on master. "2.x" branch created for any |
607 | 612 | necessary 2.x releases. See the |
|
649 | 654 | uno dos |
650 | 655 |
|
651 | 656 |
|
652 | | -## json 2.2.1 |
| 657 | +## 2.2.1 |
653 | 658 |
|
654 | 659 | - Hack workaround for issue #24 to not get a spurious "process.stdout cannot be |
655 | 660 | closed" from current node 0.6 versions. Note: currently this guard is only |
656 | 661 | applied for node v0.6.0..v0.6.8 inclusive. |
657 | 662 |
|
658 | 663 |
|
659 | | -## json 2.2.0 |
| 664 | +## 2.2.0 |
660 | 665 |
|
661 | 666 | - New "-e CODE" option to execute the given code on the input object; or, |
662 | 667 | if '-a/--array' is given, then on each item in the input array. Execution |
|
668 | 673 | } |
669 | 674 |
|
670 | 675 |
|
671 | | -## json 2.1.0 |
| 676 | +## 2.1.0 |
672 | 677 |
|
673 | 678 | - Improve error message when input is not JSON to include context and line |
674 | 679 | and column position. This is implemented using a JSON parser from |
|
681 | 686 | [1,,2] |
682 | 687 |
|
683 | 688 |
|
684 | | -## json 2.0.3 |
| 689 | +## 2.0.3 |
685 | 690 |
|
686 | 691 | - Auto-arrayification: Drop support for arrayifying an array adjacent to |
687 | 692 | an object. I.e. only arrayify adjacent objects *or* adjacent arrays. |
|
726 | 731 | - Fix stdout flushing in some cases. |
727 | 732 |
|
728 | 733 |
|
729 | | -## json 2.0.2 |
| 734 | +## 2.0.2 |
730 | 735 |
|
731 | 736 | - Add node v0.6 support. Drop v0.2 and v0.3 support. |
732 | 737 |
|
733 | 738 |
|
734 | | -## json 2.0.1 |
| 739 | +## 2.0.1 |
735 | 740 |
|
736 | 741 | - [issue#23] Fix output in '-a|--array' mode if one or more keys don't |
737 | 742 | exist in one or more of the array items. |
738 | 743 |
|
739 | 744 |
|
740 | | -## json 2.0.0 |
| 745 | +## 2.0.0 |
741 | 746 |
|
742 | 747 | - '-o | --output MODE' support. Supported modes: |
743 | 748 |
|
|
807 | 812 | no false matches inside JS strings. |
808 | 813 |
|
809 | 814 |
|
810 | | -## json 1.4.1 |
| 815 | +## 1.4.1 |
811 | 816 |
|
812 | 817 | - [issue #9] Gracefully handle EPIPE (i.e. stdout being closed on json before |
813 | 818 | it is finished writing). |
814 | 819 |
|
815 | 820 |
|
816 | | -## json 1.4.0 |
| 821 | +## 1.4.0 |
817 | 822 |
|
818 | 823 | - [issue #19] Allow multiple lookup arguments: |
819 | 824 |
|
|
825 | 830 | `jsontool.processDatum` and `jsontool.processDatumExperimental`. |
826 | 831 |
|
827 | 832 |
|
828 | | -## json 1.3.4 |
| 833 | +## 1.3.4 |
829 | 834 |
|
830 | 835 | - [issue #18] Fix `json --version` for standalone mode again (was broken in json 1.3.3). |
831 | 836 |
|
832 | 837 |
|
833 | | -## json 1.3.3 |
| 838 | +## 1.3.3 |
834 | 839 |
|
835 | 840 | - WARNING: `json --version` is broken when running outside the source (or npm |
836 | 841 | install'd) tree. I.e. this is a bad release for standalone. |
837 | 842 | - [issue #17] Ensure stdout is flushed on exit. |
838 | 843 |
|
839 | 844 |
|
840 | | -## json 1.3.2 |
| 845 | +## 1.3.2 |
841 | 846 |
|
842 | 847 | - [issue #16] Fix to use `<regex object>.exec` instead of using the regex |
843 | 848 | object as a function -- no longer allowed in the v8 used in node v0.5.x. |
844 | 849 |
|
845 | 850 |
|
846 | | -## json 1.3.1 |
| 851 | +## 1.3.1 |
847 | 852 |
|
848 | 853 | - Make "jsontool" require'able as a module. For example, you can now: |
849 | 854 |
|
|
869 | 874 | alias json='.../json/lib/jsontool.js' |
870 | 875 |
|
871 | 876 |
|
872 | | -## json 1.3.0 |
| 877 | +## 1.3.0 |
873 | 878 |
|
874 | 879 | - package.json and publish to npm as "jsontool" ("json" name is taken) |
875 | 880 | - Add experimental support for '*' in the lookup. This will extract all |
|
904 | 909 | - Add '-x|--experimental' option to turn on incomplete/experimental features. |
905 | 910 |
|
906 | 911 |
|
907 | | -## json 1.2.1 |
| 912 | +## 1.2.1 |
908 | 913 |
|
909 | 914 | - [issue #12] Fix handling of output when result of lookup is `undefined`. |
910 | 915 |
|
911 | 916 |
|
912 | | -## json 1.2.0 |
| 917 | +## 1.2.0 |
913 | 918 |
|
914 | 919 | - [issue #10] Fix for node v0.5. |
915 | 920 |
|
916 | 921 |
|
917 | | -## json 1.1.9 |
| 922 | +## 1.1.9 |
918 | 923 |
|
919 | 924 | - [Issue 8] Don't emit a newline for empty output. |
920 | 925 |
|
921 | 926 |
|
922 | | -## json 1.1.8 |
| 927 | +## 1.1.8 |
923 | 928 |
|
924 | 929 | - [Issue 7] Handle "HTTP/1.1 100 Continue" leading header block. |
925 | 930 | - [Issue 4] Add a man page (using ronnjs). |
926 | 931 |
|
927 | 932 |
|
928 | | -## json 1.1.7 |
| 933 | +## 1.1.7 |
929 | 934 |
|
930 | 935 | - [Issue 5] Fix getting a key with a period. E.g.: |
931 | 936 |
|
|
938 | 943 | 42 |
939 | 944 |
|
940 | 945 |
|
941 | | -## json 1.1.6 |
| 946 | +## 1.1.6 |
942 | 947 |
|
943 | 948 | - [Issue 6] Error exit value if invalid JSON. |
944 | 949 |
|
945 | 950 |
|
946 | | -## json 1.1.4 |
| 951 | +## 1.1.4 |
947 | 952 |
|
948 | 953 | - [Issue 2] Fix bracket notation: `echo '{"foo-bar": "baz"}' | json '["foo-bar"]'` |
949 | 954 |
|
|
0 commit comments