Skip to content

Commit

Permalink
Updated version numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
mpscholten committed Feb 26, 2021
1 parent af16c87 commit 1608fce
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Paths_ihp.hs
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module Paths_ihp where

import Data.Version

version = Version { versionBranch = [0, 8, 0], versionTags = [] }
version = Version { versionBranch = [0, 9, 0], versionTags = [] }
28 changes: 28 additions & 0 deletions UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,34 @@
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.9.0 from Beta 0.8.0

## Switch IHP version

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

```diff
-ref = "refs/tags/v0.8.0";
+ref = "refs/tags/v0.9.0";
```

After that run the following command to update your project:

```bash
make clean
nix-shell -j auto --cores 0 --run 'make -B .envrc'
make -B build/ihp-lib
```

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


## Upgrade AutoRoute

If you got an type error related to AutoRoute's `parseArgument` function, you need to also follow this step.

The `parseArgument` interface has been removed as this works out of the box now. To upgrade remove your definitions of `parseArgument`.

# Upgrade to Beta 0.8.0 from Beta 13.12.2020 (v20201213)

## Update `Config/nix/nixpkgs-config.nix`
Expand Down
2 changes: 1 addition & 1 deletion ihp.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 2.2
name: ihp
version: 0.8.0
version: 0.9.0
synopsis: Haskell Web Framework
description: The Integrated Haskell Platform is a full stack framework focused on rapid application development while striving for robust code quality.
license: NONE
Expand Down

0 comments on commit 1608fce

Please sign in to comment.