v0.15.0 (Beta 18.10.2021) #1151
mpscholten
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
A new IHP release with new features and many bug fixes. This release also includes the Stripe Integration and Docker support for IHP Pro and IHP Business users 🚀
Major Changes
💰 Payments with Stripe:
This version finally ships one of the most requested features, the Stripe Integration. With the new Stripe Integration you can easily deal with payments and subscriptions in your projects. If you ever wanted to build as SaaS with Haskell, today is the best day to start! 💻
Learn how to integration Stripe in the Documentation
📦 Docker Support:
Thanks to the new docker integration it's now easier than ever to ship your IHP apps into production!
Learn how to deploy with Docker
🕸️ SEO Improvements:
You can now dynamically manage meta tags like
<meta property="og:description" content="dynamic content"/>in your IHP appsLearn how to manage OG meta tags
🌐 HTML in Validation Error Messages:
You can now use
attachFailureHtmlif you want to write a custom validation logic that uses HTML in it's error message:post |> attachFailureHtml #title [hsx|Invalid value. <a href="https://example.com/docs">Check the documentation</a>|] -- Link will work as expected, as it's HSXLearn more about HTML validation errors in the documentation
🔍 Documentation Search:

There's now a new Agolia-based Search in the IHP Documentation
Search for Something
🎨 New Design for the API Reference:
Our haddock-based API reference now has a custom CSS that gives it a stunning new look!
Check out the API Reference
TODO: ADD PICTURE
💽 Auto-generated Migrations:
The Schema Designer now keeps track of your changes. Whenever you generate a new migration from the Web-based Code Generator or the
new-migrationCLI command, it will prefill the.sqlfile with the steps needed to migrate.🧰 Tooling Updates:
We've updated several packages available in your IHP development environment:
🧪 Testing Improvements:
Test modules now are run in their own separate database. On test start IHP will create a new database and import the
Application/Schema.sql. After test completion the database is deleted.In previous IHP versions tests used the development database by default.
Here's an example of how controllers tests can now look like:
Inside the test you can use
withUserto call an action as a logged in user:Other Changes
Config/client_session_key.aescan now be set via theIHP_SESSION_SECRETenv varSELECT *: This avoids issues when the database schema is being migratedrun-scriptMigration
Pull Requests
fromLabel @"companyId"bug by @dharmatech in Add note regarding thefromLabel @"companyId"bug #1060matchesRegexvalidator by @hendi in addmatchesRegexvalidator #1074srcon<script>tag in docs by @amitaibu in Add missingsrcon<script>tag in docs #1105build/Generated/Types.hsby @amitaibu in Doc for Type errors inbuild/Generated/Types.hs#1132New Contributors
Full Changelog: v0.14.0...v0.15.0
Feature Voting
Help decide what's coming next to IHP by using the Feature Voting!
Updating
See the UPGRADE.md for upgrade instructions.
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.
This discussion was created from the release v0.15.0 (Beta 18.10.2021).
Beta Was this translation helpful? Give feedback.
All reactions