diff --git a/Paths_ihp.hs b/Paths_ihp.hs index ef582abd0..6c152f588 100644 --- a/Paths_ihp.hs +++ b/Paths_ihp.hs @@ -2,4 +2,4 @@ module Paths_ihp where import Data.Version -version = Version { versionBranch = [0, 10, 0], versionTags = [] } \ No newline at end of file +version = Version { versionBranch = [0, 11, 0], versionTags = [] } \ No newline at end of file diff --git a/UPGRADE.md b/UPGRADE.md index e603666f3..1ad627759 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -2,6 +2,32 @@ 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.11.0 from Beta 0.10.0 + +## Switch IHP version + +Open `default.nix` and change the git commit in line 4 to the following: + +```diff +-ref = "refs/tags/v0.10.0"; ++ref = "refs/tags/v0.11.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`. + +## Important Login Changes + +Important if you use IHP's Login: IHP's built-in sessions controller used for the built-in login now uses case-insensitive lookup for the email addresses at login. This will improve user experience for users that create their account with `Firstname.Lastname@example.com` and then try to log in using `firstname.lastname@example.com`. + + # Upgrade to Beta 0.10.0 from Beta 0.9.0 ## Switch IHP version diff --git a/ihp.cabal b/ihp.cabal index a06b80620..bd614d9a4 100644 --- a/ihp.cabal +++ b/ihp.cabal @@ -1,6 +1,6 @@ cabal-version: 2.2 name: ihp -version: 0.10.0 +version: 0.11.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 diff --git a/ihp.nix b/ihp.nix index 4147585c1..187f80778 100644 --- a/ihp.nix +++ b/ihp.nix @@ -59,7 +59,7 @@ }: mkDerivation { pname = "ihp"; - version = "v0.10.0"; + version = "v0.11.0"; src = (import { }).nix-gitignore.gitignoreSource [ ] ./.; isLibrary = true; isExecutable = true;