It's time for the next release of IHP: 20200918 🎉
query @User |> orderBy #firstname |> orderBy #lastname. Previously the last call to
orderBy #lastnamewould overwrite the existing
orderBy #firstname. This has been added by @fegu 🎉
error: file '/build/db/.s.PGSQL.5432' has an unsupported typewhen 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
getRequestUrlhas been renamed to
getRequestPathto better reflect it's behavior. Also a new
getRequestPathAndQueryhas 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 "IHP Release: 18.09.2020"will turn the string into a url friendly version
fetchOnefails because no result was returned
dateTimeis now working correctly in all locals :) Thanks @dansvo!
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
If you have any problems with updating, let us know on the IHP forum.
📅 The next release is expected to be released on 02.10.2020.