From 39521f25a78114c2606371a9a52d9ccca2fb1091 Mon Sep 17 00:00:00 2001 From: Wu Cheng-Han Date: Mon, 19 Dec 2016 17:30:33 +0800 Subject: [PATCH] Mark as 0.4.6 --- lib/config.js | 2 +- package.json | 2 +- public/docs/release-notes.md | 59 ++++++++++++++++++++++++++++++++++++ public/js/common.js | 2 +- 4 files changed, 62 insertions(+), 3 deletions(-) mode change 100644 => 100755 public/docs/release-notes.md diff --git a/lib/config.js b/lib/config.js index d87964a..259ecdf 100644 --- a/lib/config.js +++ b/lib/config.js @@ -113,7 +113,7 @@ function getserverurl() { return url; } -var version = '0.4.5'; +var version = '0.4.6'; var minimumCompatibleVersion = '0.4.5'; var maintenance = true; var cwd = path.join(__dirname, '..'); diff --git a/package.json b/package.json index 6a54431..7c2441b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hackmd", - "version": "0.4.5", + "version": "0.4.6", "description": "Realtime collaborative markdown notes on all platforms.", "main": "app.js", "license": "MIT", diff --git a/public/docs/release-notes.md b/public/docs/release-notes.md old mode 100644 new mode 100755 index afe843e..b0410ce --- a/public/docs/release-notes.md +++ b/public/docs/release-notes.md @@ -1,6 +1,65 @@ Release Notes === + 0.4.6 `Melya` 2016-12-19 17:20 +--- +### Features ++ Add support of allow free url config option ++ Add support of allow anonymous config option ++ Add preferences to editor status bar and add allow override browser keymap option ++ Add support of s3 and local filesystem for image uploading ++ Add of support optional email register and signin ++ Use uWebSocket to improve websocket performance ++ Use CDNJS by default with https and SRI support ++ Use Webpack to bundle frontend code + +### Enhancements +* Update to make TOC syntax be case-insensitive +* Update to handle request with invalid uri +* Update to auto generate meta description based on content in publish note and slide +* Update to support haskell, go, typescript and jsx syntax highlighting in code block +* Update to use workers to leverage intensive work loading +* Update to support summary tag +* Change use cdn config option default to be true +* Update to retry when anytime the socket io disconnect +* Change to raise socket io timeout, heartbeat interval and timeout to lower offline period +* Update emoji parser using markdown-it-emoji instead of emojify +* Optimize finishView selector performance by avoid universal selector +* Config heroku deployment +* Update to support Hindi, Swedish locale +* Update to support wrap syntax for code block +* Update to support pagination for history list + +### Fixes +* Fix slide mode on print pdf not finish view rendering +* Fix when server have heavy loading cache might not update to db properly +* Fix redirection to url without trailing slashes not considering about config urlpath +* Fix header id and text might affects by mathjax tags +* Fix possible meta XSS in history list [Security Issue] +* Fix possible XSS in yaml-metadata and turn using ejs escape syntax than external lib [Security Issue] +* Fix to allow data attribute of section tag in slide +* Fix slide might able to add unsafe attribute on section tag which cause XSS [Security Issue] +* Fix slide might trigger script when processing markdown which cause XSS [Security Issue] +* Fix published note won't scroll to hash on load +* Fix mathjax with blockquote might have race condition +* Fix server reconnect might not resend pending operations +* Fix slide export pdf styles not applied issue +* Fix possible unclose HTML and leaked html tags when fail to parse diagrams +* Fix typos in the `slide-example.md` +* Fix socket io doc event should setDoc when revision mismatch and no outstanding operation +* Fix markdown styles conflicting bootstrap on p and ul under alert area +* Fix finishView mermaid might select and replace whole markdown-body issue +* Fix code block which in deeper level will not be parsed issue +* Fix code block highlighting html not escaped when no languages specified +* Fix client socket on delete event might not delete corresponding history record correctly +* Fix to handle name or color is undefined error +* Fix history item event not bind properly on pagination change +* Fix history time should save in UNIX timestamp to avoid time offset issue + +### Removes +- Drop bower the package manager +- Remove auto linkify image + 0.4.5 `latte` 2016-10-11 01:22 --- ### Features diff --git a/public/js/common.js b/public/js/common.js index b8ff375..52839ca 100644 --- a/public/js/common.js +++ b/public/js/common.js @@ -12,7 +12,7 @@ window.serverurl = window.location.protocol + '//' + (domain ? domain : window.l var noteid = urlpath ? window.location.pathname.slice(urlpath.length + 1, window.location.pathname.length).split('/')[1] : window.location.pathname.split('/')[1]; var noteurl = serverurl + '/' + noteid; -var version = '0.4.5'; +var version = '0.4.6'; var checkAuth = false; var profile = null;