Skip to content

Releases: ayame113/ts-serve

v1.4.6

11 Dec 15:57
46e8cbb

Choose a tag to compare

What's Changed

Full Changelog: v1.4.5...v1.4.6

v1.4.5

06 Mar 19:20
b929b42

Choose a tag to compare

What's Changed

  • Update Deno Dependencies by @github-actions in #34
    • std 0.178.0 includes etag support for deno deploy
  • Update Deno Dependencies by @github-actions in #35

Full Changelog: v1.4.4...v1.4.5

v1.4.4

12 Feb 12:42
e19bcfe

Choose a tag to compare

What's Changed

  • fix: Enhance documentation about wasm files by @ayame113 in #27
  • ci: allow manual execution of udd by @ayame113 in #29
  • Update Deno Dependencies by @github-actions in #30
  • Update README.md by @ayame113 in #31

Full Changelog: v1.4.3...v1.4.4

v1.4.3

25 Jan 12:41
b6ac180

Choose a tag to compare

What's Changed

  • Update Deno Dependencies by @github-actions in #24

Full Changelog: v1.4.2...v1.4.3

v1.4.2

25 Nov 12:20
4dad520

Choose a tag to compare

What's Changed

Full Changelog: v1.4.1...v1.4.2

v1.4.1

25 Aug 10:50
fd41541

Choose a tag to compare

What's Changed

  • Update Deno Dependencies by @github-actions in #17

Full Changelog: v1.4.0...v1.4.1

v1.4.0

20 Aug 18:47
93e232a

Choose a tag to compare

What's Changed

After this PR, code like the following will be executable:

await transpile(
  "function name(params:type) {}",
  new URL("file:///src"),
  MediaType.TypeScript,
)

Until now, if the second argument did not have an extension, the file type could not be guessed and failed. Now you can pass MediaType as the third argument to indicate the file type.

Calling this function has no effect whether it is called or not.
Calling this function will force the loading of the wasm file used internally.
For performance sensitive servers, etc., call this function first to tell it to load wasm.
There is no need to call this function where performance is not important. In that case, the wasm file will be automatically loaded in about 3 seconds when you transpile for the first time.

import { serve } from "https://deno.land/std@0.151.0/http/mod.ts";
import { serveDirWithTs, fourceInstantiateWasm } from "https://deno.land/x/ts_serve@$VERSION/mod.ts";

fourceInstantiateWasm();
serve((request) => serveDirWithTs(request));
  • Update Deno Dependencies by @github-actions in #15

Full Changelog: v1.3.0...v1.4.0

v1.3.0

07 Aug 17:27
988398d

Choose a tag to compare

What's Changed

  • feat: Correctly handle URLs without extensions by @ayame113 in #11
  • Update Deno Dependencies by @github-actions in #8

Full Changelog: v1.2.0...v1.3.0

v1.2.0

30 Jul 13:44
1915828

Choose a tag to compare

What's Changed

  • Update Deno Dependencies in #4
  • Update Deno Dependencies in #5
  • Update Deno Dependencies in #6
  • Update Deno Dependencies in #7

Full Changelog: v1.1.0...v1.2.0

v1.1.0

17 Jun 04:18
fc47e78

Choose a tag to compare

  • support jsx