From 6bd4534af7f500e1e48630ac94912195af6f79e4 Mon Sep 17 00:00:00 2001 From: Vitaly Puzrin Date: Mon, 5 Oct 2015 14:46:48 +0300 Subject: [PATCH] 5.0.0 released --- CHANGELOG.md | 14 ++++++++++---- docs/5.0_migration.md | 5 ++++- package.json | 14 +++++++------- 3 files changed, 21 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 343bd23..eef4cfd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,15 @@ -5.0.0 / 2015-09-30 +5.0.0 / 2015-10-05 ------------------ -- Keep tabs (don't replace with spaces). -- Don't wrap iframes with paragraphs (according to spec update). -- Changed emphasis algorithm to match one described in CM spec. +- Internal API change. Due to new CM spec requirements, we had to update + internals. That should not touch ordinary users, but can affect some external + plugins. If you are plugin developper - see migration guide: + https://github.com/markdown-it/markdown-it/blob/master/docs/5.0_migration.md. +- Updated CM spec compatibility to 0.22: + - Keep tabs (don't replace with spaces). + - Don't wrap iframes with paragraphs. + - Rewritten emphasis algorithm. +- Fix closure compiler collisions (don't use reserved words), #159. 4.4.0 / 2015-07-18 diff --git a/docs/5.0_migration.md b/docs/5.0_migration.md index 912462c..d2055eb 100644 --- a/docs/5.0_migration.md +++ b/docs/5.0_migration.md @@ -1,7 +1,10 @@ Migration to v5 =============== -v5 has the same external API as v4, only internals were changed. Plugins that introduce block elements might need an update. +v5 has the same external API as v4, only internals were changed. Some external +plugins may need update (all plugins from `markdown-it` github organization are +up to date). + ## For users diff --git a/package.json b/package.json index 2be36f0..331f6f7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "markdown-it", - "version": "4.4.0", + "version": "5.0.0", "description": "Markdown-it - modern pluggable markdown parser.", "keywords": [ "markdown", @@ -37,20 +37,20 @@ "benchmark": "~1.0.0", "browserify": "*", "chai": "^3.2.0", - "commonmark": "~0.21.0", + "commonmark": "~0.22.0", "coveralls": "~2.11.2", "eslint": "0.24.0", "eslint-plugin-nodeca": "^1.0.0", "istanbul": "*", "jade": "~1.9.2", "markdown-it-abbr": "^1.0.0", - "markdown-it-container": "^1.0.0", - "markdown-it-deflist": "^1.0.0", + "markdown-it-container": "^2.0.0", + "markdown-it-deflist": "^2.0.0", "markdown-it-emoji": "^1.0.0", - "markdown-it-footnote": "^1.0.0", + "markdown-it-footnote": "^2.0.0", "markdown-it-for-inline": "~0.1.0", - "markdown-it-ins": "^1.0.0", - "markdown-it-mark": "^1.0.0", + "markdown-it-ins": "^2.0.0", + "markdown-it-mark": "^2.0.0", "markdown-it-sub": "^1.0.0", "markdown-it-sup": "^1.0.0", "markdown-it-testgen": "~0.1.3",