diff --git a/NixSupport/haskell-packages/ihp-hsx.nix b/NixSupport/haskell-packages/ihp-hsx.nix index 78975bcf6..83b80f3f1 100644 --- a/NixSupport/haskell-packages/ihp-hsx.nix +++ b/NixSupport/haskell-packages/ihp-hsx.nix @@ -14,7 +14,7 @@ }: mkDerivation { pname = "ihp-hsx"; - version = "v1.0.0"; + version = "v1.0.1"; src = ./../../ihp-hsx; isLibrary = true; isExecutable = false; diff --git a/Paths_ihp.hs b/Paths_ihp.hs index 4eb0980fe..2018b4a5e 100644 --- a/Paths_ihp.hs +++ b/Paths_ihp.hs @@ -2,4 +2,4 @@ module Paths_ihp where import Data.Version -version = Version { versionBranch = [1, 0, 0], versionTags = [] } \ No newline at end of file +version = Version { versionBranch = [1, 0, 1], versionTags = [] } \ No newline at end of file diff --git a/UPGRADE.md b/UPGRADE.md index 9d06bf914..4e28af607 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -2,6 +2,35 @@ 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 1.0.1 from 1.0.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/v1.0.0"; + +ref = "refs/tags/v1.0.1"; + ``` + + - **IHP Pro & IHP Business** + + Visit https://ihp.digitallyinduced.com/Builds and copy the latest v1.0.1 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`. + + # Upgrade to 1.0.0 from Beta 0.20.0 1. **Switch IHP version** diff --git a/ihp.cabal b/ihp.cabal index 72fdcf20c..5d224c476 100644 --- a/ihp.cabal +++ b/ihp.cabal @@ -1,6 +1,6 @@ cabal-version: 2.2 name: ihp -version: 1.0.0 +version: 1.0.1 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 diff --git a/ihp.nix b/ihp.nix index 389ae6188..b3c91198b 100644 --- a/ihp.nix +++ b/ihp.nix @@ -67,7 +67,7 @@ }: mkDerivation { pname = "ihp"; - version = "v1.0.0"; + version = "v1.0.1"; src = (import { }).nix-gitignore.gitignoreSource [ ] ./.; isLibrary = true; isExecutable = true;