Skip to content

Releases: markedjs/marked

0.6.0

01 Jan 00:49
88a8561
Compare
Choose a tag to compare

Breaking Changes

  • Drop support for Node v0.10 and old browsers such as Internet Explorer
    • You should not have any problems if using Node 4+ or a modern browser
  • Add parameter slugger to Renderer.prototype.heading method #1401
    • You should not have any problems if you do not override this method

New Features

  • Add new export marked.Slugger #1401

Fixes

  • Fix emphasis followed by a punctuation #1383
  • Fix bold around autolink email address #1385
  • Make autolinks case insensitive #1384
  • Make code fences compliant with Commonmark spec #1387
  • Make blockquote paragraph continuation compliant with Commonmark spec #1394
  • Make ordered list marker length compliant with Commonmark spec #1391
  • Make empty list items compliant with Commonmark spec #1395
  • Make tag escaping compliant with Commonmark spec #1397
  • Make strong/bold compliant with Commonmark spec #1400
  • Fix handling of adjacent lists #684
  • Add better error handling when token type cannot be found #1005
  • Fix duplicate heading id and non-latin characters #1401

CLI

  • Pretty print ENOENT errors on cli #1396
  • Update repo url in man #1403

Docs

Tests

  • Remove old test covered by gfm/cm #1389

0.5.2

20 Nov 00:05
97be813
Compare
Choose a tag to compare

Bug Fixes

  • Fix emphasis closing by single _ (part of left-flanking run) #1351
  • Make URL handling consistent between links and images #1359

Other

  • Add missing semicolons, add lint rule #1340
  • Make Steven (@styfle) a npm publisher #1346
  • Fix typo in docs: responsibility #1364
  • Add the ability to specify options on the demo page as JSON #1357
    • Show red border when JSON options are invalid #1360
  • Move license file back to root dir #1356
  • Fix builds: remove node v0.10 from travis matrix #1366
    • This does not a break compatibility in this release but it will a future release
  • Add files key to package.json to prevent publishing unused files #1367

0.5.1

26 Sep 01:50
f1ddca7
Compare
Choose a tag to compare

Security

  • Fix inline code regex and prevent REDOS #1337
  • Use @markedjs/html-differ to prevent REDOS #1331

Bug Fixes

  • Fix typographic substitution in (pre|code|kbd|script) blocks when smartypants=true #1335
  • Fix auto-linking email address #1338

Other

  • Refactor the escape() function to improve performance 10-20% #975
  • Update copyright in source code #1326
  • Update benchmark tests #1019
  • Add dependency badges to readme #1333

0.5.0

16 Aug 22:02
78c977b
Compare
Choose a tag to compare

Security

  • Use rtrim, not unsafe /X+$/ #1260

Breaking Changes

  • Fix GFM empty table cells #1262
  • Fix GFM extended auto-linking requiring multiple backpedals #1293
  • Fix GFM strikethrough compatibility #1258
  • Fix issues link references and prototypes #1299
  • Fix hard line break when backslash at EOL #1303
  • Fix hyperlinks with parenthesis #1305
  • Fix loose lists #1304
  • Fix strong and em #1315

Docs

  • Fix typo in USING_ADVANCED.md #1276
  • Add pictures to AUTHORS.md #1272
  • Change badge to latest version of marked #1300
  • Change badges from shields.io to badgen.net #1317
  • Use iframe to sandbox generated html #1295
  • Add additional links into readme #1310
  • Add missing parameters for renderer methods #1311
  • Add undocumented option descriptions #1312
  • Add navigation sidebar to the docs #1316

CI

  • Change travis clone depth to 3 #1270

0.4.0

21 May 13:04
78db8fb
Compare
Choose a tag to compare

Security Fixes

New Features

Breaking Changes

  • Fix escaping pipes in tables (#1239)
  • Fix html output for tables to match GFM spec (#1245)
  • Fix many bugs to reach parity with CommonMark spec (#1135)
  • Fix new Renderer() so it uses default options (#1203)
  • Fix text and paragraph return types (#1248) (#1249)
  • Fix <em> less than 3 chars (#1181)
  • Fix <pre> code blocks so there is no more trailing \n (#1266)
  • Fix default langPrefix to follow CommonMark standard language- (#1265)

CLI Changes

  • Add string argument to CLI (#1182)
  • Change CLI stdio to remove warning (#994)

Other changes

0.3.18 minified required new release

26 Mar 02:57
5d1baa4
Compare
Choose a tag to compare

0.3.18 did not have changes to min.

Minor fixes and updated docs

22 Mar 17:00
c1e19a9
Compare
Choose a tag to compare
  • Supported Markdown flavors: CommonMark 0.28 and GitHub Flavored Markdown 0.28
  • Updates to our CI pipeline; we're all green! #1098 with the caveat that there is a test that needs to get sorted (help us out #1092)
  • Start ordered lists using the initial numbers from markdown lists (#1144)
  • Added GitHub Pages site for documentation https://marked.js.org/ (#1138)

Processes and tools

27 Feb 13:07
4252cad
Compare
Choose a tag to compare
  • The elephant in the room: A security vulnerability was discovered and fixed. Please note, if something breaks due to these changes, it was not our intent, and please let us know by submitting a PR or issue to course correct (the nature of the zero-major release and having security as a number one priority) #1083
  • The other elephant in the room: We missed publishing a 0.3.16 release to GitHub; so, trying to make up for that a bit.
  • Updates to the project documentation and operations, you should check it out, just start with the README and you should be good.
  • New release PR template available #1076
  • Updates to default PR and Issue templates #1076
  • Lint checks + tests + continuous integration using Travis #1020
  • Updated testing output #1085 & #1087

Fix capturing parens

19 Feb 04:38
9dce805
Compare
Choose a tag to compare

Fixes unintended breaking change from v0.3.14

New year, new home

16 Feb 13:39
f663cb4
Compare
Choose a tag to compare
  • Marked has a new home under the MarkedJS org! Other advances soon to come.
  • Updated minifier.
  • Various parser fixes