Skip to content

Commit

Permalink
Version 0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
derrickreimer committed Jul 11, 2024
1 parent 0079beb commit 2f728cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The package can be installed by adding `inertia` to your list of dependencies in
```elixir
def deps do
[
{:inertia, "~> 0.7.0"}
{:inertia, "~> 0.8.0"}
]
end
```
Expand Down Expand Up @@ -56,7 +56,7 @@ config :inertia,
# Recommended: enable in non-production environments and disable in production,
# so that SSR failures will not cause 500 errors (but instead will fallback to
# CSR).
raise_on_ssr_failure: true
raise_on_ssr_failure: config_env() != :prod
```

This library includes a few modules to help render Inertia responses:
Expand Down Expand Up @@ -553,7 +553,7 @@ Then, update your Inertia Elixir configuration to enable SSR.
# Recommended: enable in non-production environments and disable in production,
# so that SSR failures will not cause 500 errors (but instead will fallback to
# CSR).
raise_on_ssr_failure: true
raise_on_ssr_failure: config_env() != :prod
```

In production, be sure to set `NODE_ENV` environment variable to `production`, so that the SSR script is cached for optimal performance.
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule Inertia.MixProject do
use Mix.Project

@version "0.7.0"
@version "0.8.0"

def project do
[
Expand Down

0 comments on commit 2f728cf

Please sign in to comment.