Skip to content

Releases: lyokha/nginx-haskell-module

nginx-haskell-module version 2.6.5

30 Sep 07:48
Compare
Choose a tag to compare
  • Improvements
    • Allow multiple trailing Haskell code arguments in directive haskell compile to circumvent the too long parameter error in large code blocks.
  • Other

nginx-haskell-module version 2.6.4

03 Aug 14:51
Compare
Choose a tag to compare

Fixed segfaults in asynchronous content handlers when they throw errors.

nginx-haskell-module version 2.6.3

29 Jun 13:20
Compare
Choose a tag to compare
  • Minor optimization: no hash for update and shm stats variables.
  • Minor improvement: using sequential numbers instead of timestamps for marking changes in shared services' result variables.

nginx-haskell-module version 2.6.2

30 Apr 12:39
Compare
Choose a tag to compare
  • Bug fixes
    • Initialize the head buffer of async data right before running the async task.
  • Other
    • Package ngx-export-tools version 0.4.8.0. Implemented Eq and Ord instances for TimeInterval.

nginx-haskell-module version 2.6.1

10 Jan 13:23
Compare
Choose a tag to compare

Added directive haskell_var_empty_on_error to make values of variables bound to effectful synchronous and asynchronous variable handlers empty on errors while still logging the errors in the error log.

nginx-haskell-module version 2.6.0

02 Dec 11:48
Compare
Choose a tag to compare
  • New features
    • Added synchronous strict variable handlers which run in rewrite or log phases even if values of their variables are not consumed. They are declared using bang annotation prefixes before the variables.
  • Bug fixes
    • The cache for the nocacheable variables was not used after the first internal redirection.
  • Other
    • Pandoc examples were updated to compile with Pandoc 2.8.

nginx-haskell-module version 2.5.3

30 Sep 14:18
Compare
Choose a tag to compare

Fixed building of standalone modules with ghc 8.8.1.

Details: Pragma {-# OPTIONS_GHC -pgmPcpphs -optP--cpp #-} was replaced with {-# OPTIONS_GHC -pgmP "cpphs --cpp" #-} as -optP is no longer safe after fixing ghc issue #16737 in commit ghc/ghc@cfd3e0f when using it with a custom CPP program such as cpphs and FFI bits.

nginx-haskell-module version 2.5.2

15 Jul 14:25
Compare
Choose a tag to compare
  • Portability fixes for exotic platforms where size of int differs from 4 bytes.
  • Package ngx-export-tools version 0.4.6.0. Added function workerProcessIsExiting to check quickly in an exception handler whether a Haskell service has been interrupted because the worker process is exiting.

nginx-haskell-module version 2.5.1, ngx-export version 1.7.1

23 Apr 12:47
Compare
Choose a tag to compare

Added function ngxCachedPid to return the worker's PID cached in Nginx core.

nginx-haskell-module version 2.5.0, ngx-export version 1.7.0.1

08 Feb 20:24
Compare
Choose a tag to compare
  • New features
    • The normal synchronous and all asynchronous content handlers are expected to return a list of optional HTTP response headers (type ContentHandlerResult gets the 4th field).
    • The aforementioned kinds of content handlers can now return authentic Nginx-styled responses (such as 502 Bad Gateway; see section Tips and tricks in README.md).
  • Bug fixes
    • All asynchronous Haskell handlers get proper masking against asynchronous exceptions, which is especially important for service handlers in presence of asynchronous exceptions from service hooks.
    • The API exceptions were not accessible for using in the standalone approach.
  • Other
    • Minor improvements and optimizations.