ngx-export-tools-extra 0.6.1.1 → 0.6.2.0
raw patch · 4 files changed
+26/−13 lines, 4 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- Changelog.md +5/−0
- LICENSE +1/−1
- NgxExport/Tools/Subrequest.hs +2/−2
- ngx-export-tools-extra.cabal +18/−10
Changelog.md view
@@ -1,3 +1,8 @@+### 0.6.2.0++- Added Cabal flag *Aggregate* to build module *NgxExport.Tools.Aggregate*+ conditionally.+ ### 0.6.1.0 - Handler *extractRequestStatusFromFullResponse* was replaced with handler
LICENSE view
@@ -1,7 +1,7 @@ The following license covers this documentation, and the source code, except where otherwise indicated. -Copyright 2019-2020, Alexey Radkov. All rights reserved.+Copyright 2019-2021, Alexey Radkov. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
NgxExport/Tools/Subrequest.hs view
@@ -699,12 +699,12 @@ -- set $proxy_with_exception $arg_proxy$arg_exc; -- -- if ($proxy_with_exception = yesyes) {--- haskell_content fromFullResponseWithException $hs_subrequest;+-- haskell_content __/fromFullResponseWithException/__ $hs_subrequest; -- break; -- } -- -- if ($arg_proxy = yes) {--- haskell_content fromFullResponse $hs_subrequest;+-- haskell_content __/fromFullResponse/__ $hs_subrequest; -- break; -- } -- @
ngx-export-tools-extra.cabal view
@@ -1,5 +1,5 @@ name: ngx-export-tools-extra-version: 0.6.1.1+version: 0.6.2.0 synopsis: More extra tools for Nginx haskell module description: More extra tools for <https://github.com/lyokha/nginx-haskell-module Nginx haskell module>.@@ -10,7 +10,7 @@ author: Alexey Radkov <alexey.radkov@gmail.com> maintainer: Alexey Radkov <alexey.radkov@gmail.com> stability: experimental-copyright: 2019-2020 Alexey Radkov+copyright: 2019-2021 Alexey Radkov category: Network build-type: Simple cabal-version: 1.20@@ -19,12 +19,16 @@ type: git location: https://github.com/lyokha/ngx-export-tools-extra +flag Aggregate+ description: Build Aggregate module.+ flag EDE description: Build EDE module. flag EDEUsePrettyprinter- description: Build EDE module migrated from @ansi-wl-pprint@ to- @prettyprinter@.+ description: Build EDE module migrated from+ [ansi-wl-pprint](https://hackage.haskell.org/package/ansi-wl-pprint)+ to [prettyprinter](https://hackage.haskell.org/package/prettyprinter). library default-language: Haskell2010@@ -43,13 +47,15 @@ , containers , unordered-containers , array- , enclosed-exceptions- , snap-core- , snap-server , text- , time , safe + if flag(Aggregate)+ build-depends: snap-core+ , snap-server+ , enclosed-exceptions+ , time+ if flag(EDE) if flag(EDEUsePrettyprinter) build-depends: ede >= 0.3.0.0@@ -61,9 +67,11 @@ , ansi-wl-pprint >= 0.6.3 , trifecta <= 2 - exposed-modules: NgxExport.Tools.Aggregate- , NgxExport.Tools.Prometheus+ exposed-modules: NgxExport.Tools.Prometheus , NgxExport.Tools.Subrequest++ if flag(Aggregate)+ exposed-modules: NgxExport.Tools.Aggregate if flag(EDE) exposed-modules: NgxExport.Tools.EDE