diff --git a/lib/config.js b/lib/config.js index 5579d61e..1ba1763c 100644 --- a/lib/config.js +++ b/lib/config.js @@ -77,7 +77,7 @@ function getserverurl() { return url; } -var version = '0.4.0'; +var version = '0.4.2'; var maintenance = config.maintenance || false; var cwd = path.join(__dirname, '..'); diff --git a/package.json b/package.json index f49f1013..ca7c0d14 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hackmd", - "version": "0.4.0", + "version": "0.4.2", "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 index a945f262..ce421bfd 100644 --- a/public/docs/release-notes.md +++ b/public/docs/release-notes.md @@ -1,9 +1,42 @@ Release Notes === + 0.4.2 `cappuccino` 2016-04-22 10:43 +--- +### Features ++ Support sync scrolling to edit area ++ Support import and export with GitLab snippet ++ Support GitLab signin ++ Add cheatsheet and help modal + +### Enhancements +* Upgrade CodeMirror to version 5.15.3 +* Support maintenance mode and gracefully exit process on signal +* Update to update doc in db when doc in filesystem have newer modified time +* Update to replace animation acceleration library from gsap to velocity +* Support image syntax with size +* Update textcomplete rules to support more conditions +* Update to use bigger user profile image +* Support showing signin button only when needed + +### Fixes +* Fix other clients' cursor might disappear or move out of bound +* Fix to handle user profile image not exists +* Fix potential toolbar layout glitch +* Fix imgur uploads should always use https to avoid mix-content warning +* Fix to change fullscreen key to avoid OS key conflicts +* Fix and change ESC key in Vim mode + + 0.4.1 2016-04-22 10:43 +--- +### Enhancements +* Support when client domain not provided will use window.location variable +* Support when domain not provided will use relative path +* Support DOMAIN and URL_PATH environment variables + + 0.4.0 `first-year` 2016-04-20 14:30 --- - ### Features + Support docs + Support Ionicons and Octicons diff --git a/public/js/common.js b/public/js/common.js index 33b30689..7a2afdc5 100644 --- a/public/js/common.js +++ b/public/js/common.js @@ -14,7 +14,7 @@ var serverurl = window.location.protocol + '//' + (domain ? domain : window.loca 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.0'; +var version = '0.4.2'; var checkAuth = false; var profile = null;