1
1
mirror of https://github.com/nmattia/snack.git synced 2024-08-16 07:10:57 +03:00
snack/CHANGELOG.md

37 lines
1.5 KiB
Markdown
Raw Permalink Normal View History

2018-10-03 19:38:18 +03:00
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a
Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
2018-10-03 20:51:10 +03:00
2018-10-03 19:38:18 +03:00
### Added
- This CHANGELOG file to track changes to the command line and library APIs.
2018-11-18 13:00:38 +03:00
- Support for custom GHC version, `ghcWithPackages` and `pkgs`.
- Support for more than one directory in `src` (and HPack's `source-dirs`).
2019-01-18 20:10:31 +03:00
- Allow empty `source-dirs` in `package.yaml`; defaults to `./.`
2018-10-03 19:38:18 +03:00
2018-10-03 20:51:10 +03:00
### Changed
- The `snack run` function to accept arguments that will be passed to the built
executable.
2018-10-04 21:33:26 +03:00
- The `snack.nix` now describes the build environment and packages are
described through `package.nix` (i.e. to migrate: rename `snack.nix` to
2018-11-18 13:00:38 +03:00
`package.nix`).
2019-01-18 23:40:14 +03:00
- The same flag (`-p`) is used for specifying both a YAML or Nix file. When
none is provided snack tries to use either `./package.yaml` or
`./package.nix`.
2019-01-18 23:48:20 +03:00
- The flag `-s` is used to specify a `snack.nix`. By default `./snack.nix` is
2019-01-18 23:40:14 +03:00
used.
2019-01-22 00:16:16 +03:00
- The `--cores` was replaced with `--jobs`
2019-01-22 00:12:13 +03:00
- The default GHC version is now 8.4.4.
2019-07-28 15:26:07 +03:00
- The default GHC version is now 8.6.4.
2018-10-03 20:51:10 +03:00
2018-10-03 21:11:29 +03:00
### Fixed
- The module import parsing when the CPP extension is enabled.
2018-10-21 15:13:05 +03:00
- The module import parsing when a BOM is present.
- The matching on Haskell files. Any file in any subdirectory ending in `.hs` will be matched, both lower- and uppercase filenames are accepted.
2018-10-03 21:11:29 +03:00
2018-10-03 19:38:18 +03:00
[Unreleased]: https://github.com/nmattia/snack/compare/51987daf76cffc31289e6913174dfb46b93df36b...HEAD