Skip to content

Commit

Permalink
Merge branch 'master' of github.com:digitallyinduced/ihp
Browse files Browse the repository at this point in the history
  • Loading branch information
mpscholten committed Aug 29, 2022
2 parents 4231cec + c0a7791 commit 03d6e23
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,38 @@
This document describes breaking changes, as well as how to fix them, that have occured at given releases.
After updating your project, please consult the segments from your current release until now.

# Upgrade to Beta 0.20.0 from Beta 0.19.0
1. **Switch IHP version**

- **IHP Basic**

Open `default.nix` and change the git commit in line 4 to the following:

```diff
-ref = "refs/tags/v0.19.0";
+ref = "refs/tags/v0.20.0";
```

- **IHP Pro & IHP Business**

Visit https://ihp.digitallyinduced.com/Builds and copy the latest v0.20.0 URL into your `default.nix`.

2. **Remake Env**

Run the following commands:

```bash
nix-shell --run 'make -B .envrc'
nix-shell --run 'make -B build/ihp-lib'
```

Now you can start your project as usual with `./start`.

3. **Fix Type Errors:**
You might see some type errors after upgrading. Here's how to fix them:

TODO

# Upgrade to Beta 0.19.0 from Beta 0.18.0
1. **Switch IHP version**

Expand Down

0 comments on commit 03d6e23

Please sign in to comment.