Changelog for hie-bios-0.12.1
ChangeLog hie-bios
2023-11-13 - 0.12.1
2023-03-13 - 0.12.0
- 9.6 support #392
- Better support for multi component projects #387
- Remove unused dependencies from hie-bios #381
- Add logs over commands #375
2022-09-13 - 0.11.0
- Compatibility with aeson 1.5 #368
- Add GHC 9.4 support #366
- Actually run the bios-tests when tool-deps are ignored #365
- They have been accidentally disabled since 0.9.0.
- Completely overhaul test-suite #356
2022-07-26 - 0.10.0
- Apply Hlint suggestions #354
- Cabal cradle: change error message on failure #353
- Refactor parsing of hie.yaml files #329
- Make sure we test the same versions as HLS #346
- Move logging from hslogger to co-log #347
- Demote process output to Debug severity #348
- Fix typos #342
2022-03-07 - 0.9.1
- Ignore .ghci files while querying project GHC #337
- Fixes a bug where hie-bios fails to load cabal cradles with
.ghci
files
- Improve error messages if cabal invocation fails #338
- Allow text-2.0 #335
2022-02-25 - 0.9.0
- Use the proper GHC version given by cabal #282
- In particular, honour the
with-compiler
field in cabal.project
- Drop support for GHC 8.4 #331
2022-01-06 - 0.8.1
- Add support for GHC 9.0.2 #322
2021-11-29 - 0.8.0
- Support aeson >= 2.0. #313
- Remove CradleOpt Type #293
2021-08-30 - 0.7.6
- Don't look for NIX_GHC_LIBDIR as it is redundant #294
- Add compatibility for GHC 9.0 and 9.2 #300
- Add CPP statements for IncludeSpecs #307
- Refactor implicit config discovery #291
- Log stderr of stack to display more informative error messages to users. #254
2021-03-21 - 0.7.5
Bug Fixes
- Improve out-of-the-box support for dynamically linked GHC. #286, #287
2021-02-19 - 0.7.4
Bug Fixes
- Create the cache directory on linux if it is missing #283
2021-01-29 - 0.7.3
- Set builddir for cabal #264
- Essentially, change the build directory for cabal to the
XDG_CACHE_HOME
directory (e.g. ~/.cache/hie-bios/...
). This way, user
invocations of cabal will no longer trigger a configure
step, improving
the overall developer experience.
- Optparse-applicative CLI #276
2020-12-16 - 0.7.2
- Faster Bios protocol #271
- Modify unreachable cabal website links #259
- Only take the last line of output in getRuntimeGhcX #256
2020-09-01 - 0.7.1
- Add explicit type for stack.yaml location #243
- In particular, fixes a regression with
hie.yaml
and standalone-files for stack
- Reduce noise in Extra-Source-File field #239
2020-08-27 - 0.7.0
New Features
- Allow specifying a stack.yaml for stack configurations #230
- Pass HIE_BIOS_ARG to the dependencies program #235
API Changes
2020-08-08 - 0.6.3
API Addition
2020-08-08 - 0.6.2
New Features
- Add optional ghc-path field in bios cradles #231
2020-07-12 - 0.6.1
Bug Fixes
- Expose 'readProcessWithCwd' #227
- Fix mistakes in the ChangeLog #228
2020-07-12 - 0.6.0
New Features
- Add getRuntimeGhcLibDir and getRuntimeGhcVersion functions through a new runGhcCmd API #207 #224
- Add shell and dependency-shell attributes to bios cradle type #188
- Store dependencies in CradleError #186
Bug Fixes
- Improve the README #225
- Detect implicit cabal cradle in the absence of cabal.project #221
- Dont resolve symlinks in cradle discovery #219
- Make Cradle dependencies for stack and cabal more reasonable #209
- This ships with a known bug:
stack
lists cradle dependencies from
sub-directories incorrectly.
- Fix absolute mains #205
- Improve filtering of rts arguments from stack and cabal cradles #197
- Make package db paths absolute #193
- Add cabal.project.local to cabal cradle dependencies #184
- Remove outdated reference to $HIE_BIOS_GHC[_ARGS]
2020-06-26 - 0.5.1
- Fix printing of current directory in wrapper script #206
- Export Cradle utilizes #189
2020-05-08 - 0.5.0
- Add cabal.project.local to cabal cradle dependencies #184
- Remove unused environment variables to simplify code. #182
- Clean up hie-bios wrapper scripts after they are used. #179
- Avoid error in windows due to temp file being locked. #175
- Get building with ghc-8.10. #173
- Add getCompilerOptionsWithLogger convenience function.
- Add componentRoot to ComponentOptions. #166
Options may be relative to the componentRoot.
- Add makeDynFlagsAbsolute to fix mangling of ghc options starting with "-i". #166
Breaks backwards-compatibility, because ComponentOptions now may contain
filepaths relative to the component root directory.
This function needs to be invoked on the parsed 'DynFlags' to normalise the filepaths.
- Fix Ghci Script parses space in Filepath as Module (#162)
- Correct path to .hie-bios example in readme (#159)
- Relax upper bound for 'extra' (#161)
2020-01-29 - 0.4.0
- Return CompilerOptions in initialization (#130)
- Implement hook into config parser (#131)
- Enable GHC 8.8.1 windows ci (#128)
- Catch permission errors in cradle discovery (#127)
- Add explicit cradle predicates and multi cradle depend on its cradles (#119)
- Fix outdated direct cradle in README (#124)
- Pass filepath to cabal v2-repl when getting flags (#123)
- CPP for GHC 8.10 compatibility (#134)
- Derive Ord for ComponentOptions (#133)
- Lower the required version of the GHC dependency (#138)
- Add tests for implicit cradles (#135)
- Add Functor instance for Cradle and ActionName (#140)
- Remove Show instance from public API (#146)
- Add Show instance for CradleLoadResult (#145)
- Typo in debug message (#144)
- Add lower bound for aeson and clean-up API (#142)
2019-12-19 - 0.3.2
- Compile windows wrapper script in a a more appropiate directory. (#109)
- Fix situation in wrapper script when environmental variable wasn't set. (#109)
2019-12-18 - 0.3.1
- Fix bug in the windows wrapper script (#108)
2019-12-15 - 0.3.0
- Add multi cradle, cabal multi cradle and none cradle
- Remove obelisk, bazel and default cradle types
- bios program now expects arguments to be separated by newlines rather than
spaces. (#80)
- Only try to use stack cradle if
stack
is executable.
- Filter out
-w -v0
from cabal output when using cabal cradle.
- Initialise plugins when loading a module.
- Interface file cache persists between loads -- this greatly speeds up
reloading a project if the options don't change.
- Reuse wrapper executable on windows if one already exists.
- Make stack cradle work more like the cabal cradle
- Syntax for specifying a specific component
- Targets are read from the ghci script file
- Cradles now use a temporary file to communicate arguments to hie-bios.
bios cradles should consult the HIE_BIOS_OUTPUT envvar for the filepath to
write the arguments seperated by newlines.
2019-09-19 - 0.2.1
- Make stack cradle use the same wrappers as cabal cradle. Fixes some issues
on windows.
2019-09-18 - 0.2.0
- Compat with 8.2 and 8.8
- Add support for explicitly specifying dependencies for a cradle
- Separate arguments by null bytes, so arguments can contain spaces
(cabal/stack wrapper)
- Add --help to CLI
- Fix the directories that certain processes run in
2019-09-07 - 0.1.1
- Compat with GHC 8.4
- Fix long paths issue on windows
- Handle projects with .o files
2019-09-06 - 0.1.0