Commit Graph

77 Commits

Author SHA1 Message Date
Evan Rutledge Borden
cfb8fd9b21 Version bump for get404 and getBy404 constraint changes. 2017-11-17 14:41:57 -05:00
Evan Rutledge Borden
33d3200399 Fix constraints on get404 and getBy404
The constraints on `get404` and `getBy404` were overly powerful. They were
constrained by `PersistStore` and `PersistStoreUnique`, which is an alias for
`PersistStoreWrite...`. These only need `PersistStoreRead...` to accomplish
their job.
2017-11-17 14:28:20 -05:00
Michael Snoyman
3229b7ad93
persistent 2.7 2017-04-12 11:02:27 +03:00
Michael Snoyman
cdc6c8ae04 Version bumps/changelog updates 2017-02-08 11:20:31 +02:00
Michael Snoyman
3dc2d10b30 Compile with -Wall -Werror 2017-02-05 12:09:18 +02:00
Michael Snoyman
9dbbe030de Fix compatibility with older persistent #1324 2016-12-20 15:21:36 +02:00
Jason Whittle
2e284bbe64 Add notes to changelog for yesod-persistent 1.4.1.0. 2016-12-12 08:23:16 -05:00
Jason Whittle
d526658c7b Implement the changes requested by @snoyberg. 2016-12-12 08:18:25 -05:00
Jason Whittle
c573f02d9d Add insert400 and insert400_, which check for violated uniqueness constraints. 2016-12-12 01:54:27 -05:00
Michael Snoyman
24ffaf90d4 Version bump 2016-08-14 15:42:01 +03:00
Michael Snoyman
25cb163e11 Relax upper bounds for persistent 2.6 2016-08-14 15:41:17 +03:00
Michael Snoyman
cad058a758 Version bump 2016-04-25 18:22:28 +03:00
Erik de Castro Lopo
d101c8eebe yesod-persistent: Make it work with persistent 2.5 2016-04-19 15:18:46 +10:00
Eric Easley
d99de61554 Use CPP to maintain backward compat 2016-04-18 10:03:39 -07:00
Eric Easley
8e71f766b5 Use PersistRecordBackend constraint synonym 2016-04-15 21:25:40 -07:00
Eric Easley
bf3a9c9dd4 Switch to released persistent-2.5 2016-04-14 15:14:56 -07:00
Eric Easley
8a9a78bd4c Generalize defaultGetDBRunner 2016-04-10 23:38:44 -07:00
Eric Easley
02dcb99cad Merge remote-tracking branch 'upstream/master' 2016-03-31 13:03:47 -07:00
Michael Snoyman
88a77f88b3 Version bump 2016-03-29 09:20:11 +03:00
Eric Easley
7b35665d73 Adjust yesod-persistent for split DB 2016-02-07 19:11:41 -08:00
Mikkel Christiansen
d556fc8844 Replace deprecated Connection type. 2015-08-26 15:26:35 +02:00
Michael Snoyman
524297dafc persistent 2.2 2015-06-14 13:32:40 +03:00
Michael Snoyman
bed6dafce8 Doc link updates 2014-12-21 15:23:52 +02:00
Michael Snoyman
c91b2978be Remove deprecated deps 2014-10-01 07:09:39 +03:00
Michael Snoyman
9ce4d49d0a persistent 2.1 and warp 3.0.2 2014-09-30 06:57:38 +03:00
Michael Snoyman
fc9154ecc6 Add missing language extension 2014-09-29 07:39:48 +03:00
Michael Snoyman
def48d8a45 Version bumps for 1.4 release 2014-09-21 11:41:37 +03:00
Michael Snoyman
39f4d0c95f Force persistent-2.0 2014-09-07 20:54:07 +03:00
Michael Snoyman
ccab062f2d Remove all conditional compilation for Yesod 1.4 release
Left in for GHC-bundled libraries (ghc, base, bytestring, binary)
2014-09-07 18:17:45 +03:00
Michael Snoyman
d6b3d2a890 conduit 1.2 version bumps 2014-08-27 18:01:02 +03:00
Michael Snoyman
8b2297adf4 Conditional support for persistent2 branch.
Pinging @gregwebs. I've backported the relevant tweaks on the yesod-1.4
branch, to allow master to compile against persistent2. Whenever you're
ready to release persistent2, we can:

1. Release persistent2.
2. Release new versions of yesod packages, which will work with
   persistent 1.3 and 2.0.
3. Add an upper bound in Stackage to avoid using the new persistent
   libraries until they're ready for primetime.
4. Release your blog post.

yesod-1.4 should then remove the CPP here and only work with
persistent2; the biggest "breaking change" in the 1.4 release will be
remove backwards compatibility hacks for persistent, conduit,
shakespeare, and wai.
2014-08-27 11:16:08 +03:00
Michael Snoyman
6ac697f032 Merge branch 'wai3'
Conflicts:
	yesod-core/yesod-core.cabal
	yesod-form/yesod-form.cabal
	yesod-persistent/yesod-persistent.cabal
2014-06-09 10:27:32 +03:00
Michael Snoyman
ebc18ad1cd Remove transformers upper bounds 2014-06-09 10:25:51 +03:00
Michael Snoyman
08f796fc58 Version bumps 2014-05-27 12:48:03 +03:00
Michael Snoyman
82de52e3d2 Various additional WAI 3.0 fixes 2014-05-22 21:04:28 +03:00
Michael Snoyman
588cafa223 Expand YesodDB for GHC 7.8.1 bug #709 2014-04-09 19:37:33 +03:00
Michael Snoyman
6ef507e54f Better implementation of defaultGetDBRunner 2014-03-20 20:37:39 +02:00
Michael Snoyman
b018c5d7aa Allow persistent 1.3 2013-12-26 12:13:10 +02:00
Michael Snoyman
02ab5320e3 Version bumps 2013-12-04 07:01:20 +02:00
Michael Snoyman
4d25fd2be1 Replace lift . notFound to avoid a segfault bug 2013-11-12 19:28:18 +02:00
Michael Snoyman
c8146210c6 Yesod.Persist.Core 2013-06-06 10:09:30 +03:00
Michael Snoyman
bbe69d25a2 Fix a test 2013-04-03 12:20:40 +03:00
Michael Snoyman
28e7a9db23 Persistent 1.2 2013-04-03 09:06:13 +03:00
Michael Snoyman
8ab09931c4 Code cleanup and transformer instances 2013-03-22 09:17:14 +02:00
Michael Snoyman
f066e66053 Streaming Persistent 2013-03-20 15:06:01 +02:00
Michael Snoyman
fb4045ea45 Warning cleanup 2013-03-20 11:46:32 +02:00
Michael Snoyman
9c4cd573b4 Everything compiles 2013-03-14 09:28:51 +02:00
Michael Snoyman
099b96f178 Everything compiles 2013-03-13 13:35:11 +02:00
Michael Snoyman
db57468832 Version bumps 2013-03-11 12:07:10 +02:00
Michael Snoyman
eecda0c80e Removed conditional compilation 2013-03-11 11:46:05 +02:00