diff --git a/CHANGELOG.md b/CHANGELOG.md index 1af6eeb..87670df 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.0.2] - 2020-12-04 + ### Added - Config file `config.toml` + `store-path` option [#40] @@ -230,7 +232,8 @@ First release :tada: - Linux binaries -[unreleased]: https://github.com/soywod/unfog/compare/v1.0.1...HEAD +[unreleased]: https://github.com/soywod/unfog/compare/v1.0.2...HEAD +[1.0.2]: https://github.com/soywod/unfog/compare/v1.0.1...v1.0.2 [1.0.1]: https://github.com/soywod/unfog/compare/v1.0.0...v1.0.1 [1.0.0]: https://github.com/soywod/unfog/compare/v0.4.5...v1.0.0 [0.4.5]: https://github.com/soywod/unfog/compare/v0.4.4...v0.4.5 diff --git a/README.md b/README.md index cd46304..722397b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# ⏱ Unfog [![Build Status](https://travis-ci.org/soywod/unfog.svg?branch=v1.0.1)](https://travis-ci.org/soywod/unfog) +# ⏱ Unfog [![Build Status](https://travis-ci.org/soywod/unfog.svg?branch=v1.0.2)](https://travis-ci.org/soywod/unfog) Minimalist task & time manager, written in [Haskell](https://www.haskell.org). @@ -27,6 +27,7 @@ Minimalist task & time manager, written in [Haskell](https://www.haskell.org). * [Worktime](#worktime) * [Status](#status) * [Upgrade](#upgrade) + * [Clear cache](#clear-cache) * [Common options](#common-options) * [JSON](#json) * [Contributing](#contributing) @@ -281,6 +282,15 @@ unfog upgrade ![image](https://user-images.githubusercontent.com/10437171/71656858-66d96680-2d3d-11ea-8ec9-1d9bb2b8712e.png) +### Clear cache + +Clear the state cache (useful when the store is manually modified and does not +match the state anymore): + +```bash +unfog cache:clear +``` + ## Common options ### JSON diff --git a/package.yaml b/package.yaml index 530ca14..9cb4b82 100644 --- a/package.yaml +++ b/package.yaml @@ -1,5 +1,5 @@ name: unfog -version: 1.0.1 +version: 1.0.2 github: "soywod/unfog" license: BSD3 author: "soywod" diff --git a/src/Procedure.hs b/src/Procedure.hs index c3c9ad7..76ea393 100644 --- a/src/Procedure.hs +++ b/src/Procedure.hs @@ -14,6 +14,6 @@ data Procedure deriving (Show, Read) handle :: Arg.Procedure -> IO () -handle (Arg.ShowVersion jsonOpt) = send (parseResponseType jsonOpt) (VersionResponse "1.0.1") +handle (Arg.ShowVersion jsonOpt) = send (parseResponseType jsonOpt) (VersionResponse "1.0.2") handle Arg.Upgrade = void $ system "curl -sSL https://raw.githubusercontent.com/soywod/unfog/master/bin/install.sh | bash" handle Arg.ClearCache = State.clearCache >> putStrLn "Cache cleared!" diff --git a/stack.yaml b/stack.yaml index e48013a..cae9f82 100644 --- a/stack.yaml +++ b/stack.yaml @@ -69,6 +69,7 @@ extra-deps: - hspec-discover-2.7.1@sha256:e8ce36741c06b41de58069814a7d3b7314bdeaab35ae573e3c924739011e0c29,2243 - hspec-expectations-0.8.2@sha256:e2db24881baadc2d9d23b03cb629e80dcbda89a6b04ace9adb5f4d02ef8b31aa,1594 - integer-logarithms-1.0.3@sha256:63d42595ec92b71ac98a07b984b0a2eb3d4956f4ad2d856c3bf6fc3dc218d228,2820 +- mintty-0.1.2@sha256:76e5d929619e2fe419dc2292856c5c86fd8f52cb13531b169b1316fc604157c8,2894 - network-info-0.2.0.10@sha256:cda87030e0e7adc56696006035fc322d5a6b8b0b41dd6d339ea630484de1711e,1717 - optparse-applicative-0.15.1.0@sha256:29ff6146aabf54d46c4c8788e8d1eadaea27c94f6d360c690c5f6c93dac4b07e,4810 - primitive-0.7.1.0@sha256:6a237bb338bcc43193077ff8e8c0f0ce2de14c652231496a15672e8b563a07e2,2604 diff --git a/stack.yaml.lock b/stack.yaml.lock index 508ddd4..4826414 100644 --- a/stack.yaml.lock +++ b/stack.yaml.lock @@ -207,6 +207,13 @@ packages: sha256: 7feb7c37d4117f398377c7e0ad480bfa7f63e378753fc6a163deec1f3e9fbc23 original: hackage: integer-logarithms-1.0.3@sha256:63d42595ec92b71ac98a07b984b0a2eb3d4956f4ad2d856c3bf6fc3dc218d228,2820 +- completed: + hackage: mintty-0.1.2@sha256:76e5d929619e2fe419dc2292856c5c86fd8f52cb13531b169b1316fc604157c8,2894 + pantry-tree: + size: 526 + sha256: 9280e4aab60242aa4847d0e6db70a378c910fceb9085d41aa8d10061b3d7a899 + original: + hackage: mintty-0.1.2@sha256:76e5d929619e2fe419dc2292856c5c86fd8f52cb13531b169b1316fc604157c8,2894 - completed: hackage: network-info-0.2.0.10@sha256:cda87030e0e7adc56696006035fc322d5a6b8b0b41dd6d339ea630484de1711e,1717 pantry-tree: