Skip to content

Release 2.0.0

Compare
Choose a tag to compare
@surol surol released this 08 Nov 10:05
· 457 commits to master since this release

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".