|
| 1 | +2009-08-23 (1.1.8) |
| 2 | + * Applied a patch by OZAWA Sakuro < [email protected]> to make json/pure |
| 3 | + work in environments that don't provide iconv. |
| 4 | + * Applied patch by okkez_ in order to fix Ruby Bug #1768: |
| 5 | + http://redmine.ruby-lang.org/issues/show/1768. |
| 6 | + * Finally got around to avoid the rather paranoid escaping of ?/ characters |
| 7 | + in the generator's output. The parsers aren't affected by this change. |
| 8 | + Thanks to Rich Apodaca < [email protected]> for the suggestion. |
| 9 | +2009-06-29 (1.1.7) |
| 10 | + * Security Fix for JSON::Pure::Parser. A specially designed string could |
| 11 | + cause catastrophic backtracking in one of the parser's regular expressions |
| 12 | + in earlier 1.1.x versions. JSON::Ext::Parser isn't affected by this issue. |
| 13 | + Thanks to Bartosz Blimke < [email protected]> for reporting this |
| 14 | + problem. |
| 15 | + * This release also uses a less strict ruby version requirement for the |
| 16 | + creation of the mswin32 native gem. |
| 17 | +2009-05-10 (1.1.6) |
| 18 | + * No changes. І tested native linux gems in the last release and they don't |
| 19 | + play well with different ruby versions other than the one the gem was built |
| 20 | + with. This release is just to bump the version number in order to skip the |
| 21 | + native gem on rubyforge. |
| 22 | +2009-05-10 (1.1.5) |
| 23 | + * Started to build gems with rake-compiler gem. |
| 24 | + * Applied patch object/array class patch from Brian Candler |
| 25 | + |
| 26 | +2009-04-01 (1.1.4) |
| 27 | + * Fixed a bug in the creation of serialized generic rails objects reported by |
| 28 | + Friedrich Graeter < [email protected]>. |
| 29 | + * Deleted tests/runner.rb, we're using testrb instead. |
| 30 | + * Editor supports Infinity in numbers now. |
| 31 | + * Made some changes in order to get the library to compile/run under Ruby |
| 32 | + 1.9. |
| 33 | + * Improved speed of the code path for the fast_generate method in the pure |
| 34 | + variant. |
| 35 | +2008-07-10 (1.1.3) |
| 36 | + * Wesley Beary < [email protected]> reported a bug in json/add/core's DateTime |
| 37 | + handling: If the nominator and denominator of the offset were divisible by |
| 38 | + each other Ruby's Rational#to_s returns them as an integer not a fraction |
| 39 | + with '/'. This caused a ZeroDivisionError during parsing. |
| 40 | + * Use Date#start and DateTime#start instead of sg method, while |
| 41 | + remaining backwards compatible. |
| 42 | + * Supports ragel >= 6.0 now. |
| 43 | + * Corrected some tests. |
| 44 | + * Some minor changes. |
| 45 | +2007-11-27 (1.1.2) |
| 46 | + * Remember default dir (last used directory) in editor. |
| 47 | + * JSON::Editor.edit method added, the editor can now receive json texts from |
| 48 | + the clipboard via C-v. |
| 49 | + * Load json texts from an URL pasted via middle button press. |
| 50 | + * Added :create_additions option to Parser. This makes it possible to disable |
| 51 | + the creation of additions by force, in order to treat json texts as data |
| 52 | + while having additions loaded. |
| 53 | + * Jacob Maine < [email protected]> reported, that JSON(:foo) outputs a JSON |
| 54 | + object if the rails addition is enabled, which is wrong. It now outputs a |
| 55 | + JSON string "foo" instead, like suggested by Jacob Maine. |
| 56 | + * Discovered a bug in the Ruby Bugs Tracker on rubyforge, that was reported |
| 57 | + by John Evans [email protected]. He could produce a crash in the JSON |
| 58 | + generator by returning something other than a String instance from a |
| 59 | + to_json method. I now guard against this by doing a rather crude type |
| 60 | + check, which raises an exception instead of crashing. |
| 61 | +2007-07-06 (1.1.1) |
| 62 | + * Yui NARUSE < [email protected]> sent some patches to fix tests for Ruby |
| 63 | + 1.9. I applied them and adapted some of them a bit to run both on 1.8 and |
| 64 | + 1.9. |
| 65 | + * Introduced a JSON.parse! method without depth checking for people who like |
| 66 | + danger. |
| 67 | + * Made generate and pretty_generate methods configurable by an options hash. |
| 68 | + * Added :allow_nan option to parser and generator in order to handle NaN, |
| 69 | + Infinity, and -Infinity correctly - if requested. Floats, which aren't numbers, |
| 70 | + aren't valid JSON according to RFC4627, so by default an exception will be |
| 71 | + raised if any of these symbols are encountered. Thanks to Andrea Censi |
| 72 | + < [email protected]> for his hint about this. |
| 73 | + * Fixed some more tests for Ruby 1.9. |
| 74 | + * Implemented dump/load interface of Marshal as suggested in ruby-core:11405 |
| 75 | + |
| 76 | + * Implemented the max_nesting feature for generate methods, too. |
| 77 | + * Added some implementations for ruby core's custom objects for |
| 78 | + serialisation/deserialisation purposes. |
| 79 | +2007-05-21 (1.1.0) |
| 80 | + * Implemented max_nesting feature for parser to avoid stack overflows for |
| 81 | + data from untrusted sources. If you trust the source, you can disable it |
| 82 | + with the option max_nesting => false. |
| 83 | + * Piers Cawley < [email protected]> reported a bug, that not every |
| 84 | + character can be escaped by ?\ as required by RFC4627. There's a |
| 85 | + contradiction between David Crockford's JSON checker test vectors (in |
| 86 | + tests/fixtures) and RFC4627, though. I decided to stick to the RFC, because |
| 87 | + the JSON checker seems to be a bit older than the RFC. |
| 88 | + * Extended license to Ruby License, which includes the GPL. |
| 89 | + * Added keyboard shortcuts, and 'Open location' menu item to edit_json.rb. |
| 90 | +2007-05-09 (1.0.4) |
| 91 | + * Applied a patch from Yui NARUSE < [email protected]> to make JSON compile |
| 92 | + under Ruby 1.9. Thank you very much for mailing it to me! |
| 93 | + * Made binary variants of JSON fail early, instead of falling back to the |
| 94 | + pure version. This should avoid overshadowing of eventual problems while |
| 95 | + loading of the binary. |
| 96 | +2007-03-24 (1.0.3) |
| 97 | + * Improved performance of pure variant a bit. |
| 98 | + * The ext variant of this release supports the mswin32 platform. Ugh! |
| 99 | +2007-03-24 (1.0.2) |
| 100 | + * Ext Parser didn't parse 0e0 correctly into 0.0: Fixed! |
| 101 | +2007-03-24 (1.0.1) |
| 102 | + * Forgot some object files in the build dir. I really like that - not! |
| 103 | +2007-03-24 (1.0.0) |
| 104 | + * Added C implementations for the JSON generator and a ragel based JSON |
| 105 | + parser in C. |
| 106 | + * Much more tests, especially fixtures from json.org. |
| 107 | + * Further improved conformance to RFC4627. |
| 108 | +2007-02-09 (0.4.3) |
| 109 | + * Conform more to RFC4627 for JSON: This means JSON strings |
| 110 | + now always must contain exactly one object "{ ... }" or array "[ ... ]" in |
| 111 | + order to be parsed without raising an exception. The definition of what |
| 112 | + constitutes a whitespace is narrower in JSON than in Ruby ([ \t\r\n]), and |
| 113 | + there are differences in floats and integers (no octals or hexadecimals) as |
| 114 | + well. |
| 115 | + * Added aliases generate and pretty_generate of unparse and pretty_unparse. |
| 116 | + * Fixed a test case. |
| 117 | + * Catch an Iconv::InvalidEncoding exception, that seems to occur on some Sun |
| 118 | + boxes with SunOS 5.8, if iconv doesn't support utf16 conversions. This was |
| 119 | + reported by Andrew R Jackson < [email protected]>, thanks a bunch! |
| 120 | +2006-08-25 (0.4.2) |
| 121 | + * Fixed a bug in handling solidi (/-characters), that was reported by |
| 122 | + |
| 123 | +2006-02-06 (0.4.1) |
| 124 | + * Fixed a bug related to escaping with backslashes. Thanks for the report go |
| 125 | + to Florian Munz < [email protected]>. |
| 126 | +2005-09-23 (0.4.0) |
| 127 | + * Initial Rubyforge Version |
0 commit comments