Skip to content

Releases: obsidiansystems/obelisk

v1.3.0.0

06 Dec 22:30
58c0427
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.2.0.0...v1.3.0.0

v1.2.0.0

07 Sep 18:08
cfa23ce
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.1.1.0...v1.2.0.0

v1.1.1.0

01 Aug 20:29
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.1.0.0...v1.1.1.0

v1.1.0.0

25 May 13:10
Compare
Choose a tag to compare

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 to false.
  • Documentation
    • #913: Add haddocks to Obelisk.Command.Deploy
    • #919: Document useful command for testing Obelisk branches to CONTRIBUTING.md
    • #931: For ob deploy init, command-line option --check-known-host corrected in readme, caveat added for multiple matching host-keypairs.
  • building
  • nix
    • #889: Remove override of acme module that pinned it to the version in nixpkgs-20.03. This is used for automatic https certificate provisioning.
    • #968: Expose parts of the server derivation as subattributes. For example, the un-assetified frontend can be built alone with nix-build -A exe.frontend.
  • 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 in ob deploy init.
    • #931: Fix bug in ob deploy init where ssh-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, like ghcid, 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 in default-extensions/default-language, or when Cabal files are otherwise invalid.
  • obelisk-route
    • #915: Add routeLinkAttr to Obelisk.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 the Encoder type, compatible with its existing Category 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.
  • Javascript FFI
    • #844: Jsaddle FFI example extended in skeleton (example project which is installed by ob init). Note the remark on minifier renaming in skeleton/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.
  • Static Assets
    • #922: Serve .wasm files with the correct MIME type.
    • #930: Add an error to ob run when static 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 when staticFilePath 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, and static 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

New Contributors

Full Changelog: v1.0.0.0...v1.1.0.0

v1.0.0.0

05 Jan 04:31
e7ccc91
Compare
Choose a tag to compare

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 js type parameter from Prerender (i.e., Prerender js t m becomes Prerender t m) and removes HasJS and HasJSContext. This resulted in changes to the following Obelisk modules:
      • Obelisk.Configs: HasJSContext and HasJS are no longer derived.
      • Obelisk.Frontend: ObeliskWidget js t route m no longer has the js type parameter. It is now ObeliskWidget t route m.
      • Obelisk.Route.Frontend: There are no longer HasJSContext or HasJS instances for RoutedT, SetRouteT, RouteToUrlT.
      • Various functions that were constrained to Prerender js t m have been updated to with the constraint Prerender t m.

v0.9.4.0

31 Dec 21:54
Compare
Choose a tag to compare

v0.9.4.0 - 2021-12-30

  • Update reflex-platform to v0.9.0.0

v0.9.3.0

31 Dec 21:54
Compare
Choose a tag to compare

v0.9.3.0 - 2021-12-30

  • Update reflex-platform to v0.8.0.3

v0.9.2.1

31 Dec 03:32
1032067
Compare
Choose a tag to compare

v0.9.2.1 - 2021-12-28

  • Update reflex-platform to v0.7.2.0

v0.9.2.0

28 Dec 17:41
Compare
Choose a tag to compare

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

17 Dec 22:47
7ad33cb
Compare
Choose a tag to compare

released.

v0.9.1.0

  • #801: Remove errors and warning for local packages without a library component
  • #812: Add support for NoImplicitPrelude and other extensions disabled via No
  • Pinned version bumps:
    • reflex-platform 0.7.0.0
    • hnix 0.8.0
  • #787: Set immutable cache control directive when serving content-addressed static assets
  • Use iOS SDK 13.2