It's time for the next release of IHP: 20200918 ๐
query @User |> orderBy #firstname |> orderBy #lastname
. Previously the last call to orderBy #lastname
would overwrite the existing orderBy #firstname
. This has been added by @fegu ๐
error: file '/build/db/.s.PGSQL.5432' has an unsupported type
when starting IHP has been fixed by @ruhatch ! ๐ This error happend when opening a new nix shell while the dev server is running.
getSessionAndClear
: Returns a session value and removes it from the session
getRequestUrl
has been renamed to getRequestPath
to better reflect it's behavior. Also a new getRequestPathAndQuery
has been added.
jsonb
: You can now easily store json inside your postgres with your IHP app. Right now this is just very basic support. Additional support for mapping the json will be added in the future. Currently you need to manually map it using aeson.
toSlug
: toSlug "IHP Release: 18.09.2020"
will turn the string into a url friendly version "ihp-release-18-09-2020"
.
fetchOne
fails because no result was returned
dateTime
is now working correctly in all locals :) Thanks @dansvo!
fetchExists
To update the IHP version of your project, open default.nix
and change the git commit in line 4 to the following:
rev = "0575a933331d45782ed732a5437ead377e165b29";
After that run the following command to update your project:
nix-shell -j auto --cores 0 --run 'make -B .envrc'
Now you can start your project as usual with ./start
.
If you have any problems with updating, let us know on the IHP forum.
๐ง To stay in the loop, subscribe to the IHP release emails. Or follow digitally induced on twitter..
๐ The next release is expected to be released on 02.10.2020.