persistent 2.14.0.2 → 2.14.0.3
raw patch · 4 files changed
+10/−5 lines, 4 files
Files
- ChangeLog.md +6/−0
- Database/Persist/Names.hs +2/−2
- Database/Persist/Types/Base.hs +1/−2
- persistent.cabal +1/−1
ChangeLog.md view
@@ -1,5 +1,11 @@ # Changelog for persistent +## 2.14.0.3++* [#1411](https://github.com/yesodweb/persistent/pull/1411)+ * Fix the docs for `FieldNameDB`, and update `FieldDef.fieldComments` docs+ since the quasiquoter *supports* field comments now.+ ## 2.14.0.2 * [#1407](https://github.com/yesodweb/persistent/pull/1407)
Database/Persist/Names.hs view
@@ -18,8 +18,8 @@ class DatabaseName a where escapeWith :: (Text -> str) -> (a -> str) --- | An 'EntityNameDB' represents the datastore-side name that @persistent@--- will use for an entity.+-- | A 'FieldNameDB' represents the datastore-side name that @persistent@+-- will use for a field. -- -- @since 2.12.0.0 newtype FieldNameDB = FieldNameDB { unFieldNameDB :: Text }
Database/Persist/Types/Base.hs view
@@ -681,8 +681,7 @@ -- -- @since 2.11.0 , fieldComments :: !(Maybe Text)- -- ^ Optional comments for a 'Field'. There is not currently a way to- -- attach comments to a field in the quasiquoter.+ -- ^ Optional comments for a 'Field'. -- -- @since 2.10.0 , fieldGenerated :: !(Maybe Text)
persistent.cabal view
@@ -1,5 +1,5 @@ name: persistent-version: 2.14.0.2+version: 2.14.0.3 license: MIT license-file: LICENSE author: Michael Snoyman <michael@snoyman.com>