From cacc5d380651d3c907507559908171df2c4029dd Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Thu, 23 Jul 2020 19:50:54 -0400 Subject: [PATCH 1/4] Update changelog --- CHANGELOG.md | 31 ++++++++++++++++++++----------- 1 file changed, 20 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 457c497f7..281a4aa53 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,21 +1,30 @@ # Change Log for neuron -## 0.5.0.0 (UNRELEASED) - -NOTE: This section is largely out of date. Checkout the PR and commit history. +## 0.6.0.0 - Markdown: switch to Pandoc, and commonmark (with [extensions](https://github.com/jgm/commonmark-hs/tree/master/commonmark-extensions)). #166 - Markdown parsing is consequently less strict and more permissive - - With this change, neuron can potentially support other text formats (org, - reST, etc.) -- Switch to GHC 8.6 (for reflex-dom) -- Raw HTML support (#191) -- Introduce new "uplink tree" view (#195) -- Resilient error handling (#202, #215) -- Added `neuron query --graph` to get the entire graph as JSON export -- YAML block is now optional; title is also optional, while native Markdown H1 titles are now supported (#230) + - With this change, neuron can potentially support other text formats (experimental org support already in) + - Raw HTML support (#191) + - YAML block is now optional; title is also optional, while native Markdown H1 titles are now supported (#230) +- Web Interface + - Introduce new "uplink tree" view, replacing connections pane (#195) + - Allow customizing favicon + - z-index: Allow cycles (#248) + - z-index: display parse and query errors (#220, #221) +- CLI: + - Resilient error handling (#202, #215) + - Added `neuron query --graph` to get the entire graph as JSON export + - Add backlinks query (#216) + - Add bash/zsh shell completion (#239) + - neuron new: title is optional (#232) - Bug fixes - Fix 'neuron new' generating invalid Markdown when title contains special characters (#163) + - Allow custom CLI in $EDITOR (#227) +- Others + - Reduce install size (#240) + - Nightly docker releases + - Automatic publishing through [neuron-template](https://github.com/srid/neuron-template) ## 0.4.0.0 From 9189e23061a5d77970af3e93ff76f27f252c638b Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Thu, 23 Jul 2020 19:51:01 -0400 Subject: [PATCH 2/4] Up version --- neuron/neuron.cabal | 2 +- neuron/test/Neuron/VersionSpec.hs | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/neuron/neuron.cabal b/neuron/neuron.cabal index 301b50f6a..9bfdac0e9 100644 --- a/neuron/neuron.cabal +++ b/neuron/neuron.cabal @@ -1,7 +1,7 @@ cabal-version: 2.4 name: neuron -- This version must be in sync with what's in Default.dhall -version: 0.5.11.2 +version: 0.6.0.0 license: AGPL-3.0-only copyright: 2020 Sridhar Ratnakumar maintainer: srid@srid.ca diff --git a/neuron/test/Neuron/VersionSpec.hs b/neuron/test/Neuron/VersionSpec.hs index 716db6708..4d3fd412e 100644 --- a/neuron/test/Neuron/VersionSpec.hs +++ b/neuron/test/Neuron/VersionSpec.hs @@ -23,15 +23,15 @@ spec = do isLesserOrEqual = shouldNotSatisfy it "simple versions" $ do -- If the user requires 0.4, and we are "older than" than that, fail (aka. isGreater) - "0.6" `isGreater` olderThan - "0.5" `isLesserOrEqual` olderThan -- This is current version + "0.7" `isGreater` olderThan + "0.6" `isLesserOrEqual` olderThan -- This is current version "0.4" `isLesserOrEqual` olderThan it "full versions" $ do - "0.6.1.2" `isGreater` olderThan - "0.5.12" `isGreater` olderThan - "0.5.11.8" `isGreater` olderThan - "0.5.11.0" `isLesserOrEqual` olderThan -- This is current version + "0.7.1.2" `isGreater` olderThan + "0.6.12" `isGreater` olderThan + "0.6.11.8" `isGreater` olderThan + "0.6.0.0" `isLesserOrEqual` olderThan -- This is current version "0.3.1.0" `isLesserOrEqual` olderThan it "within same major version" $ do - "0.5.11.8" `isGreater` olderThan - "0.5.11.0" `isLesserOrEqual` olderThan -- This is current version + "0.6.11.8" `isGreater` olderThan + "0.6.0.0" `isLesserOrEqual` olderThan -- This is current version From 779f2215594f4811f8c01bcfdb5a562e08e4d5cf Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Thu, 23 Jul 2020 19:56:49 -0400 Subject: [PATCH 3/4] drop README and ChangeLog cabal craps out if they are out of ./neuron, and I don't care to make it happy right now. --- neuron/neuron.cabal | 3 --- 1 file changed, 3 deletions(-) diff --git a/neuron/neuron.cabal b/neuron/neuron.cabal index 9bfdac0e9..8c75021b6 100644 --- a/neuron/neuron.cabal +++ b/neuron/neuron.cabal @@ -13,9 +13,6 @@ synopsis: Future-proof system for plain-text notes. description: neuron is a future-proof system for managing your plain-text Zettelkasten notes. -extra-source-files: - README.md - CHANGELOG.md data-files: src-js/search.js src-bash/neuron-search From 31756d8f0485d066715f184a08496af5f3101470 Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Thu, 23 Jul 2020 19:57:17 -0400 Subject: [PATCH 4/4] Allow rib version greater than 0.12 for posterity --- neuron/neuron.cabal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neuron/neuron.cabal b/neuron/neuron.cabal index 8c75021b6..bcfc52e01 100644 --- a/neuron/neuron.cabal +++ b/neuron/neuron.cabal @@ -128,7 +128,7 @@ common app-common skylighting-core, relude, iso8601-time, - rib ^>=0.12, + rib >=0.12, shake -any, time, text,