Skip to content

Commit

Permalink
Use version number v1.3 and added upgrade instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
mpscholten committed May 4, 2024
1 parent a7c340d commit 65ba91e
Show file tree
Hide file tree
Showing 11 changed files with 36 additions and 10 deletions.
2 changes: 1 addition & 1 deletion NixSupport/haskell-packages/ihp-graphql.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
}:
mkDerivation {
pname = "ihp-graphql";
version = "v1.2.0";
version = "v1.3.0";
src = ./../../ihp-graphql;
libraryHaskellDepends = [
aeson attoparsec base ihp postgresql-simple text
Expand Down
2 changes: 1 addition & 1 deletion NixSupport/haskell-packages/ihp-hsx.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
}:
mkDerivation {
pname = "ihp-hsx";
version = "v1.2.0";
version = "v1.3.0";
src = ./../../ihp-hsx;
isLibrary = true;
isExecutable = false;
Expand Down
2 changes: 1 addition & 1 deletion NixSupport/haskell-packages/ihp-openai.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
}:
mkDerivation {
pname = "ihp-openai";
version = "v1.2.0";
version = "v1.3.0";
src = ./../../ihp-openai;
isLibrary = true;
isExecutable = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
}:
mkDerivation {
pname = "ihp-postgresql-simple-extra";
version = "v1.2.0";
version = "v1.3.0";
src = ./../../ihp-postgresql-simple-extra;
libraryHaskellDepends = [
aeson attoparsec base basic-prelude bytestring ip postgresql-simple
Expand Down
2 changes: 1 addition & 1 deletion Paths_ihp.hs
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ module Paths_ihp where

import Data.Version

version = Version { versionBranch = [1, 1, 0], versionTags = [] }
version = Version { versionBranch = [1, 3, 0], versionTags = [] }
26 changes: 26 additions & 0 deletions UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 1.3.0 from 1.2.0
1. **Switch IHP version**

- **IHP Basic**

Open `flake.nix` and change the git commit in line 3 to the following:

```diff
- ihp.url = "github:digitallyinduced/ihp/v1.2";
+ ihp.url = "github:digitallyinduced/ihp/v1.3";
```

- **IHP Pro & IHP Business**

Visit https://ihp.digitallyinduced.com/Builds and copy the latest v1.3.0 URL into your `flake.nix`.

2. **Remake Env**

Run the following commands:

```bash
direnv reload
```

Now you can start your project as usual with `devenv up`.

# Upgrade to 1.2.0 from 1.1.0
1. **Switch IHP version**

Expand Down
2 changes: 1 addition & 1 deletion ihp-graphql/ihp-graphql.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 2.2
name: ihp-graphql
version: 1.2.0
version: 1.3.0
synopsis: GraphQL support for IHP
description: GraphQL support for IHP
license: MIT
Expand Down
2 changes: 1 addition & 1 deletion ihp-hsx/ihp-hsx.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 2.2
name: ihp-hsx
version: 1.2.0
version: 1.3.0
synopsis: JSX-like but for Haskell
description: JSX-like templating syntax for Haskell
license: MIT
Expand Down
2 changes: 1 addition & 1 deletion ihp-openai/ihp-openai.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 2.2
name: ihp-openai
version: 1.2.0
version: 1.3.0
synopsis: Call GPT4 from IHP
description: Call GPT4 from IHP
license: MIT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 2.2
name: ihp-postgresql-simple-extra
version: 1.2.0
version: 1.3.0
synopsis: Extra data types for postgresql-simple
description: This package is included by default in IHP apps and implements support for postgres data types that are not supported by the postgresql-simple package by default
license: MIT
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: 1.2.0
version: 1.3.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 65ba91e

Please sign in to comment.