diff --git a/lib/config.js b/lib/config.js index d87964a0..259ecdf5 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 6a54431b..7c2441b9 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 afe843e5..b0410ced --- 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 b8ff3758..52839caf 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;