summoner
uses PVP Versioning.
The changelog is available on GitHub.
- #564:
Upgrade
brick
to version>=1.0
. - #565: Build Summoner with GHC-9.2.
- #539: Use GHC-9.0 as default version for generated projects.
- #540: Build Summoner with GHC-9.0.
- #520: Output the link to the GitHub project at the end of the process.
- #476:
Switch from
aeson
tomicroaeson
. - #466:
Add
--test-show-details=direct
tocabal test
on CI. - #444
#547:
Support GHC-8.10.1 in the generated projects.
Use GHC-8.10.1 by default in the generated projects.
Use
nightly-2020-06-29
for stack resolver. UPD: Use GHC-8.10.3 andlts-17.0
instead. UPD: Use GHC-8.10.7 andlts-18.10
instead. - #445:
Add
-Wunused-packages
for GHC-8.10. - #477:
Remove
neat-interpolation
from dependencies. As a result, remove some trailing spaces from the generated files. - #442: Get current year with the respect to the current timezone.
- #446:
Add README link in the
.cabal
file's description field. - #453:
Drop support of
GHC-7.10
in the generated projects. - #482:
Include
.hie
related GHC options to the generated files:-fwrite-ide-info
and-hiedir=.hie
for GHC >= 8.8. Also add.hie
folder in the.gitignore
. - #484: Improve generated files content.
- #491: Support GHC-8.8.4 in the project.
- #517:
Switch to
main
initial branch when creating project. - Require
git >= 2.28
for--initial-branch=main
option. - #340:
Use
cabal
version3.0
. - #495:
Generate
dependabot.yml
to update GitHub Actions automatically. - #TUI Upgrade
brick
allowed version. Bump up lower bound to0.56
due to the new fieldformFieldUpdate
addition to theFormFieldState
data type.
- #443:
Support GHC-8.10.1 for
Summoner
project. - #459:
Bump up
tomland
version to1.3.0.0
. - #460:
Bump up
relude
version to0.7.0.0
. RemoveSummoner.Template.Mempty
asmemptyIfFalse
is imported fromRelude
. - #455:
Allow
validation-selective
version0.1.0.0
. - #452:
Bump up
colourista
version to0.1.0.0
. Remove theSummoner.Ansi
module. - #TUI Bump up
brick
upper bound to allow0.53
. - #CLI Bump up
time
upper bound to allow1.10
.
-
#246: Put common fields into the
common-options
common stanza. (by @vrom911) -
#351, #395, #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.
- Add
-
#401, #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) -
#418: Bump default
cabal
version to2.4
in the generated project. (by @vrom911) -
#114: #CLI #TUI Implement non-interactive mode with
-n | --non-interacive
command-line option. (by @vrom911) -
#70: #CLI #TUI Implement
summon config
command. This command will generate the default TOML configuration file with helpful comments. (by @chshersh) -
#361: Always put all default warnings in
ghc-options
inside common stanza under cabal conditionals on theGHC
version. Now they look like this:if impl(ghc >= 8.4) ghc-options: -Wmissing-export-lists -Wpartial-fields if impl(ghc >= 8.8) ghc-options: -Wmissing-deriving-strategies
(by @chshersh)
-
#345: Apply
mixins
approach for using alternative preludes instead of thebase-noprelude
trick. Now it looks like this in the.cabal
file:mixins: base hiding (Prelude) , relude (Relude as Prelude)
(by @chshersh)
-
#251: Update LICENSE names for
.cabal
files in generated projects. AddISC
to the list of the accepted licenses. (by @vrom911) -
#CLI #TUI Customise outputted LICENSE text for
summon show license LICENSE_NAME
command (by @vrom911) -
#399: Add Haddock header to library module.
{- | Copyright: (c) 2020 FULL_NAME SPDX-License-Identifier: LICENSE_NAME Maintainer: NAME <[email protected]> Project description -}
(by @vrom911)
-
Improve
maintainer
field in the generated.cabal
file. (by @vrom911) -
#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)Note: For the Stack failure reasons see this issue.
-
#394: Do not crush when
hub
is not installed. Instead, print descriptive warning message. (by @vrom911) -
#34: Print helpful error message when
hub
fails (for example, if the password is incorrect). (by @chshersh) -
#281: Add more example projects and golden tests for various scaffolding configurations. (by @chshersh)
-
#375: Remove deprecated
stylish
andcontributing
fields in the configurations. Usefiles
instead. (by @vrom911) -
Use
--silent
and--fail
options withcurl
commands. (by @chshersh) -
Upgrade GHC-8.6.5 LTS to
14.27
. (by @vrom911) -
#TUI Allow
brick-0.52
. (by @vrom911) -
#363: Move from
generic-deriving
togeneric-data
. (by @chshersh) -
Use
colourista
for pretty terminal formatting. (by @chshersh)
-
#339: Support GHC
8.8.1
in generated projects. Note: Stack projects will usenightly
resolver as the stable one is not out at the moment of this issue is implemented. (by @vrom911) -
Add
-Wmissing-deriving-strategies
option to GHC version8.8.1
and upper in the generated projects. (by @vrom911) -
#314: #CLI #TUI Improve
summon(-tui) show ghc
output. (by @gableh, @vrom911) -
#316: Add logos to README bagdes in the generated projects. (by @vrom911)
-
Generate project of version
0.0.0.0
instead of0.0.0
. (by @vrom911) -
#322: Run HLint check before project build in
.travis.yml
file for the generated projects. (by @vrom911) -
#382: Improve error logging when fetching the license from GitHub while generating the project. (by @chshersh)
-
#255: #CLI #TUI Autofill prelude module name when package name is typed. (by @yigitozkavci)
-
#354: #CLI #TUI Validate prelude package name and module name in config file, CLI, TUI. (by @yigitozkavci, @vrom911)
-
#315: Remove
-fhide-source-paths
from generatedstack.yaml
file as it is implied by the newer version of Stack. (by @bangng, @chshersh) -
Add
stack.yaml.lock
to.gitignore
file in the generated project. (by @vrom911) -
#318: Support GHC
8.6.5
in generated projects. (by @vrom911) -
Remove support of GHC
8.6.4
,8.6.3
,8.4.3
. Leave only the latest versions of each major release for generated projects. (by @vrom911) -
#333: Introduce
files
option in the TOML configuration which allows to specify custom files. Deprecatestylish
andcontributing
options. (by @chshersh)Migration guide: Instead of
stylish.url = "some url" contributing.link = "some link"
specify them like this:
files = [ { path = ".stylish-haskell.yaml" , url = "some url" } , { path = "CONTRIBUTING.md" , link = "some link" } ]
-
#374: Remove
warnings
field in the TOML configuration which was deprecated in the previous release. (by @chshersh)Migration guide: Rename
warnings
field toghc-options
instead. -
#367: Add
raw
type of custom extra files in the TOML configuration. Removelink
type of file. (by @chshersh)Migration guide: Replace
link
withraw
and specify any custom text you want. -
Rename
file
config field ofsource
tolocal
in the TOML configuration. (by @chshersh) -
#327: Better AppVeyor CI configuration for both
cabal
andstack
in the generated project. (by @chshersh) -
#253: #TUI Fix new line in the Description field of the form. (by @yigitozkavci)
-
#385: Add golden tests for
summon show ghc
command's output. (by @vrom911) -
#318: Build Summoner multipackage project with GHC
8.6.5
. (by @vrom911) -
#338: Build Summoner multipackage project with GHC-8.8.1. (by @vrom911)
-
#360: Use mixins with
base
andrelude
in Summoner. Dropbase-noprelude
trick. (by @vrom911) -
#329: Bump up to
optparse-applicative-0.15
, use customParserPrefs
. (by @vrom911) -
#328: Upgrade
tomland
bounds to allow1.1.0.0
. (by @vrom911) -
Bump up to
relude-0.6.0.0
. (by @vrom911)
- Include golden test files into
extra-source-files
.
-
#285: #CLI #TUI Implement
summon script
command. -
#151, #295: Add support for GHC-8.6. Make GHC-8.6.4 default.
-
#269: Important: Introduce
ghc-options
configuration parameter. Deprecatewarnings
field in the TOML configuration.Migration guide: Please, rename
warnings
field if you use one, it will be removed in the very next release. Useghc-options
instead. -
#303: Add option
noUpload
to the TOML configuration. -
Important: Summoner doesn't add old GHC versions into Travis matrix for Stack anymore. See this Stack issue for reasoning: commercialhaskell/stack#4488
-
#280: Support build with
cabal-install
on the AppVeyor CI.#TUI AppVeyor CI checkbox is no longer disabled when only
cabal
build tool is selected. -
#272: Simplify Travis config for Cabal in the generated project.
-
#275: Simplify Travis settings/installation process for Stack in the generated project.
-
#261: Guess author login, name and email from
.gitconfig
. -
#268: #CLI Simplify process of adding custom prelude in the interactive mode.
-
#282: Allow users to extend the
.gitignore
file. -
#286, #288, #304: Bump up to
tomland-1.0.0
,relude-0.5.0
,shellmet-0.0.1
. -
Drop support for GHC-8.6.3 on CI. Support GHC-8.6.4 on CI.
-
#TUI Upgrade to
summoner-1.3.0
. -
#297: #TUI Strip project description.
-
#304: #TUI Bump up to
brick-0.47
.
- #208:
#TUI Implement initial TUI for
summoner
. - Make
cabal-version: 2.0
default in generated projects. - #11: Support offline mode.
- #199:
Add
None
license with noLICENSE
file generation. Add licenses short descriptions text during the interactive mode. Patchsummon show license
command to show short description about each license. - #197
Build with
stack
lts-12.20, and supportGHC
8.4.4 in project generation. Make GHC-8.4.4 the default one for generated project. - #37: Add HLint check on Travis CI in generatd projects.
- #142:
Add version bounds to
base
in the generated.cabal
file. - #239: Make categories not mandatory.
- Use
defaultDescription
for project description if not specified. - #185: Add golden tests.
- #184
Add
--no-upload
option. - #169: Make AppVeyor use the 64bits version of stack and build for 64 bits.
- #154:
Add
Link
constructor toSource
data type. - #178: Remove unnecessary new lines and trailing spaces in most places.
- #168:
Upgrade
stack
intall-cabal
option's version to2.2.0.1
in the generated Travis file. - #195: Update prompt questions for CLI.
- Add more documentation to the functions.
- #155:
Bump up to
tomland-0.5.0
. - #202:
Bump up to
relude-0.4.0
. - Remove
tasty
dependencies from tests. - Drop support for GHC-8.6.1 on CI. Support GHC-8.6.2 on CI.
- Drop support for GHC-8.4.3 on CI. Build with GHC-8.4.4 on CI.
- Use
defaultDescription
for project description if not specified.
- Bump up
relude
version to0.3.0
. - #146:
Migrate to
base-noprelude
. - Add -Werror to build option in generated .travis.yml
- #128:
Important: Replace
summon
withsummon new
command. To create a project now the following command should be used:summon new my-project
- #82: Add stackage badges.
- #109: Fix travis cache directories.
- #117: Step into created project properly
- #110: Print executing command.
- #91: Add warning fields for ghc.
- #90: Add TOML test.
- #120: Bump up dependencies.
- #58:
Make
Licence
type safer. - #124: Print directories bold.
- #130:
Show git revision version under
--version
command. - #63:
Add
show ghc
,show license
andshow license <LICENSE_NAME>
commands. - #122: Remove github link from CHANGELOG when github is not chosen.
- #35:
Add config option to add
.stylish-haskell.yaml
to your project (via URL or file path). - Bump up
tomland
version to0.4.0
. - #138:
Remove traces of GitHub from
.cabal
file when GitHub integration is disabled. - #31:
Add config option to add
CONTRIBUTING.md
to your project (via URL or file path). - #27:
Remove
b
script.
- Use
relude
instead ofuniversum
. - #105:
Add
--ignore-config
option.
- #100:
Bump up to
ghc-8.4.3
. Add support forGhc843
in code and make it default. - Make CI badges in README be shown depending on the chosen options.
- #99:
UseTravis-specific env variable
TRAVIS_BUILD_DIR
in created travis file. - #97: Add cabal to created travis file.
- #96:
Add option to choose
cabal
,stack
or both.
- Bump up
tomland
to version0.3
.
- #92: Remove -fhide-source-paths from generated stack yaml files for GHC < 8.2
- #87:
Fix Travis matrix for not default
ghc
versions.
- #85:
Remove
base-noprelude
from dependencies.
- Important: Rename
hs-init
tosummoner
. Transform the script into the package. - #54:
Rename
on
andoff
commands towith
andwithout
. - #48:
- Add ability to write configurations file. Remove
Targets
data type. UseConfig
instead for default, file and CLI configurations.
- Add ability to write configurations file. Remove
- #60:
Use custom prelude
universum
. - #39:
Add option to use custom prelude in CLI and in
.toml
configuration. - #38:
Add option to add default extensions to
.toml
config. - #62: Make some parts of output not only colorful, but also bold. This makes output prettier.
- #67:
Add
Aswer
data type to handle yes-no CLI questions. - #61:
Add CLI
--version
option. - #73: Make custom prelude be table in toml.
- #74: Print hierarchy tree for the created project.
- Now works on windows systems as well
- Add powershell install script for Windows
- #45: Support AppVeyor CI for created projects.
- Use metavar for on-off commands.
- Upgrade
lts
to10.3
, useghc 8.2.2
as default value.
- #36:
Add option for creating private repositories —
-p | --private
.