2019-11-27 20:32:27 +03:00
|
|
|
# Changelog
|
|
|
|
|
2022-04-04 20:06:43 +03:00
|
|
|
## [0.2.20] 2022-04-04
|
|
|
|
|
|
|
|
## Added
|
|
|
|
* Add ability to pass submodules to `builtins.fetchGit`
|
|
|
|
|
2021-01-04 16:48:05 +03:00
|
|
|
## Changed
|
|
|
|
* Remove warnings about GITHUB_INSECURE and GITHUB_PATH
|
2022-04-04 20:06:43 +03:00
|
|
|
* Support newer GHC
|
|
|
|
* Update optparse-applicative and aeson (aeson 2)
|
|
|
|
* Update nixpkgs and track master
|
|
|
|
* Speed up initialization (skip `nix-prefetch-url`)
|
|
|
|
* Bunch of documentation fixes
|
|
|
|
* Fix badges and GitHub Actions
|
|
|
|
|
2021-01-04 16:48:05 +03:00
|
|
|
|
2021-01-05 13:55:20 +03:00
|
|
|
## [0.2.19] 2021-01-05
|
|
|
|
## Added
|
|
|
|
* There is a new flag `--no-colors` for avoiding colors in the output
|
2020-09-17 13:49:52 +03:00
|
|
|
## Changed
|
|
|
|
* `GITHUB_PATH` was renamed to `NIV_GITHUB_PATH` https://github.com/nmattia/niv/issues/280
|
|
|
|
* `GITHUB_INSECURE` was renamed to `NIV_GITHUB_INSECURE` https://github.com/nmattia/niv/issues/280
|
2020-11-02 15:43:33 +03:00
|
|
|
* If `-T` is provided on the command line for `niv add` it will be respected and no guessing from the url is done.
|
|
|
|
* `type` attribute is now respected.
|
|
|
|
* If an url template is updated, `type` needs to be adjusted manuall as it is not guessed from the new url template.
|
2020-09-17 13:49:52 +03:00
|
|
|
|
2020-09-08 12:45:00 +03:00
|
|
|
## [0.2.17] 2020-09-08
|
|
|
|
## Added
|
|
|
|
* There is a new flag `-r/--rev` for specifying a revision during update and add
|
|
|
|
* There is a new flag `--version` that instructs niv to show its version and exit
|
|
|
|
## Changed
|
|
|
|
* The derivation name of sources is sanitized
|
|
|
|
* The `ref` field was deprecated in favor of `branch` and `tag` in `git`
|
|
|
|
sources
|
|
|
|
|
|
|
|
## [0.2.16] 2020-08-14
|
|
|
|
## Changed
|
|
|
|
* The `sources.nix` can now be imported when there's no local `sources.json`
|
|
|
|
|
|
|
|
## [0.2.15] 2020-08-13
|
|
|
|
## Added
|
|
|
|
* The sources can be overriden with `NIV_OVERRIDE_<source name>`
|
|
|
|
## Changed
|
|
|
|
* When `nix-prefetch-url` fails the command is shown
|
|
|
|
* IO operations during update are cached
|
|
|
|
|
2020-07-15 15:20:06 +03:00
|
|
|
## [0.2.14] 2020-07-15
|
|
|
|
## Added
|
|
|
|
* `niv add local` for local sources.
|
|
|
|
* Custom nixpkgs can be specified during `init`.
|
|
|
|
## Changed
|
|
|
|
* The derivation name for package `foo` is now `foo-src`.
|
|
|
|
* The extension `.tgz` is considered as `.tar.gz`.
|
|
|
|
* The default nixpkgs is `release-20.03`.
|
|
|
|
* Nixpkgs is now pulled from `NixOS/nixpkgs`, not from channels.
|
|
|
|
## Removed
|
|
|
|
* The types `builtin-tarbal` and `builtin-url` were removed.
|
|
|
|
|
2020-02-02 15:27:43 +03:00
|
|
|
## [0.2.13] 2020-02-02
|
|
|
|
## Added
|
|
|
|
* `niv modify -n NAME` to rename a package
|
|
|
|
## Changed
|
|
|
|
* README mentions the `modify` command
|
|
|
|
* `niv` is not shipped with the `niv-test` executable anymore
|
|
|
|
* `cabal-upload` was simplified
|
|
|
|
|
2020-01-20 13:33:09 +03:00
|
|
|
## [0.2.12] 2020-01-17
|
|
|
|
## Added
|
|
|
|
* Examples for building C++ libraries with niv
|
|
|
|
* Documentation for using niv from nixpkgs
|
|
|
|
## Changed
|
|
|
|
* Only depend on executables in `default.nix` (`-A niv`) for smaller closure
|
|
|
|
size
|
|
|
|
* Ensure `<nixpkgs>` is not evaluated in `sources.nix` unless necessary
|
|
|
|
|
2020-01-07 17:29:59 +03:00
|
|
|
## [0.2.11] 2020-01-07
|
|
|
|
## Changed
|
|
|
|
* Users can set custom `pkgs` when `import`ing `sources.nix`
|
|
|
|
|
2020-01-06 22:49:20 +03:00
|
|
|
## [0.2.10] 2020-01-06
|
|
|
|
## Changed
|
|
|
|
* The bundled `nix/sources.nix` is formatted with `nixpkgs-fmt`
|
|
|
|
|
|
|
|
## [0.2.9] 2019-12-17
|
2019-12-18 01:39:35 +03:00
|
|
|
## Changed
|
|
|
|
* `niv init` uses nixpkgs 19.09
|
|
|
|
|
2020-01-06 22:49:20 +03:00
|
|
|
## [0.2.8] 2019-12-09
|
2019-12-09 20:34:50 +03:00
|
|
|
## Changed
|
|
|
|
* Fixed message in `niv init` with custom `sources.json`
|
|
|
|
|
2019-12-08 22:54:47 +03:00
|
|
|
## [0.2.7] 2019-12-08
|
|
|
|
## Added
|
|
|
|
* Support for custom path `sources.json` with `--sources-json`
|
|
|
|
|
2019-12-07 14:57:26 +03:00
|
|
|
## [0.2.6] 2019-12-05
|
|
|
|
## Changed
|
|
|
|
* Fix `niv update` with `git` specs
|
|
|
|
|
2019-12-01 20:31:58 +03:00
|
|
|
## [0.2.5] 2019-12-01
|
|
|
|
## Changed
|
|
|
|
* Fix `niv show` adding extra newlines
|
|
|
|
|
2019-12-01 15:59:05 +03:00
|
|
|
## [0.2.4] 2019-12-01
|
|
|
|
### Added
|
|
|
|
* Experimental support for `add` subcommands, in particular `niv add git`
|
|
|
|
## Changed
|
|
|
|
* Various error message fixes
|
|
|
|
|
2019-11-28 12:08:14 +03:00
|
|
|
## [0.2.3] 2019-11-28
|
|
|
|
### Added
|
|
|
|
* A new CLI option (`-s`) reads attributes as raw strings.
|
|
|
|
### Changed
|
|
|
|
* The attribute CLI option (`-a`) now allows JSON value.
|
|
|
|
* Some typos were fixed.
|
|
|
|
* A deprecation warning was added for `builtin-tarball`.
|
|
|
|
|
2019-11-27 20:32:27 +03:00
|
|
|
## [0.2.2] 2019-11-27
|
|
|
|
### Added
|
|
|
|
* The `sources.nix` are now versioned.
|
|
|
|
* Show the help when no arguments are provided.
|
|
|
|
### Changed
|
|
|
|
* The `show` command was prettified.
|