git.iko.soy/typeable/postgresql-simple
on master help sign in
Prepare for 0.6.1
commitebfc58b3410d16b95c8a774b5873cc94723ed97e authorOleg Grenrus <oleg.grenrus@iki.fi> dateSun 3 Mar 2019, 23:42 (8 years ago) parent11c856c
3 files changed+32−17
.travis.yml+8−14 CHANGES.md+22−1 postgresql-simple.cabal+2−2
.travis.yml+8−14
@@ -4,6 +4,8 @@
44#
55# For more information, see https://github.com/haskell-CI/haskell-ci
66#
7+# version: 0.1.0.0
8+#
79language: c
810dist: xenial
911
@@ -38,25 +40,18 @@ before_cache:
3840matrix:
3941 include:
4042 - compiler: "ghc-8.6.3"
41− # env: TEST=--disable-tests BENCH=--disable-benchmarks
4243 addons: {apt: {packages: [ghc-ppa-tools,cabal-install-2.4,ghc-8.6.3], sources: [hvr-ghc]}}
4344 - compiler: "ghc-8.4.4"
44− # env: TEST=--disable-tests BENCH=--disable-benchmarks
4545 addons: {apt: {packages: [ghc-ppa-tools,cabal-install-2.4,ghc-8.4.4], sources: [hvr-ghc]}}
4646 - compiler: "ghc-8.2.2"
47− # env: TEST=--disable-tests BENCH=--disable-benchmarks
4847 addons: {apt: {packages: [ghc-ppa-tools,cabal-install-2.4,ghc-8.2.2], sources: [hvr-ghc]}}
4948 - compiler: "ghc-8.0.2"
50− # env: TEST=--disable-tests BENCH=--disable-benchmarks
5149 addons: {apt: {packages: [ghc-ppa-tools,cabal-install-2.4,ghc-8.0.2], sources: [hvr-ghc]}}
5250 - compiler: "ghc-7.10.3"
53− # env: TEST=--disable-tests BENCH=--disable-benchmarks
5451 addons: {apt: {packages: [ghc-ppa-tools,cabal-install-2.4,ghc-7.10.3], sources: [hvr-ghc]}}
5552 - compiler: "ghc-7.8.4"
56− # env: TEST=--disable-tests BENCH=--disable-benchmarks
5753 addons: {apt: {packages: [ghc-ppa-tools,cabal-install-2.4,ghc-7.8.4], sources: [hvr-ghc]}}
5854 - compiler: "ghc-7.6.3"
59− # env: TEST=--disable-tests BENCH=--disable-benchmarks
6055 addons: {apt: {packages: [ghc-ppa-tools,cabal-install-2.4,ghc-7.6.3], sources: [hvr-ghc]}}
6156
6257before_install:
@@ -65,7 +60,7 @@ before_install:
6560 - unset CC
6661 - CABAL=/opt/ghc/bin/cabal
6762 - CABALHOME=$HOME/.cabal
68− - "export PATH=\"$CABALHOME/bin:$PATH\""
63+ - export PATH="$CABALHOME/bin:$PATH"
6964 - ROOTDIR=$(pwd)
7065 - HCNUMVER=$(( $(${HC} --numeric-version|sed -E 's/([0-9]+)\.([0-9]+)\.([0-9]+).*/\1 * 10000 + \2 * 100 + \3/') ))
7166 - echo $HCNUMVER
@@ -73,12 +68,11 @@ before_install:
7368install:
7469 - ${CABAL} --version
7570 - echo "$(${HC} --version) [$(${HC} --print-project-git-commit-id 2> /dev/null || echo '?')]"
76− - BENCH=${BENCH---enable-benchmarks}
77− - TEST=${TEST---enable-tests}
78− - UNCONSTRAINED=${UNCONSTRAINED-true}
71+ - TEST=--enable-tests
72+ - BENCH=--enable-benchmarks
7973 - GHCHEAD=${GHCHEAD-false}
8074 - travis_retry ${CABAL} update -v
81− - "sed -i.bak 's/^jobs:/-- jobs:/' $CABALHOME/config"
75+ - sed -i.bak 's/^jobs:/-- jobs:/' $CABALHOME/config
8276 - rm -fv cabal.project cabal.project.local
8377 - grep -Ev -- '^\s*--' $CABALHOME/config | grep -Ev '^\s*$'
8478 - rm -f cabal.project
@@ -122,14 +116,14 @@ script:
122116 - ${CABAL} new-build -w ${HC} ${TEST} ${BENCH} all
123117 - if [ "x$TEST" = "x--enable-tests" ]; then ${CABAL} new-test -w ${HC} ${TEST} ${BENCH} all; fi
124118
125− # ${CABAL} check
119+ # cabal check
126120 - (cd postgresql-simple-* && ${CABAL} check)
127121
128122 # haddock
129123 - ${CABAL} new-haddock -w ${HC} ${TEST} ${BENCH} all
130124
131125 # Build without installed constraints for packages in global-db
132− - if $UNCONSTRAINED; then rm -f cabal.project.local; ${CABAL} new-build -w ${HC} --disable-tests --disable-benchmarks all; else echo "Not building without installed constraints"; fi
126+ - rm -f cabal.project.local; ${CABAL} new-build -w ${HC} --disable-tests --disable-benchmarks all;
133127
134128# REGENDATA ["--config","cabal.haskell-ci","--output",".travis.yml","postgresql-simple.cabal"]
135129# EOF
CHANGES.md+22−1
@@ -1,4 +1,25 @@
1−### Version 0.6 (2018-09-25)
1+### Version 0.6.1 (2019-03-04)
2+
3+ * Escape double '??' to a literal '?
4+ Thanks to Felix Paulusma for the implementation.
5+ https://github.com/phadej/postgresql-simple/pull/5
6+
7+ * Mention GHC Generics support in the documentation.
8+ Thanks to Gabriel Gonzalez for the implementation.
9+ https://github.com/phadej/postgresql-simple/pull/6
10+
11+ * Better error message for "Query resulted in a command response
12+ Thanks to Max Amanshauser for the implementation.
13+ https://github.com/phadej/postgresql-simple/pull/7
14+
15+ * fromJSONField: Include JSONPath on JSON parse errors
16+ Thanks to Simon Hengel for the implementation.
17+ https://github.com/phadej/postgresql-simple/pull/2
18+
19+ * No TH in implementation
20+ https://github.com/phadej/postgresql-simple/pull/4
21+
22+### Version 0.6 (2018-10-16)
223
324 * *Breaking change*: Use `Only` package's `Only` for a common 1-tuple.
425
postgresql-simple.cabal+2−2
@@ -1,6 +1,6 @@
11Cabal-version: 1.12
22Name: postgresql-simple
3−Version: 0.6
3+Version: 0.6.1
44
55Synopsis: Mid-Level PostgreSQL client library
66Description:
@@ -11,7 +11,7 @@ Author: Bryan O'Sullivan, Leon P Smith
1111Maintainer: Oleg Grenrus <oleg.grenrus@iki.fi>
1212Copyright: (c) 2011 MailRank, Inc.
1313 (c) 2011-2018 Leon P Smith
14− (c) 2018 Oleg Grenrus
14+ (c) 2018-2019 Oleg Grenrus
1515Category: Database
1616Build-type: Simple
1717