Releases: hatsyjs/hatsy
Releases · hatsyjs/hatsy
Release 2.0.1
Fixes
- Exclude build configs from the package.
Release 2.0.0
New Features
- Introduce a
Logging
capability providingLoggerMeans
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
New Features
- Add
dispatchError()
request processing error dispatcher.
Changes
- Add error type parameter to
ErrorMeans
.any
by default.
Release 1.6.3
Packaging
- Export
./package.json
package entry point.
Release 1.6.2
Fixes
- Prevent previous request processing result from affecting the next request.
Release 1.6.1
Dependencies
- Drop redundant
@proc7ts/a-iterable
and@proc7ts/call-thru
dependencies
Release 1.6.0
Packaging
- Declare exports in
package.json
.
Release 1.5.0
Breaking Changes
Simplify API:
- Drop
RequestModifier
interface.RequestContext.next
acceptsRequestModifiction
parameter only.- Drop
RequestContext.modifiedBy()
method.
- Drop
RequestCapabilities
in favor ofRequestCapability
- 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
Fixes
- Always pass current request context to
RequestModifier.modifyNext()
method.
Release 1.0.1
Changes
- Minor performance optimization related to asynchronous processing.