Skip to content

Releases: elysiajs/elysia-static

1.4.7

17 Nov 11:42
4d12f68

Choose a tag to compare

What's changed

Bug fix:

  • remove trailing slash on Windows

Full Changelog: 1.4.6...1.4.7

1.4.6

03 Nov 04:23
006fe7e

Choose a tag to compare

What's changed

Bug fix:

  • normalize path only when unsafe
  • cache crypto package import

Full Changelog: 1.4.5...1.4.6

1.4.5

01 Nov 03:52
a6dc9bf

Choose a tag to compare

What's Changed

  • fix: resolve static paths correctly on Windows by @denysovvl in #52

New Contributors

Full Changelog: 1.4.4...1.4.5

1.4.4

13 Oct 17:01
516491c

Choose a tag to compare

What's changed

Bug fix:

  • fix cjs main import

Full Changelog: 1.4.3...1.4.4

1.4.3

13 Oct 16:47
f4f14f3

Choose a tag to compare

What's changed

Improvement:

  • adjust build script
  • remove stat cache

Full Changelog: 1.4.2...1.4.3

1.4.2

13 Oct 01:13
d02a9fd

Choose a tag to compare

What's changed

Improvement:

  • better caching mechanism
  • scope cache to each instance

Full Changelog: 1.4.1...1.4.2

1.4.1

13 Oct 00:20
23be019

Choose a tag to compare

What's changed

Improvement:

  • general performance improvement
  • #34 log errors, make it easier to debug errors inside @elysiajs/static
  • #44 fixed edge case when working dir is root
  • use process.getBuiltinModules instead of import
  • refactor codebase to be more readable
  • rename noCache to cache
  • use Bun.Glob if Bun is detected
  • conditional run listFiles only when necessary
  • reduce seed to prefix parameter
  • cache etag generation

Change:

  • remove node-cache dependency
  • remove handle safe sep for windows as Node already handle it

Breaking Change:

  • rename enableDecodeURI to decodeURI
  • remove resolve options, use default path.resolve instead

New Contributors

Full Changelog: 1.4.0...1.4.1

1.4.0

12 Sep 16:54
f45e90c

Choose a tag to compare

What's changed

Improvement:

  • support Elysia 1.4

Full Changelog: 1.3.0...1.4.0

1.3.0

05 May 14:51
a8949d6

Choose a tag to compare

Full Changelog: 1.2.0...1.3.0

1.2.0

23 Dec 15:28
8a1e94f

Choose a tag to compare

Feature:

  • support Elysia 1.2

Full Changelog: 1.1.2...1.2.0