Skip to content

Releases: lyokha/nginx-haskell-module

nginx-haskell-module version 3.2.0

01 Aug 11:42

Choose a tag to compare

  • Revamped README.md (based on the yet-another-doc-with-examples document).
  • Module ngx-export-distribution 0.4.0.0 with an improved recipe of how to build libraries which depend on packages built by cabal v2-build. All examples in this project and other related projects are now built according to this recipe.
  • A few small bug fixes and improvements in the C source code.

nginx-haskell-module version 3.1.3, ngx-export-tools version 1.0

25 Sep 15:29

Choose a tag to compare

  • Module ngx-export-tools 1.0.
    • The whole package was split into five separate sub-modules.
    • Package stability tag was promoted to stable.
  • Many improvements and bug fixes in nginx-upconf-module.

nginx-haskell-module version 3.1.2

03 Sep 18:41

Choose a tag to compare

  • Use option -flink-rts (optionally combined with -theaded and -debug) available in GHC 9.x to link against the RTS library. This is to replace the older and less reliable approach with direct linking against RTS via option -lHSrts-ghc$(ghc --numeric-version) and its flavoured variants.
  • Improved documentation for module NgxExport.Distribution; added recipe for collecting dependent packages built with cabal v2-build using utility cabal-plan.

nginx-haskell-module version 3.1.1

17 Jul 13:00

Choose a tag to compare

Use the connection's log request object in the request pointer variable handler.

nginx-haskell-module version 3.1.0

12 Jun 17:24

Choose a tag to compare

  • Removed a number of unnecessary allocations in config-time memory pools.
  • Fixed segfaults when both strict volatile variables and directive haskell_var_nocacheable were used simultaneously in a single config file.
  • Use ghc-pkg field rts include-dirs to find GHC include/ path as a more robust replacement of ghc --print-libdir.

nginx-haskell-module version 3.0

26 May 08:13

Choose a tag to compare

  • The handler(r) syntax was implemented to let more nice-looking style in directives passing the request pointer in the beginning of the handler's argument.
  • Build nginx-upconf-module from examples/dynamicUpstreams in CI and docker images.

nginx-haskell-module version 2.9.6

02 Mar 08:24

Choose a tag to compare

  • Bug fix: wrong index was used in shared service update hooks which could lead to a very unexpected behavior when using them with multiple shared services declared.
  • Many improvements and bug fixes in the dynamic upstreams example and nginx-upconf-module.

nginx-haskell-module version 2.9.5

11 Feb 16:30

Choose a tag to compare

  • Improvements
    • Module NgxExport.Distribution version 0.3.2.0: various improvements and better documentation.
    • Utility hslibdeps: added an option for archiving artifacts and ability to specify compound options without spaces inside.
  • Bug fixes
    • Do not enable the Nginx PCRE allocator in service update hooks when Nginx was built with support of PCRE2.
    • Include <dlfcn.h> after <ngx_core.h> because the latter defines various important macros like _GNU_SOURCE which affect declarations in the former file and may cause compilation errors.

nginx-haskell-module version 2.9.4

03 Dec 13:52

Choose a tag to compare

  • Module NgxExport.Distribution version 0.3.0.0: a few improvements including simplified UI.
  • Using bang handler and directive haskell_var_nocacheable no longer requires loading a Haskell library.
  • New directives in ngx_http_haskell_aliases_module: var_alias, var_nocacheable, var_nohash.
  • At this moment, all directives in ngx_http_haskell_aliases_module are Haskell-agnostic: they do not require loading a Haskell library.
  • Make function ngx_http_haskell_var_configure() available in 3rd-party modules (it is used in ngx_http_haskell_aliases_module).

nginx-haskell-module version 2.9.3

25 Nov 10:18

Choose a tag to compare

  • Improvements in module ngx_http_haskell_aliases_module
    • Directive cache_variable was renamed to cache_set.
    • A new directive lazy_set was added.
  • Other
    • A new Haskell module NgxExport.Distribution for building custom Haskell libraries using Cabal was added.