Skip to content

Latest commit

 

History

History
566 lines (504 loc) · 24.3 KB

CHANGELOG.md

File metadata and controls

566 lines (504 loc) · 24.3 KB

Changelog

summoner uses PVP Versioning. The changelog is available on GitHub.

Unreleased

  • #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 to microaeson.
  • #466: Add --test-show-details=direct to cabal 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 and lts-17.0 instead. UPD: Use GHC-8.10.7 and lts-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 version 3.0.
  • #495: Generate dependabot.yml to update GitHub Actions automatically.
  • #TUI Upgrade brick allowed version. Bump up lower bound to 0.56 due to the new field formFieldUpdate addition to the FormFieldState data type.

2.0.1.1 — May 29, 2020

  • #467: Allow aeson-1.5.0.0.
  • #469: #TUI Allow brick-0.54.

2.0.1.0 — May 21, 2020

  • #443: Support GHC-8.10.1 for Summoner project.
  • #459: Bump up tomland version to 1.3.0.0.
  • #460: Bump up relude version to 0.7.0.0. Remove Summoner.Template.Mempty as memptyIfFalse is imported from Relude.
  • #455: Allow validation-selective version 0.1.0.0.
  • #452: Bump up colourista version to 0.1.0.0. Remove the Summoner.Ansi module.
  • #TUI Bump up brick upper bound to allow 0.53.
  • #CLI Bump up time upper bound to allow 1.10.

2.0.0.0 – Mar 28, 2020

  • #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.

    (by @patrickt, @vrom911, @chshersh)

  • #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 to 2.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 the GHC 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 the base-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. Add ISC 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 and contributing fields in the configurations. Use files instead. (by @vrom911)

  • Use --silent and --fail options with curl 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 to generic-data. (by @chshersh)

  • #434: Move to validation-selective. (by @vrom911)

  • Use colourista for pretty terminal formatting. (by @chshersh)

1.4.0.0 – Dec 25, 2019 🎅

  • #339: Support GHC 8.8.1 in generated projects. Note: Stack projects will use nightly 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 version 8.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 of 0.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 generated stack.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. Deprecate stylish and contributing 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 to ghc-options instead.

  • #367: Add raw type of custom extra files in the TOML configuration. Remove link type of file. (by @chshersh)

    Migration guide: Replace link with raw and specify any custom text you want.

  • Rename file config field of source to local in the TOML configuration. (by @chshersh)

  • #327: Better AppVeyor CI configuration for both cabal and stack 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)

  • #384: Test golden project build's success. (by @chshersh)

  • #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 and relude in Summoner. Drop base-noprelude trick. (by @vrom911)

  • #329: Bump up to optparse-applicative-0.15, use custom ParserPrefs. (by @vrom911)

  • #328: Upgrade tomland bounds to allow 1.1.0.0. (by @vrom911)

  • #373: Bump up to tomland-1.2.1.0. (by @vrom911)

  • Bump up to relude-0.6.0.0. (by @vrom911)

  • #337: Allow generic-deriving-1.13. (by @chshersh)

  • #341: Allow ansi-terminal-0.10. (by @mpilgrem)

  • #323: Allow tree-diff-0.1. (by @vrom911)

  • #320: Allow hedgehog-1.0. (by @vrom911)

1.3.0.1 — Apr 10, 2019

  • Include golden test files into extra-source-files.

1.3.0 (TUI: 0.1.0) — Apr 9, 2019

  • #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. Deprecate warnings field in the TOML configuration.

    Migration guide: Please, rename warnings field if you use one, it will be removed in the very next release. Use ghc-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.

1.2.0 (TUI: 0.0.0) — Nov 30, 2018

  • #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 no LICENSE file generation. Add licenses short descriptions text during the interactive mode. Patch summon show license command to show short description about each license.
  • #197 Build with stack lts-12.20, and support GHC 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 to Source data type.
  • #178: Remove unnecessary new lines and trailing spaces in most places.
  • #168: Upgrade stack intall-cabal option's version to 2.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.

1.1.0.1 – Sep 10, 2018

  • Bump up relude version to 0.3.0.
  • #146: Migrate to base-noprelude.
  • Add -Werror to build option in generated .travis.yml

1.1.0

  • #128: Important: Replace summon with summon 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 and show 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 to 0.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.

1.0.6

  • Use relude instead of universum.
  • #105: Add --ignore-config option.

1.0.5

  • #100: Bump up to ghc-8.4.3. Add support for Ghc843 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.

1.0.4

  • Bump up tomland to version 0.3.

1.0.3

  • #92: Remove -fhide-source-paths from generated stack yaml files for GHC < 8.2

1.0.2

  • #87: Fix Travis matrix for not default ghc versions.

1.0.1

  • #85: Remove base-noprelude from dependencies.

1.0.0

  • Important: Rename hs-init to summoner. Transform the script into the package.
  • #54: Rename on and off commands to with and without.
  • #48:
    • Add ability to write configurations file. Remove Targets data type. Use Config instead for default, file and CLI configurations.
  • #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.

hs-init

0.0.4

  • Now works on windows systems as well
  • Add powershell install script for Windows

0.0.3

  • #45: Support AppVeyor CI for created projects.

0.0.2

  • Use metavar for on-off commands.
  • Upgrade lts to 10.3, use ghc 8.2.2 as default value.

0.0.1

  • #36: Add option for creating private repositories — -p | --private.