{"slug": "hasql-v2-the-native-era", "title": "Hasql v2: the Native Era", "summary": "Hasql v2, a Haskell database library, is now available and can run natively in Haskell with no external dependencies, or continue using libpq, with no performance degradation and minimal API changes. The release gives users the choice between the two modes, as detailed in a post by the developer explaining the reasoning and implementation.", "body_md": "Hasql v2 is out. It can now run natively in Haskell with no external dependencies, or the same way it always has, using “libpq”. It’s the user’s choice now. No performance degradation and minimal changes to the API.\n\nI’ve written up the post explaining the reasoning and how it was achieved:\n\n23 Likes\n\nWhat’s the difference between pqi and hpgsql? cc [@mzabani](/u/mzabani)", "url": "https://wpnews.pro/news/hasql-v2-the-native-era", "canonical_source": "https://discourse.haskell.org/t/hasql-v2-the-native-era/14553#post_2", "published_at": "2026-08-16 12:48:45+00:00", "updated_at": "2026-08-16 13:12:07.307150+00:00", "lang": "en", "topics": ["developer-tools"], "entities": ["Hasql"], "alternates": {"html": "https://wpnews.pro/news/hasql-v2-the-native-era", "markdown": "https://wpnews.pro/news/hasql-v2-the-native-era.md", "text": "https://wpnews.pro/news/hasql-v2-the-native-era.txt", "jsonld": "https://wpnews.pro/news/hasql-v2-the-native-era.jsonld"}}