Skip to content

Commit

Permalink
Prepare 0.2.0.1 release.
Browse files Browse the repository at this point in the history
Update package metadata.
Use new .github workflows.
Removed unused deps.
  • Loading branch information
brianjosephmckeon authored Feb 14, 2024
1 parent 4f6511c commit f796c7e
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 23 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@byteverse/l3c
11 changes: 11 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: build
on:
pull_request:
branches:
- "*"

jobs:
call-workflow:
uses: byteverse/.github/.github/workflows/build-matrix.yaml@main
with:
cabal-file: http-exchange.cabal
10 changes: 10 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: release
on:
push:
tags:
- "*"

jobs:
call-workflow:
uses: byteverse/.github/.github/workflows/release.yaml@main
secrets: inherit
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Revision history for http-exchange

## 0.2.0.1 -- 2024-02-14

* Update package metadata.

## 0.2.0.0 -- 2024-01-29

* Add incomplete response to headers-end-of-input exception.
Expand Down
53 changes: 30 additions & 23 deletions http-exchange.cabal
Original file line number Diff line number Diff line change
@@ -1,72 +1,79 @@
cabal-version: 3.0
name: http-exchange
version: 0.2.0.0
version: 0.2.0.1
synopsis: Perform HTTP Requests
description:
Perform HTTP requests. This uses backpack and is agnostic to the backend.

license: BSD-3-Clause
license-file: LICENSE
author: Andrew Martin
maintainer: [email protected]
maintainer: [email protected]
homepage: https://github.com/byteverse/http-exchange
bug-reports: https://github.com/byteverse/http-exchange/issues
copyright: 2023 Andrew Martin
category: Data
build-type: Simple
extra-doc-files: CHANGELOG.md
tested-with: GHC ==9.4.8 || ==9.6.3 || ==9.8.1

common build-settings
default-language: GHC2021
ghc-options: -Wall -Wunused-packages

library types
ghc-options: -Wall
exposed-modules: Http.Exchange.Types
import: build-settings
ghc-options: -O2
exposed-modules: Http.Exchange.Types
build-depends:
, base >=4.16.3.0 && <5
, byteslice >=0.2.11.1

hs-source-dirs: src-types
default-language: GHC2021
hs-source-dirs: src-types

library testdep
ghc-options: -Wall
exposed-modules: OkChannel
import: build-settings
ghc-options: -O2
exposed-modules: OkChannel
build-depends:
, base >=4.16.3.0 && <5
, byteslice >=0.2.11
, types

hs-source-dirs: src-testdep
default-language: GHC2021
hs-source-dirs: src-testdep

library
signatures: Channel
ghc-options: -Wall
exposed-modules: Exchange
import: build-settings
signatures: Channel
ghc-options: -O2
exposed-modules: Exchange
build-depends:
, base >=4.16.3.0 && <5
, byteslice >=0.2.11
, bytesmith >=0.3.9
, http-interchange >=0.3.1
, primitive >=0.8
, text >=2.0
, types

hs-source-dirs: src
default-language: GHC2021
hs-source-dirs: src

test-suite test
ghc-options: -Wall
default-language: GHC2021
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
import: build-settings
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
build-depends:
, base >=4.16.3.0 && <5
, byteslice
, bytestring >=0.11
, http-exchange
, http-interchange >=0.3.1
, primitive >=0.8
, tasty >=1.4.3
, tasty-hunit >=0.10.0.3
, testdep

mixins:
http-exchange (Exchange as OkExchange) requires (Channel as OkChannel)

source-repository head
type: git
location: git://github.com/byteverse/http-exchange.git

0 comments on commit f796c7e

Please sign in to comment.