Skip to content

Releases: hatsyjs/hatsy

Release 2.0.1

10 Nov 08:58
Compare
Choose a tag to compare

Fixes

  • Exclude build configs from the package.

Release 2.0.0

08 Nov 10:05
Compare
Choose a tag to compare

New Features

  • Introduce a Logging capability providing LoggerMeans to request handlers.
  • Allow to setup actual HTTP handler with HttpConfig.handleBy()
  • Allow to disable HTTP error logging with HttpConfig.logError property.

Breaking Changes

  • Drop HttpMeans.log.

    A logger should be set up explicitly with Logging capability.

    A @hatsy/log-z-request can be used for more sophisticated logging.

  • Drop escapeHtml utility.

    A @hatsy/hten can be used instead.

  • Drop MIME type definitions.

    The ones from @hatsy/hten can be used instead.

Packaging

  • "type": "module".

Release 1.7.0

16 Oct 05:00
Compare
Choose a tag to compare

New Features

  • Add dispatchError() request processing error dispatcher.

Changes

  • Add error type parameter to ErrorMeans. any by default.

Release 1.6.3

15 Oct 05:01
Compare
Choose a tag to compare

Packaging

  • Export ./package.json package entry point.

Release 1.6.2

15 Oct 04:37
Compare
Choose a tag to compare

Fixes

  • Prevent previous request processing result from affecting the next request.

Release 1.6.1

29 Sep 12:38
Compare
Choose a tag to compare

Dependencies

  • Drop redundant @proc7ts/a-iterable and @proc7ts/call-thru dependencies

Release 1.6.0

26 Aug 05:50
Compare
Choose a tag to compare

Packaging

  • Declare exports in package.json.

Release 1.5.0

28 Jun 08:35
Compare
Choose a tag to compare

Breaking Changes

Simplify API:

  • Drop RequestModifier interface.
    • RequestContext.next accepts RequestModifiction parameter only.
    • Drop RequestContext.modifiedBy() method.
  • Drop RequestCapabilities in favor of RequestCapability
  • Greatly simplify requestProcessor() implementation.

Despite these modification a backward-incompatible they probably wonn't affect client code.
But they require RequestCapability implementations to be updated.

Release 1.0.2

24 Jun 13:07
Compare
Choose a tag to compare

Fixes

  • Always pass current request context to RequestModifier.modifyNext() method.

Release 1.0.1

24 Jun 10:27
Compare
Choose a tag to compare

Changes

  • Minor performance optimization related to asynchronous processing.