Skip to content

Releases: deno-libs/superfetch

V1: new API & Deno handlers and listeners support

03 Apr 14:03

Choose a tag to compare

1.0.0

Breaking changes

Deno handlers and listeners

Old version only worked with a std/node/http server, the V1 one supports Deno handlers and listeners but doesn't support node servers anymore.

New API

New fetch API is slightly different.

Before it was like this:

await fetch('/hello').expect(200).expect('content-type', 'application/json').expect({ greeting: 'Hello!' })

Now it is like this:

const res = await fetch('/hello')

res.expect(200).expect('content-type', 'application/json').expect({ greeting: 'Hello!' })

Fewer deps and smaller size

Since the new API is much more minimal, the amount of dependencies was cut from 192 (on v0.1.6) to 14 (on v1.0.0). The code size decreased from 1.75MB to 109.74KB

0.1.6

08 Aug 10:07

Choose a tag to compare

eggs

0.1.4

08 Aug 09:57

Choose a tag to compare

fix jsdoc

0.1.3

07 Aug 23:05

Choose a tag to compare

bump deps

0.1.2

19 Mar 18:48

Choose a tag to compare

bump deps

0.1.1

23 Jan 16:47

Choose a tag to compare

bump std and fix types

drop node_http and use std/http instead

26 Nov 18:00

Choose a tag to compare

0.1.0

drop node_http and use std/http instead

0.0.10

15 Oct 09:47

Choose a tag to compare

chore: bump deps

0.0.9

28 Aug 11:38

Choose a tag to compare

bump deps

0.0.8

11 Aug 08:50

Choose a tag to compare

bump deps