From e586321fafb372e55a9b7620e12b08d2307e7af3 Mon Sep 17 00:00:00 2001 From: Rene Vergara Date: Thu, 27 Jul 2023 13:34:35 -0500 Subject: [PATCH] Update to new patched version of MongoDB driver --- CHANGELOG.md | 6 ++++++ package.yaml | 2 +- stack.yaml | 5 ++++- stack.yaml.lock | 19 +++++++++++++++---- zgo-backend.cabal | 2 +- 5 files changed, 27 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 28ec2bc..9f26074 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] + +## Changed + +- MongoDB driver updated to support MongoDB 6. + ## [1.7.0] ### Added diff --git a/package.yaml b/package.yaml index 6953890..4f4d860 100644 --- a/package.yaml +++ b/package.yaml @@ -1,5 +1,5 @@ name: zgo-backend -version: 1.7.0 +version: 1.8.0 git: "https://git.vergara.tech/Vergara_Tech/zgo-backend" license: BOSL author: "Rene Vergara" diff --git a/stack.yaml b/stack.yaml index d65ab03..c92b599 100644 --- a/stack.yaml +++ b/stack.yaml @@ -17,7 +17,7 @@ # # resolver: ./custom-snapshot.yaml # resolver: https://example.com/snapshots/2018-01-01.yaml -resolver: lts-20.23 +resolver: lts-21.4 #url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/19/4.yaml # User packages to be built. @@ -50,6 +50,9 @@ extra-deps: commit: 787c2e813eb3a5d16c375d4b37dfefbd2adcdf05 - git: https://github.com/well-typed/borsh.git commit: d2fcfa159e0a844b1ec5e8ed3e232d4b380fa831 + - git: https://git.vergara.tech/Vergara_Tech/mongodb.git + commit: 22537d87eea77721d1f56a9690c51ffcb64f7390 + # - network-2.8.0.1@sha256:a79f3cf88b2623d5f2e7a8fc7962055f6858d6beb6d13c2aef43c20a5060cf28,3034 - aeson-2.1.2.1@sha256:5b8d62a60963a925c4d123a46e42a8e235a32188522c9f119f64ac228c2612a7,6359 - vector-0.13.0.0@sha256:fa5cac81a17a5af388716792e8b99c24b3b66770086756d0d8b23f8272a0244c,9112 - generically-0.1.1 diff --git a/stack.yaml.lock b/stack.yaml.lock index 552f32f..fdc93d3 100644 --- a/stack.yaml.lock +++ b/stack.yaml.lock @@ -48,6 +48,17 @@ packages: original: commit: d2fcfa159e0a844b1ec5e8ed3e232d4b380fa831 git: https://github.com/well-typed/borsh.git +- completed: + commit: 22537d87eea77721d1f56a9690c51ffcb64f7390 + git: https://git.vergara.tech/Vergara_Tech/mongodb.git + name: mongoDB + pantry-tree: + sha256: f0a5cd9b243a746be6b277719413c766ee0983a9012ff7ad7d4fc6140a68d2a9 + size: 2297 + version: 2.7.1.2 + original: + commit: 22537d87eea77721d1f56a9690c51ffcb64f7390 + git: https://git.vergara.tech/Vergara_Tech/mongodb.git - completed: hackage: aeson-2.1.2.1@sha256:5b8d62a60963a925c4d123a46e42a8e235a32188522c9f119f64ac228c2612a7,6359 pantry-tree: @@ -92,7 +103,7 @@ packages: hackage: crypto-rng-0.3.0.1@sha256:04f4ae75943ecad8b794950985054130f272d65a588b6b6528f56df0bfedc4dc,1565 snapshots: - completed: - sha256: 4c972e067bae16b95961dbfdd12e07f1ee6c8fffabbfa05c3d65100b03f548b7 - size: 650253 - url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/20/23.yaml - original: lts-20.23 + sha256: caa77fdbc5b9f698262b21ee78030133272ec53116ad6ddbefdc4c321f668e0c + size: 640014 + url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/21/4.yaml + original: lts-21.4 diff --git a/zgo-backend.cabal b/zgo-backend.cabal index e9b46b8..9710f2c 100644 --- a/zgo-backend.cabal +++ b/zgo-backend.cabal @@ -5,7 +5,7 @@ cabal-version: 1.12 -- see: https://github.com/sol/hpack name: zgo-backend -version: 1.7.0 +version: 1.8.0 synopsis: Haskell Back-end for the ZGo point-of-sale application description: Please see the README at category: Web