Repository navigation
v0.6.1
Fixed
@tetsujs/request-log:thrownis the class of an error that sets nonameof its own, as documented.class NotFound extends Error {}was logged as"Error". A name the error does set, such as aDOMException's"AbortError", is kept.@tetsujs/core: a hook whose slot type was widened, by anAnyHookannotation for one, fails with a message that says so. The message listed every slot instead, one of them saying the slot the hook was put in cannot hold it.@tetsujs/core:ws()refuses a malformed path where it is declared, asroute()does. A path the compiler did not see as a literal, such as"/chat/{id}"or"/a//b", was registered as it was, and a client could never connect to it.@tetsujs/core: a handler returningPromise<any>compiles, as one returninganyalready did. An async handler that returned untyped data, such as parsed JSON, was refused as a stream.
Full Changelog: v0.6.0...v0.6.1