Hello community,

here is the log from the commit of package ghc-yesod-core for openSUSE:Factory 
checked in at 2020-10-23 15:15:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-yesod-core (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-yesod-core.new.3463 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-yesod-core"

Fri Oct 23 15:15:33 2020 rev:5 rq:842777 version:1.6.18.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-yesod-core/ghc-yesod-core.changes    
2020-09-30 19:53:51.308755946 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-yesod-core.new.3463/ghc-yesod-core.changes  
2020-10-23 15:15:41.462173135 +0200
@@ -1,0 +2,8 @@
+Tue Oct 20 02:03:09 UTC 2020 - [email protected]
+
+- Update yesod-core to version 1.6.18.5.
+  ## 1.6.18.5
+
+  Document `ErrorResponse` [#1698](https://github.com/yesodweb/yesod/pull/1698)
+
+-------------------------------------------------------------------

Old:
----
  yesod-core-1.6.18.4.tar.gz

New:
----
  yesod-core-1.6.18.5.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-yesod-core.spec ++++++
--- /var/tmp/diff_new_pack.vAjEP8/_old  2020-10-23 15:15:42.818173789 +0200
+++ /var/tmp/diff_new_pack.vAjEP8/_new  2020-10-23 15:15:42.818173789 +0200
@@ -19,7 +19,7 @@
 %global pkg_name yesod-core
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        1.6.18.4
+Version:        1.6.18.5
 Release:        0
 Summary:        Creation of type-safe, RESTful web applications
 License:        MIT

++++++ yesod-core-1.6.18.4.tar.gz -> yesod-core-1.6.18.5.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yesod-core-1.6.18.4/ChangeLog.md 
new/yesod-core-1.6.18.5/ChangeLog.md
--- old/yesod-core-1.6.18.4/ChangeLog.md        2020-09-22 16:30:38.000000000 
+0200
+++ new/yesod-core-1.6.18.5/ChangeLog.md        2020-10-19 16:16:40.000000000 
+0200
@@ -1,5 +1,9 @@
 # ChangeLog for yesod-core
 
+## 1.6.18.5
+
+Document `ErrorResponse` [#1698](https://github.com/yesodweb/yesod/pull/1698)
+
 ## 1.6.18.4
 
 * Fixed a bug where `mkYesod` and other TH functions didn't work for datatypes 
with explicitly stated type variables, including the case with typeclass 
constraints. [https://github.com/yesodweb/yesod/pull/1697](#1697)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yesod-core-1.6.18.4/src/Yesod/Core/Types.hs 
new/yesod-core-1.6.18.5/src/Yesod/Core/Types.hs
--- old/yesod-core-1.6.18.4/src/Yesod/Core/Types.hs     2020-06-24 
09:26:46.000000000 +0200
+++ new/yesod-core-1.6.18.5/src/Yesod/Core/Types.hs     2020-10-19 
16:16:40.000000000 +0200
@@ -326,11 +326,28 @@
 -- | Responses to indicate some form of an error occurred.
 data ErrorResponse =
       NotFound
+        -- ^ The requested resource was not found.
+        -- Examples of when this occurs include when an incorrect URL is used, 
or @yesod-persistent@'s 'get404' doesn't find a value.
+        -- HTTP status: 404.
     | InternalError !Text
+        -- ^ Some sort of unexpected exception.
+        -- If your application uses `throwIO` or `error` to throw an 
exception, this is the form it would take.
+        -- HTTP status: 500.
     | InvalidArgs ![Text]
+        -- ^ Indicates some sort of invalid or missing argument, like a 
missing query parameter or malformed JSON body.
+        -- Examples Yesod functions that send this include 
'requireCheckJsonBody' and @Yesod.Auth.GoogleEmail2@.
+        -- HTTP status: 400.
     | NotAuthenticated
+        -- ^ Indicates the user is not logged in.
+        -- This is thrown when 'isAuthorized' returns 'AuthenticationRequired'.
+        -- HTTP code: 401.
     | PermissionDenied !Text
+        -- ^ Indicates the user doesn't have permission to access the 
requested resource.
+        -- This is thrown when 'isAuthorized' returns 'Unauthorized'.
+        -- HTTP code: 403.
     | BadMethod !H.Method
+        -- ^ Indicates the URL would have been valid if used with a different 
HTTP method (e.g. a GET was used, but only POST is handled.)
+        -- HTTP code: 405.
     deriving (Show, Eq, Generic)
 instance NFData ErrorResponse
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yesod-core-1.6.18.4/yesod-core.cabal 
new/yesod-core-1.6.18.5/yesod-core.cabal
--- old/yesod-core-1.6.18.4/yesod-core.cabal    2020-09-22 16:35:45.000000000 
+0200
+++ new/yesod-core-1.6.18.5/yesod-core.cabal    2020-10-19 16:16:40.000000000 
+0200
@@ -1,5 +1,5 @@
 name:            yesod-core
-version:         1.6.18.4
+version:         1.6.18.5
 license:         MIT
 license-file:    LICENSE
 author:          Michael Snoyman <[email protected]>


Reply via email to