Skip to content

v0.4.0

Compare
Choose a tag to compare
@lukeed lukeed released this 02 Apr 04:26
· 74 commits to master since this release

Breaking

  • (router): Allow find() to return void: f6cadf3

Features

  • Add worktop/cors module (#1, #22): c2e83e7, 9482d6a, 9eee191

  • Add compose utility to main worktop module (#23): b7103b7, c5d49c1
    Note: Updated #7 to add explicit type-safety at later date.

  • Add named UID and UUID types from worktop/utils module (#21): dc600c3, 35c2a1b
    More explicit type interfaces by default, while still satisfying string types.

  • Allow Router.prepare function to return Response instance directly: 50383e8
    This makes it a true Handler signature.

Patches

  • (response): Make res.send stringify non-obj/str data to String: dd597db
    Otherwise TextEncoder throws when determining byteLength

  • Add __PURE__ directives for better tree-shaking: ed4159a, 1fa1b5f

Examples

Chores

  • (examples) Update playground links: 0326044
  • Squash /bin devDependencies into root package.json file: 54663a1