packages feed

discord-haskell-voice 2.2.1 → 2.2.2

raw patch · 5 files changed

+20/−13 lines, 5 filesdep ~conduitdep ~discord-haskellPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: conduit, discord-haskell

API changes (from Hackage documentation)

Files

ChangeLog.md view
@@ -2,6 +2,12 @@  ## Unreleased changes +## 2.2.2++- Update `discord-haskell` dependency to 1.12.0+- Bump copyright to 2022+- Fix incomplete pattern match crash in the example bot when using `bot --bash-completion-script`+ ## 2.2.1  - Patch README having incorrect non-published details after Hackage publication.
LICENSE view
@@ -1,6 +1,6 @@ MIT License
 
-Copyright (c) 2021 Yuto Takano
+Copyright (c) 2021-2022 Yuto Takano
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
README.md view
@@ -1,7 +1,7 @@ # discord-haskell-voice  ![hackage version](https://img.shields.io/hackage/v/discord-haskell-voice?color=%235e5184)-![discord-haskell version dependency](https://img.shields.io/badge/discord--haskell%20ver.-1.11.0-lightblue)+![discord-haskell version dependency](https://img.shields.io/badge/discord--haskell%20ver.-1.12.0-lightblue)  Welcome to `discord-haskell-voice`! This library provides you with a high-level interface for interacting with Discord's Voice API, building on top of the@@ -84,8 +84,8 @@ # --- myproject.cabal <truncated>  build-depends:       base >=4.7 && <5-    , discord-haskell ==1.11.0-    , discord-haskell-voice ==2.2.1+    , discord-haskell ==1.12.0+    , discord-haskell-voice ==2.2.2 ```  ### Stack@@ -95,16 +95,16 @@ ``` # --- stack.yaml <truncated> extra-deps:-- discord-haskell-1.11.0-- discord-haskell-voice-2.2.1+- discord-haskell-1.12.0+- discord-haskell-voice-2.2.2 ```  ``` # --- package.yaml <truncated> dependencies: - base >= 4.7 && < 5-- discord-haskell == 1.11.0-- discord-haskell-voice == 2.2.1+- discord-haskell == 1.12.0+- discord-haskell-voice == 2.2.2 ```  ## Documentation
discord-haskell-voice.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack  name:           discord-haskell-voice-version:        2.2.1+version:        2.2.2 synopsis:       Voice support for discord-haskell. description:    Supplementary library to discord-haskell. See the project README on GitHub for more information. <https://github.com/yutotakano/discord-haskell-voice> category:       Network@@ -13,7 +13,7 @@ bug-reports:    https://github.com/yutotakano/discord-haskell-voice/issues author:         Yuto Takano maintainer:     moa17stock@gmail.com-copyright:      2021 Yuto Takano+copyright:      2021-2022 Yuto Takano license:        MIT license-file:   LICENSE build-type:     Simple@@ -50,7 +50,7 @@     , binary ==0.8.*     , bytestring >=0.10.12.0 && <0.11     , conduit ==1.3.4.1-    , discord-haskell ==1.11.0+    , discord-haskell ==1.12.0     , lens >=4.19.2 && <5     , mtl ==2.2.2     , network >=3.1.1.1 && <3.2@@ -80,7 +80,7 @@     , binary ==0.8.*     , bytestring >=0.10.12.0 && <0.11     , conduit ==1.3.4.1-    , discord-haskell ==1.11.0+    , discord-haskell ==1.12.0     , discord-haskell-voice     , lens >=4.19.2 && <5     , mtl ==2.2.2@@ -114,7 +114,7 @@     , binary ==0.8.*     , bytestring >=0.10.12.0 && <0.11     , conduit ==1.3.4.1-    , discord-haskell ==1.11.0+    , discord-haskell ==1.12.0     , discord-haskell-voice     , lens >=4.19.2 && <5     , mtl ==2.2.2
examples/BasicMusicBot.hs view
@@ -85,6 +85,7 @@                 Failure failure ->                     void $ restCall $ R.CreateMessage (messageChannelId msg) $ T.pack $                         fst $ renderFailure failure "bot"+                _ -> pure ()             _ -> pure () eventHandler _ _ = pure ()