arch-web 0.3.2 → 0.3.3
raw patch · 5 files changed
+16/−5 lines, 5 filesdep ~http-client-tlssetup-changed
Dependency ranges changed: http-client-tls
Files
- CHANGELOG.md +8/−1
- Setup.hs +2/−0
- arch-web.cabal +3/−3
- src/Web/ArchLinux/API.hs +2/−1
- src/Web/ArchLinux/Types/API.hs +1/−0
CHANGELOG.md view
@@ -1,6 +1,13 @@ # arch-web -# 0.3.2+## 0.3.3++* Send a User-Agent with AUR RPC requests so Anubis accepts them.+* Support `http-client-tls` 0.4.+* Update the tested GHC versions to 9.6, 9.8, 9.10, and 9.12.+* Fix documentation publishing and allow CI to disable duplicate Haddock generation.++## 0.3.2 * Use template haskell to generate SPDX license data type based on `data/KNOWN-SPDX.json` * Remove some dependency bounds
+ Setup.hs view
@@ -0,0 +1,2 @@+import Distribution.Simple+main = defaultMain
arch-web.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.2 name: arch-web-version: 0.3.2+version: 0.3.3 synopsis: Arch Linux official and AUR web interface binding description: Arch Linux official and AUR web interface binding.@@ -20,7 +20,7 @@ CHANGELOG.md README.md -tested-with: GHC ==9.2.8 || ==9.8.4+tested-with: GHC ==9.6.7 || ==9.8.4 || ==9.10.3 || ==9.12.4 common common build-depends:@@ -33,7 +33,7 @@ , exceptions ^>=0.10 , filepath , http-client ^>=0.6 || ^>=0.7- , http-client-tls ^>=0.3+ , http-client-tls ^>=0.3 || ^>=0.4 , http-types ^>=0.12 , lens ^>=4.19.2 || ^>=5 || ^>=5.1 || ^>=5.2 || ^>=5.3 , mtl
src/Web/ArchLinux/API.hs view
@@ -184,7 +184,8 @@ ByCheckdepends -> "checkdepends" aurRPC :: Text -> Maybe Text -> [Text] -> ClientM Value-aurRPC = client (Proxy @AurRPC) 5+-- AUR's Anubis protection rejects requests without a User-Agent.+aurRPC = client (Proxy @AurRPC) "arch-web" 5 -- This is evil and cheating!! -- Use this to report delayed json decode error in 'HttpClientError'
src/Web/ArchLinux/Types/API.hs view
@@ -43,6 +43,7 @@ type AurRPC = "rpc"+ :> Header' '[Strict, Required] "User-Agent" Text :> QueryParam' '[Strict, Required] "v" Int :> QueryParam' '[Strict, Required] "type" Text :> QueryParam "by" Text