Skip to content

Commit

Permalink
Relax text bounds to allow text-2.0 (google#433)
Browse files Browse the repository at this point in the history
This was tested by using an explicit override with this diff:

--- a/stack-9.2.yaml
+++ b/stack-9.2.yaml
@@ -21,5 +21,10 @@ packages:
 - proto-lens-tests
 - proto-lens-tests-dep

+extra-deps:
+  - text-2.0
+  - Cabal-3.6.3.0@sha256:ff97c442b0c679c1c9876acd15f73ac4f602b973c45bde42b43ec28265ee48f4,12459
+  - parsec-3.1.15.0@sha256:a162d4cc8884014ba35192545cad293af0529fe11497aad8834bbaaa3dfffc26,4429
+
 ghc-options:
   "$locals": -Wall -Werror
  • Loading branch information
blackgnezdo authored Apr 5, 2022
1 parent 8eb31fa commit 5395d64
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog for `proto-lens`


## v0.7.1.1
- Relax upper bounds for ghc-9.2

## v0.7.1.0
- Support GHC 9.0.
- Fixed parsing of UTF8 chars in text format proto string literals.
Expand Down
4 changes: 2 additions & 2 deletions package.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: proto-lens
version: "0.7.1.0"
version: "0.7.1.1"
synopsis: A lens-based implementation of protocol buffers in Haskell.
description: >
The proto-lens library provides an API for protocol buffers using modern
Expand Down Expand Up @@ -45,7 +45,7 @@ library:
- primitive >= 0.6 && < 0.8
- profunctors >= 5.2 && < 6.0
- tagged == 0.8.*
- text == 1.2.*
- text >= 1.2 && < 2.1
- transformers >= 0.4 && < 0.6
- vector >= 0.11 && < 0.13

Expand Down
4 changes: 2 additions & 2 deletions proto-lens.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ cabal-version: 1.12
-- see: https://github.com/sol/hpack

name: proto-lens
version: 0.7.1.0
version: 0.7.1.1
synopsis: A lens-based implementation of protocol buffers in Haskell.
description: The proto-lens library provides an API for protocol buffers using modern Haskell language and library patterns. Specifically, it provides:
.
Expand Down Expand Up @@ -69,7 +69,7 @@ library
, primitive >=0.6 && <0.8
, profunctors >=5.2 && <6.0
, tagged ==0.8.*
, text ==1.2.*
, text >=1.2 && <2.1
, transformers >=0.4 && <0.6
, vector >=0.11 && <0.13
default-language: Haskell2010
Expand Down

0 comments on commit 5395d64

Please sign in to comment.