Skip to content

Commit

Permalink
Prepare changelog for the 2.0 release (#439)
Browse files Browse the repository at this point in the history
* Prepare changelog for the 2.0 release

* More updates after review
  • Loading branch information
chshersh authored Mar 28, 2020
1 parent 9f8ef9d commit 754d460
Show file tree
Hide file tree
Showing 5 changed files with 61 additions and 47 deletions.
97 changes: 55 additions & 42 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,38 +3,42 @@
`summoner` uses [PVP Versioning][1].
The changelog is available [on GitHub][2].

## 2.0.0.0 – Unreleased
## 2.0.0.0 – Mar 28, 2019

* [#351](https://github.com/kowainik/summoner/issues/351)
[#395](https://github.com/kowainik/summoner/issues/395):
* [#246](https://github.com/kowainik/summoner/issues/246):
Put common fields into the `common-options` [common stanza](https://vrom911.github.io/blog/common-stanzas).
(by [@vrom911](https://github.com/vrom911))
* [#351](https://github.com/kowainik/summoner/issues/351),
[#395](https://github.com/kowainik/summoner/issues/395),
[#398](https://github.com/kowainik/summoner/issues/398):
__#CLI__ __#TUI__
Add GitHub Actions CI check as an option for the generated
project.

Add `-a` or `--actions` CLI option for GitHub actions.
Add `GitHub Actions` entry into interactive CLI mode.
Add `GitHub Actions` button into TUI.
Add `githubActions` to the TOML configs.
(by [@patrickt](https://github.com/patrickt), [@vrom911](https://github.com/vrom911))
* [#401](https://github.com/kowainik/summoner/issues/401)
* Add `-a` or `--actions` CLI option for GitHub actions.
* Add `GitHub Actions` entry into interactive CLI mode.
* Add `GitHub Actions` button into TUI.
* Add `githubActions` to the TOML configs.

(by [@patrickt](https://github.com/patrickt), [@vrom911](https://github.com/vrom911), [@chshersh](https://github.com/chshersh))
* [#401](https://github.com/kowainik/summoner/issues/401),
[#429](https://github.com/kowainik/summoner/issues/429):
Support GHC-8.8.3 in the project.
Make GHC-8.8.3 default for the generated projects.
Upgrade Stack LTS to `15.5`.
(by [@vrom911](https://github.com/vrom911))
* Upgrade GHC-8.6.5 LTS to `14.27`.
* [#418](https://github.com/kowainik/summoner/issues/418):
Bump default `cabal` version to `2.4` in the generated project.
(by [@vrom911](https://github.com/vrom911))
* [#114](https://github.com/kowainik/summoner/issues/114):
__#CLI__ __#TUI__
Implement non-interactive mode with `-n | --non-interacive` command-line option.
(by [@vrom911](https://github.com/vrom911))
* [#363](https://github.com/kowainik/summoner/issues/363):
Move from `generic-deriving` to `generic-data`.
(by [@chshersh](https://github.com/chshersh))
* [#70](https://github.com/kowainik/summoner/issues/70):
__#CLI__ __#TUI__
Implement `summon config` command. This command will generate the
default TOML configuration file with helpful comments.
(by [@chshersh](https://github.com/chshersh))
* [#281](https://github.com/kowainik/summoner/issues/281):
Add more example projects and golden tests for various scaffolding
configurations.
(by [@chshersh](https://github.com/chshersh))
* [#361](https://github.com/kowainik/summoner/issues/361):
Always put all default warnings in `ghc-options` inside common
stanza under cabal conditionals on the `GHC` version. Now they look
Expand All @@ -59,24 +63,13 @@ The changelog is available [on GitHub][2].
, relude (Relude as Prelude)
```
(by [@chshersh](https://github.com/chshersh))
* Use `colourista` for pretty terminal formatting.
(by [@chshersh](https://github.com/chshersh))
* __#TUI__ Allow `brick-0.52`.
(by [@vrom911](https://github.com/vrom911))
* [#246](https://github.com/kowainik/summoner/issues/246):
Put common fields into common stanza `common-options`.
* [#418](https://github.com/kowainik/summoner/issues/418):
Bump default `cabal` version to `2.4` in the generated project.
* [#394](https://github.com/kowainik/summoner/issues/394):
Do not crush when `hub` is not installed. Instead, print descriptive warning
message.
* [#251](https://github.com/kowainik/summoner/issues/251):
Update LICENSE names for `.cabal` files in generated projects.
Add `ISC` to the list of the accepted licenses.
* [#34](https://github.com/kowainik/summoner/issues/34):
Print helpful error message when `hub` fails (for example, if the
password is incorrect).
(by [@chshersh](https://github.com/chshersh))
(by [@vrom911](https://github.com/vrom911))
* __#CLI__ __#TUI__
Customise outputted LICENSE text for `summon show license LICENSE_NAME` command
(by [@vrom911](https://github.com/vrom911))
* [#399](https://github.com/kowainik/summoner/issues/399):
Add Haddock header to library module.

Expand All @@ -89,25 +82,45 @@ The changelog is available [on GitHub][2].
Project description
-}
```
* Improve `maintainer` field in the generated `.cabal` file.
* [#375](https://github.com/kowainik/summoner/issues/375):
Remove deprecated `stylish` and `contributing` fields in the configurations.
Use `files` instead.
(by [@vrom911](https://github.com/vrom911))
* __#CLI__ __#TUI__
Customise outputted LICENSE text for `summon show license LICENSE_NAME` command
* Use `--silent` mode with `curl` commands.
* [#114](https://github.com/kowainik/summoner/issues/114):
__#CLI__ __#TUI__
Implement non-interactive mode with `-n | --non-interacive` command-line option.
* Improve `maintainer` field in the generated `.cabal` file.
(by [@vrom911](https://github.com/vrom911))
* [#430](https://github.com/kowainik/summoner/issues/430):
Instead of not including old GHCs for Stack check at Travis,
those versions are added to the `allow_failures` section of matrix.
(by [@vrom911](https://github.com/vrom911))

_Note:_ For the Stack failure reasons see [this issue](https://github.com/commercialhaskell/stack/issues/4488).
* [#394](https://github.com/kowainik/summoner/issues/394):
Do not crush when `hub` is not installed. Instead, print descriptive warning
message.
(by [@vrom911](https://github.com/vrom911))
* [#34](https://github.com/kowainik/summoner/issues/34):
Print helpful error message when `hub` fails (for example, if the
password is incorrect).
(by [@chshersh](https://github.com/chshersh))
* [#281](https://github.com/kowainik/summoner/issues/281):
Add more example projects and golden tests for various scaffolding
configurations.
(by [@chshersh](https://github.com/chshersh))
* [#375](https://github.com/kowainik/summoner/issues/375):
Remove deprecated `stylish` and `contributing` fields in the configurations.
Use `files` instead.
(by [@vrom911](https://github.com/vrom911))
* Use `--silent` and `--fail` options with `curl` commands.
(by [@chshersh](https://github.com/chshersh))
* Upgrade GHC-8.6.5 LTS to `14.27`.
(by [@vrom911](https://github.com/vrom911))
* __#TUI__ Allow `brick-0.52`.
(by [@vrom911](https://github.com/vrom911))
* [#363](https://github.com/kowainik/summoner/issues/363):
Move from `generic-deriving` to `generic-data`.
(by [@chshersh](https://github.com/chshersh))
* [#434](https://github.com/kowainik/summoner/issues/434):
Move to `validation-selective`.
(by [@vrom911](https://github.com/vrom911))
* Use `colourista` for pretty terminal formatting.
(by [@chshersh](https://github.com/chshersh))

## 1.4.0.0 – Dec 25, 2019 🎅

Expand Down
1 change: 1 addition & 0 deletions summoner-cli/src/Summoner/License.hs
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ fetchLicense name = do
, "-H"
, "Accept: application/vnd.github.drax-preview+json"
, "--silent"
, "--fail"
]

whenNothing (decodeStrict @License $ encodeUtf8 licenseJson) $ do
Expand Down
2 changes: 1 addition & 1 deletion summoner-cli/src/Summoner/Source.hs
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,4 @@ fetchSource connectMode = \case
pure Nothing

fetchUrl :: Text -> IO (Maybe Text)
fetchUrl url = Just . toText <$> readProcess "curl" [toString url, "--silent"] ""
fetchUrl url = Just . toText <$> readProcess "curl" [toString url, "--silent", "--fail"] ""
2 changes: 1 addition & 1 deletion summoner-cli/summoner.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 2.4
name: summoner
version: 1.4.0.0
version: 2.0.0.0
synopsis: Tool for scaffolding fully configured batteries-included production-level Haskell projects.
description: Tool for scaffolding fully configured batteries-included production-level Haskell projects.
See [README.md](https://github.com/kowainik/summoner#-summoner) for details.
Expand Down
6 changes: 3 additions & 3 deletions summoner-tui/summoner-tui.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 2.4
name: summoner-tui
version: 1.4.0.0
version: 2.0.0.0
synopsis: Tool for scaffolding fully configured batteries-included production-level Haskell projects using TUI.
description: Tool for scaffolding fully configured batteries-included production-level Haskell projects using TUI.
See [README.md](https://github.com/kowainik/summoner#-summoner) for details.
Expand Down Expand Up @@ -81,10 +81,10 @@ library
, filepath ^>= 1.4.1.2
, microlens ^>= 0.4
, microlens-th ^>= 0.4
, summoner ^>= 1.4.0
, summoner ^>= 2.0.0.0
, text ^>= 1.2.3.0
, validation-selective ^>= 0.0.0.0
, vty >= 5.25 && < 5.27
, vty >= 5.25 && < 5.29

executable summon-tui
import: common-options
Expand Down

0 comments on commit 754d460

Please sign in to comment.