Skip to content

Releases: vaidik/commentjson

Performance improvement. Support for trailing comma.

07 Oct 06:30
cb7219d
Compare
Choose a tag to compare

Summary

  • Speed up by using the faster LALR parser.
  • Support for trailing comma in JSON to support more developer workflows of working with JSON files with comments as config files.

Bugs Fixed

  • #39 - Feature request: Ignore trailing commas
  • #43 - commentjson raises the wrong error type on trailing comma

lark-parser compatibility issue

25 Apr 07:12
Compare
Choose a tag to compare

Summary

Fixes the compatibility issue with lark-parser after a new version was released.

Also fixes tests for Windows.

Bugs Fixed

  • #32 - Latest lark-parser isn't compatible with commentjson

v0.8.2: Merge pull request #30 from vaidik/version-0.8.2

02 Sep 17:19
4affc8f
Compare
Choose a tag to compare

Summary

Fixes unicode handling related issues by making the handling logic completely the same as that in json package.

Also, we now test commentjson against json package's test suite to test for compatibility of API and functionality.

Bugs Fixed

  • #23 - Fix unicode handling related issue

lark-parser==0.7.2 bug fix

02 Aug 05:52
b229de9
Compare
Choose a tag to compare

Summary

lark-parser's latest release caused a bug. This minor release fixes that bug.

Bugs Fixed

  • #25 - AssertionError caused by lark-parser==0.7.2

v0.8.0 - Parser!

07 Jul 14:39
16a19dd
Compare
Choose a tag to compare

Summary

This release implements a proper parser (using lark), replacing the old implementation that used a complex regular expression that didn't handle all the cases.

Note: Also, support for Python 2.6 was dropped looking at the usage data of commentjson with Python 2.6 on pypistats.

Bugs Fixed

  • #4 #10 #16 #22 - multiple unhandled cases of parsing comments
  • #3 - tests are run against Windows and OSX as well