Skip to content

Releases: lyokha/nginx-haskell-module

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

25 Sep 15:29
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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.

nginx-haskell-module version 2.9.2, ngx-export version 1.7.5

14 Nov 20:04
Compare
Choose a tag to compare
  • Added optional auxiliary module ngx_http_haskell_aliases_module to declare handy aliases for various cryptic directives. Currently, the module exports only one alias directive cache_variable.
  • Allow multiple declarations of directives haskell_var_nocacheable, haskell_var_nohash, haskell_var_compensate_uri_changes, haskell_var_empty_on_error, haskell_service_var_ignore_empty, and haskell_service_var_in_shm.
  • ngx-export 1.7.5: more robust pattern exhaustion check after inclusion of option -Wincomplete-uni-patterns into -Wall in GHC 9.2.1.