Releases: obsidiansystems/obelisk
Releases · obsidiansystems/obelisk
v1.3.0.0
What's Changed
- Update default ios sdk to 15 by @ali-abrar in #1047
- Expose ghcIosAarch64 to projects by @ali-abrar in #1048
- Update changelog by @ali-abrar in #1049
- Add support for aarch64-darwin (m1/m2 macos) and aarch64-linux by @ali-abrar in #1046
Full Changelog: v1.2.0.0...v1.3.0.0
v1.2.0.0
What's Changed
- Make sure to set permissions when we rsync config by @cidkidnix in #1035
- Add ob repl -c/--config option by @TravisCardwell in #1025
- Cleanup skeleton build-depends by @alexfmpe in #1016
- Batch hash statics by @Ericson2314 in #1040
- reflex-platform -> 1.1.2.0 by @ali-abrar in #1045
New Contributors
- @TravisCardwell made their first contribution in #1025
Full Changelog: v1.1.1.0...v1.2.0.0
v1.1.1.0
What's Changed
- dep: reflex-platform -> 1.1.0.0 by @ali-abrar in #1042
Full Changelog: v1.1.0.0...v1.1.1.0
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
__useNewerCompilerflag 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-interpretoption for thunks - #870: Host redirection added to
ob deploy. Readme updated with tutorial for new functionality. - #916: Add
check-known-hostsoption inob deploy init. - #931: Fix bug in
ob deploy initwheressh-keygenwas not found in nix store. - #934, #936: obelisk now always uses absolute paths when generating
.ghcifiles 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
bashinstead 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 --portwhich 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 runwhen 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
routeLinkAttrtoObelisk.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
Semigroupoidinstance for theEncodertype, compatible with its existingCategoryinstance. - #957:
ob deploywill 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
.wasmfiles with the correct MIME type. - #930: Add an error to
ob runwhenstaticis 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 runwhenstaticFilePathis 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, andstaticinstead of the project root to avoid spurious rebuilds when other files change - Don't call
nix show-derivationto 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
v1.0.0.0
v1.0.0.0 - 2022-01-04
- Update reflex-platform to v0.9.2.0
- This updated reflex-dom-core to 0.7, which removes the
jstype parameter fromPrerender(i.e.,Prerender js t mbecomesPrerender t m) and removesHasJSandHasJSContext. This resulted in changes to the following Obelisk modules:Obelisk.Configs:HasJSContextandHasJSare no longer derived.Obelisk.Frontend:ObeliskWidget js t route mno longer has thejstype parameter. It is nowObeliskWidget t route m.Obelisk.Route.Frontend: There are no longerHasJSContextorHasJSinstances forRoutedT,SetRouteT,RouteToUrlT.- Various functions that were constrained to
Prerender js t mhave been updated to with the constraintPrerender t m.
- This updated reflex-dom-core to 0.7, which removes the
v0.9.4.0
v0.9.3.0
v0.9.2.1
v0.9.2.1 - 2021-12-28
- Update reflex-platform to v0.7.2.0
v0.9.2.0
v0.9.2.0 - 2021-12-28
- Update reflex-platform to v0.7.1.0
- Fix bug #790 which prevented CSS file loading on ios
- Use TemplateHaskell to determine asset file paths
- Migration: All uses of static @"some/path" become $(static "some/path"). Instead of requiring TypeApplications and DataKinds, modules calling static must now enable TemplateHaskell.
- Deprecation: Deprecate static asset modules generated via 'obelisk-asset-manifest-generate' in favor of modules generated via 'obelisk-asset-th-generate'. The new executable takes the same arguments as the old and should be a drop-in replacement. To preserve the old behavior, set __deprecated.useObeliskAssetManifestGenerate = true; in your obelisk project configuration.
- Feature: Files added to the static directory while ob run is active no longer require ob run to be restarted
- Feature: When staticFiles is a derivation, as opposed to a regular directory, produce a symlink to the result of that derivation at static.out and have ob run serve static assets from that symlink. This makes it possible for the static asset derivation to be rebuilt and the new results served without restarting ob run.
- Feature: Rebuild static asset derivations while ob run is active as long as the change to the derivation is within the project folder. ob run now displays a message ("Static assets rebuilt and symlinked to static.out") whenever static assets have been rebuilt and the new static assets are being served.
- Feature: Add staticFilePath to Obelisk.Generated.Static. Like static, this uses TH to generate a reference to a file. Unlike static, this staticFilePath generates a path on the filesystem instead of URL path.
- Docs: Added documentation for obelisk-routes.
v0.9.1.0
released.
v0.9.1.0
- #801: Remove errors and warning for local packages without a library component
- #812: Add support for
NoImplicitPreludeand other extensions disabled viaNo - Pinned version bumps:
- reflex-platform 0.7.0.0
- hnix 0.8.0
- #787: Set
immutablecache control directive when serving content-addressed static assets - Use iOS SDK 13.2