Beta 27.11.2020
It's time for the next release of IHP: v20201030 🎉 This release mainly focus on improving existing functionality and making things more stable :) Since the last release we also reached an important milestone: IHP is now the second biggest haskell framework measured by GitHub stars - just 5 months after it's initial public release. The future of haskell web dev is happening right here 🚀
Major Changes
- Improved Schema Designer Error Messages: Possible errors that happen when you run
Update DB
will now be displayed in a more useful way. Previously the error message just displayed the full postgresql output in a single line. Now the error message is displayed like this: - Tailwind Documentation: We added documentation on how to integrate
tailwindcss
into your IHP projects. You can find the guide here: https://ihp.digitallyinduced.com/Guide/tailwindcss.html - NPM Documentation: We also added a short documentation on how to work with NPM and the JS ecosystem in your IHP projects. You can find the guide here: https://ihp.digitallyinduced.com/Guide/npm.html
- IHP Telemetry: To answer questions like
How many people are running at which IHP version? What is the primary OS people are using IHP on? How many active users are working with IHP?
we added Telemetry to the local dev server that runs when you call./start
. The dev server reportsihpVersion
,os
,architecture
and a anonymous project id toihp-telemetry.digitallyinduced.com
. You can opt-out by setting a env varIHP_DISABLE_TELEMETRY=1
- Schema Designer:
ON DELETE SET DEFAULT
: Next toON DELETE SET NULL
you can now useSET DEFAULT
. - Postgres Point Type: You can now use tables that have a
POINT
column in IHP. The Point type is also supported inside theparam
functions.
Other Changes
- Old references to ViewContext in the docu have been updated
- The
New Migration
Generator now automatically creates theApplication/Migration
directory on first use - When
setLayout
is not called inside the application lifecycle IHP will now continue to render a view. Previously it would crash when callingrender
without a layout. - Fixed a bug where migration without a description would not be found by the
migrate
command - The documentation now has a more visible
Next
button at the bottom of the first sections. - Fixed paramOrDefault failing on empty parameters. We also added tests to make sure this won't happen again.
- The IHP version is now displayed when running the dev server in debug mode (
DEBUG=1 ./start
). - Some IHP build warnings have been fixed.
- Fixed a regression where the production request logger was not used anymore in production environments by default.
- Removed the error state
Cannot start app as postgres is not ready yet
. This error cannot happen anymore since we added database pools. Usually when this happens it's usually a false alarm.
Updating
See the UPGRADE.md for upgrade instructions.
If you have any problems with updating, let us know on the IHP forum. Or join our new slack.
📧 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 11.12.2020.