Skip to content

Releases: serviejs/servie

Fix Event Emitter

10 Jun 02:01
Compare
Choose a tag to compare

Fixed

  • Fixed event emitter with once events
  • Always clone signal when cloning requests instead of sharing the same signal instance

Common Clone

09 Jun 21:45
Compare
Choose a tag to compare

Fixed

  • Add clone() methods to common interfaces

Specify default `Common` bodies for generic parameter

22 May 07:11
Compare
Choose a tag to compare

Fixed

  • Export url on CommonRequest interface

Added

  • Add unknown as the default generic parameter for Common bodies

Headers As Object Type

19 May 19:34
Compare
Choose a tag to compare

Fixed

  • Avoid undefined in asObject return type since it's copied from internal object

Export `{Request,Response}Options`

19 May 18:38
Compare
Choose a tag to compare

Added

  • Export RequestOptions and ResponseOptions from type-safe entry points

Export universal class types alongside `const`

19 May 06:06
Compare
Choose a tag to compare

Added

  • Export type mirrors of const for universal entry point

Stream To Text

19 May 05:39
Compare
Choose a tag to compare

Fixed

  • Reuse function between buffer and text output

Undefined header keys for init

19 May 05:29
Compare
Choose a tag to compare

Added

  • Support undefined keys for the object form of initializing headers

Fetch-like Rewrite

19 May 05:28
Compare
Choose a tag to compare

Changed

  • Rewrite to mirror fetch with Request and Response, output a smaller build for browsers

`UrlWithStringQuery`

25 May 14:21
Compare
Choose a tag to compare

Changed

  • Expose Url as UrlWithStringQuery for better query string parser understanding