aboutsummaryrefslogtreecommitdiff
path: root/js/changelog.js.txt
blob: e9297840d61b8966f115418e33fb6bba09243aa0 (plain)
  1. [0.16]
  2.   * Improved regex for HTML comments (#263).
  3. * Fixed CDATA regex (#267).
  4. * Use linked list instead of arrays in AST: the same doubly linked
  5. node structure as cmark uses. This simplifies some code and
  6. eliminates the need for recursive algorithms, so we can render
  7. deeply-nested structures without stack overflows.
  8. * Use `children` instead of `label` (in Image and Link),
  9. `inline_content` (in Paragraph), and `c` (in Emph and Strong).
  10. * Renamed the `c` property to `literal` to match `libcmark`.
  11. * Use `literal` rather than `string_content` property for code
  12. blocks, HTML. `string_content` is reserved for raw string
  13. content that has yet to be parsed as inlines.
  14. * Improved end lines (#276).
  15. * Added a node walker, for easy AST traversal (see `node.js`).
  16. * Regularized position information into a `sourcepos` property.
  17. Added end column information.
  18. * Renamed `html-renderer.js` to `html.js`.
  19. * Replace NUL characters with U+FFFD, as per spec.
  20. * Optimized code, resulting in significant performance gains.
  21. (We've gone from being twice as fast as showdown.js to being
  22. three times as fast, on par with marked.)
  23. * Made `tight` a property of `list_data` rather than `Node`.
  24. * Added options to renderer, parser objections.
  25. * Added a `--sourcepos` command line option to `js/bin/commonmark`.
  26. * HTML renderer now throws an error on unknown tag type (which
  27. indicates a programming error).
  28. * Removed `ansi.js` code from the source tree. The test suite now
  29. uses its own mini ansi colors implementation.
  30. * Added `--time` option to `js/bin/commonmark`.
  31. * Added an XML renderer (XML representation of the AST, matching
  32. `Commonmark.dtd`).
  33. * Changed `url` property to `destination` to match `cmark` and spec.
  34. * Added `js/common.js` to hold some common code, like string
  35. unescaping and URI normalization.
  36. * Use `decodeURI` instead of `unescape`.
  37. * Added some "pathological" test cases to test suite.