Skip to content

nginx-haskell-module version 1.9.6

Compare
Choose a tag to compare
@lyokha lyokha released this 05 Sep 13:41
· 690 commits to master since this release
  • New features
    • A new compile option debug in directive haskell compile allows for linkage against debug flavours of the Haskell RTS library, which makes it possible to collect GHC event logs in the standalone approach. Options debug and threaded can be combined.
  • Bug fixes
    • Re-declarations of synchronous variables on deeper levels stopped working since the previous release. Fixed.
    • Multiple declarations of the same non-service variable on a single configuration level are now prohibited.
  • Improvements
    • Improved treatment of asynchronous variables with equal names. Now re-declaration of such a variable on the location level overrides its declaration on the server level, however re-declaration of an asynchronous variable on the location if level does not override its upper declarations because location if levels get evaluated later in runtime, when the async task is already running.
    • Improved treatment of options in directives haskell compile / load. Now they can be specified in arbitrary order (but still before the path to the source file or library and the source code).
    • Haskell runtime names are now parameterized by workers PIDs. This makes Haskell runtimes write event logs (and probably other kinds of traces) into own files, thus preventing them from tangling up.
    • GHC command is logged when it fails to compile in the standalone approach.