Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare for release #274

Merged
merged 2 commits into from
Jan 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/haskell-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,8 @@ jobs:
echo "package trailers-only-tutorial" >> cabal.project
echo " ghc-options: -Werror=missing-methods" >> cabal.project
cat >> cabal.project <<EOF
constraints: diagrams-lib==1.4.6.2

source-repository-package
type: git
location: https://github.com/google/proto-lens
Expand Down
3 changes: 3 additions & 0 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ source-repository-package
location: https://github.com/google/proto-lens
tag: c927e0341715a2ff7f87f219c9a36517f06cef80
subdir: proto-lens proto-lens-runtime proto-lens-setup proto-lens-protoc proto-lens-protobuf-types

-- avoid compilation errors in some dependencies
constraints: diagrams-lib==1.4.6.2
3 changes: 3 additions & 0 deletions cabal.project.ci
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,6 @@ source-repository-package
location: https://github.com/google/proto-lens
tag: c927e0341715a2ff7f87f219c9a36517f06cef80
subdir: proto-lens proto-lens-runtime proto-lens-setup proto-lens-protoc proto-lens-protobuf-types

-- avoid compilation errors in some dependencies
constraints: diagrams-lib==1.4.6.2
6 changes: 3 additions & 3 deletions grapesy/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Revision history for gRPC
# Revision history for grapesy

## 0.1.0 -- YYYY-mm-dd
## 1.0.0 -- 2025-01-22

* First version. Released on an unsuspecting world.
* First released version.
2 changes: 1 addition & 1 deletion grapesy/LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2023-2024, Well-Typed LLP and Anduril Industries Inc.
Copyright (c) 2023-2025, Well-Typed LLP and Anduril Industries Inc.

All rights reserved.

Expand Down
17 changes: 8 additions & 9 deletions grapesy/grapesy.cabal
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
cabal-version: 3.0
name: grapesy
version: 0.1.0
version: 1.0.0
synopsis: Native Haskell implementation of the gRPC framework
description: This is a fully compliant and feature complete native Haskell
implementation of gRPC, Google's RPC framework. See README.md
for details.
implementation of gRPC, Google's RPC framework.
license: BSD-3-Clause
license-file: LICENSE
author: Edsko de Vries
Expand Down Expand Up @@ -39,7 +38,7 @@ common lang
-Widentities
-Wmissing-export-lists
build-depends:
base >= 4.14 && < 4.21
base >= 4.14 && < 4.22
default-language:
Haskell2010
default-extensions:
Expand Down Expand Up @@ -155,7 +154,7 @@ library
, data-default >= 0.7 && < 0.9
, deepseq >= 1.4 && < 1.6
, exceptions >= 0.10 && < 0.11
, grpc-spec >= 0.1 && < 0.2
, grpc-spec >= 1.0 && < 1.1
, http-types >= 0.12 && < 0.13
, http2-tls >= 0.4.5 && < 0.5
, lens >= 5.0 && < 5.4
Expand All @@ -164,7 +163,7 @@ library
, network-run >= 0.4.3 && < 0.5
, proto-lens >= 0.7 && < 0.8
, proto-lens-protobuf-types >= 0.7 && < 0.8
, random >= 1.2 && < 1.3
, random >= 1.2 && < 1.4
, recv >= 0.1 && < 0.2
, stm >= 2.5 && < 2.6
, text >= 1.2 && < 2.2
Expand Down Expand Up @@ -321,11 +320,11 @@ test-suite test-stress
, Chart-diagrams >= 1.9 && < 1.10
, directory >= 1.3 && < 1.4
, filepath >= 1.4.2.1 && < 1.6
, ghc-events >= 0.17 && < 0.20
, ghc-events >= 0.17 && < 0.21
, optparse-applicative >= 0.16 && < 0.19
, pretty-show >= 1.10 && < 1.11
, process >= 1.6.12 && < 1.7
, random >= 1.2 && < 1.3
, random >= 1.2 && < 1.4
, temporary >= 1.3 && < 1.4

if !flag(build-stress-test)
Expand Down Expand Up @@ -440,7 +439,7 @@ benchmark grapesy-kvstore
-- Additional dependencies
, base16-bytestring >= 1.0 && < 1.1
, base64-bytestring >= 1.2 && < 1.3
, hashable >= 1.3 && < 1.5
, hashable >= 1.3 && < 1.6
, optparse-applicative >= 0.16 && < 0.19
, proto-lens-runtime >= 0.7 && < 0.8
, splitmix >= 0.1 && < 0.2
Expand Down
6 changes: 3 additions & 3 deletions grpc-spec/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Revision history for gRPC
# Revision history for grpc-spec

## 0.1.0 -- YYYY-mm-dd
## 1.0.0 -- 2025-01-22

* First version. Released on an unsuspecting world.
* First released version.
2 changes: 1 addition & 1 deletion grpc-spec/LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2023-2024, Well-Typed LLP and Anduril Industries Inc.
Copyright (c) 2023-2025, Well-Typed LLP and Anduril Industries Inc.

All rights reserved.

Expand Down
6 changes: 3 additions & 3 deletions grpc-spec/grpc-spec.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 3.0
name: grpc-spec
version: 0.1.0
version: 1.0.0
synopsis: Implementation of the pure part of the gRPC spec
description: This is an implementation of the pure part of the core gRPC
spec at <https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md>.
Expand Down Expand Up @@ -34,7 +34,7 @@ common lang
-Widentities
-Wmissing-export-lists
build-depends:
base >= 4.14 && < 4.21
base >= 4.14 && < 4.22
default-language:
Haskell2010
default-extensions:
Expand Down Expand Up @@ -136,7 +136,7 @@ library
, data-default >= 0.7 && < 0.9
, deepseq >= 1.4 && < 1.6
, exceptions >= 0.10 && < 0.11
, hashable >= 1.3 && < 1.5
, hashable >= 1.3 && < 1.6
, http-types >= 0.12 && < 0.13
, lens >= 5.0 && < 5.4
, mtl >= 2.2 && < 2.4
Expand Down
6 changes: 3 additions & 3 deletions tutorials/basics/basics-tutorial.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ library
build-depends:
, aeson >= 1.5 && < 2.3
, containers >= 0.6 && < 0.8
, grapesy >= 0.1 && < 0.2
, grapesy >= 1.0 && < 1.1
, proto-lens-runtime >= 0.7 && < 0.8
, time >= 1.9 && < 1.13
, time >= 1.9 && < 1.15
exposed-modules:
RouteGuide
Proto.API.RouteGuide
Expand Down Expand Up @@ -90,6 +90,6 @@ executable route_guide_client
, grapesy
build-depends:
-- additional
, random >= 1.2 && < 1.3
, random >= 1.2 && < 1.4
, text >= 1.2 && < 2.2

4 changes: 2 additions & 2 deletions tutorials/conduit/conduit-tutorial.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ executable route_guide_client

build-depends:
, conduit >= 1.3 && < 1.4
, grapesy >= 0.1 && < 0.2
, random >= 1.2 && < 1.3
, grapesy >= 1.0 && < 1.1
, random >= 1.2 && < 1.4
, text >= 1.2 && < 2.2
8 changes: 4 additions & 4 deletions tutorials/lowlevel/lowlevel-tutorial.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ executable route_guide_server
build-depends: basics-tutorial

build-depends:
, grapesy >= 0.1 && < 0.2
, time >= 1.9 && < 1.13
, grapesy >= 1.0 && < 1.1
, time >= 1.9 && < 1.15

executable route_guide_client
import: lang
Expand All @@ -51,6 +51,6 @@ executable route_guide_client
build-depends: basics-tutorial

build-depends:
, grapesy >= 0.1 && < 0.2
, random >= 1.2 && < 1.3
, grapesy >= 1.0 && < 1.1
, random >= 1.2 && < 1.4
, text >= 1.2 && < 2.2
4 changes: 2 additions & 2 deletions tutorials/metadata/metadata-tutorial.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ library
build-depends:
, bytestring >= 0.10 && < 0.13
, exceptions >= 0.10 && < 0.11
, grapesy >= 0.1 && < 0.2
, grapesy >= 1.0 && < 1.1
, proto-lens-runtime >= 0.7 && < 0.8
, time >= 1.9 && < 1.13
, time >= 1.9 && < 1.15
exposed-modules:
Proto.API.Fileserver
other-modules:
Expand Down
8 changes: 4 additions & 4 deletions tutorials/monadstack/monadstack-tutorial.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ executable route_guide_server
build-depends: basics-tutorial

build-depends:
, grapesy >= 0.1 && < 0.2
, grapesy >= 1.0 && < 1.1
, mtl >= 2.2 && < 2.4
, time >= 1.9 && < 1.13
, time >= 1.9 && < 1.15

executable route_guide_client
import: lang
Expand All @@ -58,7 +58,7 @@ executable route_guide_client

build-depends:
, exceptions >= 0.10 && < 0.11
, grapesy >= 0.1 && < 0.2
, grapesy >= 1.0 && < 1.1
, mtl >= 2.2 && < 2.4
, random >= 1.2 && < 1.3
, random >= 1.2 && < 1.4
, text >= 1.2 && < 2.2
2 changes: 1 addition & 1 deletion tutorials/quickstart/quickstart-tutorial.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ library
build-tool-depends: proto-lens-protoc:proto-lens-protoc

build-depends:
, grapesy >= 0.1 && < 0.2
, grapesy >= 1.0 && < 1.1
, proto-lens-runtime >= 0.7 && < 0.8
exposed-modules:
Proto.API.Helloworld
Expand Down
4 changes: 2 additions & 2 deletions tutorials/trailers-only/trailers-only-tutorial.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ executable route_guide_server
build-depends: basics-tutorial

build-depends:
, grapesy >= 0.1 && < 0.2
, time >= 1.9 && < 1.13
, grapesy >= 1.0 && < 1.1
, time >= 1.9 && < 1.15