packages feed

pontarius-xmpp 0.5.6.8 → 0.5.7.0

raw patch · 2 files changed

+5/−3 lines, 2 filesPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- Network.Xmpp: type Plugin = (XmppElement -> IO (Either XmppFailure ())) " pass stanza to next plugin" -> ExceptT XmppFailure IO Plugin'
+ Network.Xmpp: type Plugin = -- | pass stanza to -- next plugin (XmppElement -> IO (Either XmppFailure ())) -> ExceptT XmppFailure IO Plugin'
- Network.Xmpp.Internal: type Plugin = (XmppElement -> IO (Either XmppFailure ())) " pass stanza to next plugin" -> ExceptT XmppFailure IO Plugin'
+ Network.Xmpp.Internal: type Plugin = -- | pass stanza to -- next plugin (XmppElement -> IO (Either XmppFailure ())) -> ExceptT XmppFailure IO Plugin'
- Network.Xmpp.Internal: type StanzaHandler = (XmppElement -> IO (Either XmppFailure ())) " outgoing stanza" -> XmppElement " stanza to handle" -> [Annotation] " annotations added by previous handlers" -> IO [(XmppElement, [Annotation])] " modified stanzas and /additional/ annotations"
+ Network.Xmpp.Internal: type StanzaHandler = -- | outgoing -- stanza (XmppElement -> IO (Either XmppFailure ())) -> -- | stanza to handle XmppElement -> -- | annotations added by previous handlers [Annotation] -> -- | modified stanzas and -- /additional/ annotations IO [(XmppElement, [Annotation])]

Files

pontarius-xmpp.cabal view
@@ -1,6 +1,6 @@ Cabal-Version: 2.2 Name:          pontarius-xmpp-Version:       0.5.6.8+Version:       0.5.7.0 Build-Type:    Simple License:       BSD-3-Clause License-File:  LICENSE.md@@ -17,7 +17,7 @@                While in alpha, Pontarius XMPP works quite well and fulfills most                requirements of the RFCs. Category:      Network-Tested-With:   GHC == 9.6.2+Tested-With:   GHC == 9.8.2  Extra-Source-Files: README.md                   , ChangeLog.md@@ -214,4 +214,4 @@ Source-Repository this   Type: git   Location: https://github.com/l29ah/pontarius-xmpp.git-  Tag: 0.5.6.8+  Tag: 0.5.7.0
source/Network/Xmpp/Types.hs view
@@ -1275,9 +1275,11 @@ xmppDefaultParamsStrong = (defaultParamsClient "" BS.empty)                         { clientSupported = def                             { supportedCiphers = ciphersuite_strong+#if !MIN_VERSION_tls(2,0,0)                                                  ++ [ cipher_AES256_SHA1                                                     , cipher_AES128_SHA1                                                     ]+#endif                             }                         }