v1.1.0.0
v1.1.0.0 - 2023-05-24
- Update reflex-platform to version 1.0.1.0 with GHC 8.10 and updated nixpkgs
- Make GHC 8.10 the default. To continue using GHC 8.6.5, set the
__useNewerCompiler
flag in default.nix tofalse
.
- Make GHC 8.10 the default. To continue using GHC 8.6.5, set the
- Documentation
- building
- #1004: Fix closure compiler sometimes crashing. Similar to #956, but for when it tries to report errors. (see: closure-compiler#3720)
- #956: Squelch closure-compiler warnings. They are not very helpful and can cause issues (see: closure-compiler#3720)
- nix
- CLI
- #784: Hint for users to take advantage of
ob shell --no-interpret
option for thunks - #870: Host redirection added to
ob deploy
. Readme updated with tutorial for new functionality. - #916: Add
check-known-hosts
option inob deploy init
. - #931: Fix bug in
ob deploy init
wheressh-keygen
was not found in nix store. - #934, #936: obelisk now always uses absolute paths when generating
.ghci
files for REPL and IDE support. This is a BREAKING change for some old tools that could not handle absolute paths properly. However, due to the behavior of cross-volume relative paths on certain platforms, such as modern MacOS, we cannot guarantee proper operation of obelisk with relative paths. - #948: Obelisk now always invokes
bash
instead of the system-wide shell when it can. Some sub-programs, likeghcid
, will still use the system-wide shell, which can cause subtle problems due to impurities. - #949: Obelisk now configures its output and error streams to transliterate unsupported characters to a known-good replacement character.
- #951: Add
ob run --port
which allows the user to override the port on which the app is served, rather than always using the port configured in the route. This is compatible with the use of reverse proxies that do their own TLS termination, e.g.ngrok
. - #974: Fail
ob run
when invalid fields are present indefault-extensions
/default-language
, or when Cabal files are otherwise invalid.
- #784: Hint for users to take advantage of
- obelisk-route
- #915: Add
routeLinkAttr
toObelisk.Route.Frontend
. This allows the creation of route links with additional, user-specified DOM attributes. - #918: Add GHC 8.10.7 support for
obelisk-route
. - #952: Add a
Semigroupoid
instance for theEncoder
type, compatible with its existingCategory
instance. - #957:
ob deploy
will now detect when the target machine needs to be rebooted after deployment, and automatically do so. This is necessary, for example, when the kernel has been updated.
- #915: Add
- Javascript FFI
- #844: Jsaddle FFI example extended in skeleton (example project which is installed by
ob init
). Note the remark on minifier renaming inskeleton/static/lib.js
- #903: Added support for
externs.js
, a file which allows users to specify JavaScript identifiers which should be avoided by Closure Compiler during its minification step. See the FAQ.
- #844: Jsaddle FFI example extended in skeleton (example project which is installed by
- Static Assets
- #922: Serve
.wasm
files with the correct MIME type. - #930: Add an error to
ob run
whenstatic
is called with a path to a file that doesn't exist - #940: Automatically restart the server when configuration is updated via
ob deploy push
. - #959: Add an error to
ob run
whenstaticFilePath
is called with a path to a file that doesn't exist - #1011: Update default iOS SDK to 15.0
- #835: Rebuild static assets in fewer circumstances:
- Watch
frontend
,backend
,common
, andstatic
instead of the project root to avoid spurious rebuilds when other files change - Don't call
nix show-derivation
to decide whether to rebuild since it seems to do about as much work as a no-op nix-build - Add a debug message indicating which file changes triggered the static file rebuild
- Watch
- #922: Serve
New Contributors
- @tdimiduk made their first contribution in #901
- @romefeller made their first contribution in #904
- @jrpotter made their first contribution in #911
- @augyg made their first contribution in #915
- @runeksvendsen made their first contribution in #918
- @d-berman made their first contribution in #919
- @Yasuke made their first contribution in #870
- @madeline-os made their first contribution in #913
- @ohri-anurag made their first contribution in #903
- @plt-amy made their first contribution in #949
- @fendor made their first contribution in #959
- @cidkidnix made their first contribution in #993
Full Changelog: v1.0.0.0...v1.1.0.0