From 8fb9a1fe24027ee2c6a4d739e6f733537c677e79 Mon Sep 17 00:00:00 2001 From: Felix Paulusma Date: Fri, 5 Feb 2021 22:41:40 +0100 Subject: [PATCH] Also export ValidOnClauseValue (#232) * Also export ValidOnClauseValue This is a constraint on `on`, but not exported, so you have to go into the source to see what it does. Exporting makes this easier. * add to ChangeLog and bumped version --- changelog.md | 6 ++++++ esqueleto.cabal | 2 +- src/Database/Esqueleto/Experimental.hs | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index c123faf..5f08c3f 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,9 @@ +3.4.1.0 +======= +- @Vlix + - [#232](https://github.com/bitemyapp/esqueleto/pull/232) + - Export the `ValidOnClauseValue` type family + 3.4.0.1 ======= - @arthurxavierx diff --git a/esqueleto.cabal b/esqueleto.cabal index 023e4c1..c6b0dcc 100644 --- a/esqueleto.cabal +++ b/esqueleto.cabal @@ -1,7 +1,7 @@ cabal-version: 1.12 name: esqueleto -version: 3.4.0.1 +version: 3.4.1.0 synopsis: Type-safe EDSL for SQL queries on persistent backends. description: @esqueleto@ is a bare bones, type-safe EDSL for SQL queries that works with unmodified @persistent@ SQL backends. Its language closely resembles SQL, so you don't have to learn new concepts, just new syntax, and it's fairly easy to predict the generated SQL and optimize it for your backend. Most kinds of errors committed when writing SQL are caught as compile-time errors---although it is possible to write type-checked @esqueleto@ queries that fail at runtime. . diff --git a/src/Database/Esqueleto/Experimental.hs b/src/Database/Esqueleto/Experimental.hs index 725738d..cb9c4af 100644 --- a/src/Database/Esqueleto/Experimental.hs +++ b/src/Database/Esqueleto/Experimental.hs @@ -57,6 +57,7 @@ module Database.Esqueleto.Experimental , ToAliasT , ToAliasReference(..) , ToAliasReferenceT + , ValidOnClauseValue -- * The Normal Stuff , where_