v0.8.0.0
-
(#674, #711) Introduce a new thunk format to support accessing the thunk's source directly when packed. When packed, thunks have an additional file called
thunk.nix
anddefault.nix
is now a thin wrapper around that. -
(#665) Add
--interpret
and--no-interpret
options toob run
/ob watch
/ob repl
/ob shell
. These options allow you to pick which paths will be pre-compiled bynix
when entering the shell/session and which won't. For exampleob run --no-interpret dep
will ensure that any dependencies found in./dep
will be built bynix
before loading the rest of the project into theghci
session. The same configuration forob shell
will ensure that those packages are built and available in theghc
package database inside the shell.NOTE:
ob shell
's default behavior is now different. By default it now behaves likeob run
/ob watch
/ob repl
in that it does not pre-build any packages whose.cabal
orpackage.yaml
files are found in the project. To regain the previous behavior, useob shell --no-interpret . --interpret backend --interpret common --interpret frontend
from the project root. -
(#695)
ob deploy init
now requires that your obelisk project be a cleangit
checkout with pushed changes. It has always required that your obelisk project be agit
repository, but it did not require that your local changes be committed and pushed. This new requirement is added to ensure users don't accidentally create a deployment pointing to an old version of the project. -
(#705) Add
Obelisk.Route.packTextEncoder
and generalizeObelisk.Route.unpackTextEncoder
over anyData.Text.Lens.IsText
. -
(#712) Update
reflex-platform
to version 0.5.3.0. -
(#700) Ensure
ob init
uses the thunk format of the target obelisk rather than the one currently running the init command. If a user had installed a version of obelisk with a new thunk format, a newly initialized skeleton of an older version would not be able to unpack it's own.obelisk/impl
. -
(#693) Fix a bug where some packages in
.attr-cache
directories would be incorrectly picked up and used instead of the correct ones when usingob run
/ob watch
/ob repl
. -
(#709) Fix a bug in obelisk's preprocessor causing it to incorrectly skip files in some circumstances.
-
(#663) Add experimental support for
ghcide
. See the README for more information. -
(#714) Miscellaneous improvements to CLI help and logging.