Skip to content

Releases: patrickdappollonio/http-server

v2.9.1

24 Oct 07:26
79a0ff8

Choose a tag to compare

What's new?

  • Fixed a vulnerability introduced by mapstructure which, although it wasn't able to be triggered in this project, it was still generating false positive warnings to some users.
  • Fixed some CSS paths in the directory listing mode
  • Add additional tests for ETags
  • Minor improvements and updates

What's Changed

Full Changelog: v2.9.0...v2.9.1

v2.9.0

20 May 15:49
5843095

Choose a tag to compare

What's Changed

Full Changelog: v2.8.1...v2.9.0

v2.8.1

19 May 08:27
79088d6

Choose a tag to compare

What's Changed

Full Changelog: v2.8.0...v2.8.1

v2.8.0

18 May 22:44
f5a18b7

Choose a tag to compare

What's Changed

Full Changelog: v2.7.0...v2.8.0

v2.7.0

04 May 20:16
62b6682

Choose a tag to compare

What's new?

This release includes support for GitHub-style admonitions, like:

Note

This is a note admonition.

Try them in http-server!

What's Changed

Full Changelog: v2.6.0...v2.7.0

v2.6.0

26 Apr 21:47
d28f2d0

Choose a tag to compare

TL;DR

  • Upgraded MermaidJS to version 11.4.1.
  • Added an option to render as HTML every markdown file (either .md or .markdown) with --render-all-markdown
    • This mode also supports hiding all files just so you can show the markdown file itself with no extra content.
  • Fixed an issue where username and passwords from basic authentication would not work if there were special characters in them
  • Fixed an issue where the banner feature and the CSS used for it would render inappropriately
  • Fixed an issue where usernames or password could not have special characters; this was an unintended effect
  • Fixed a CVE in jwt-go by upgrading to the latest version available

What's Changed

Updated dependencies

  • Bump github.com/spf13/pflag from 1.0.5 to 1.0.6 by @dependabot in #148
  • Bump MermaidJS to version 11.4.1 by @patrickdappollonio in #150
  • Bump github.com/spf13/viper from 1.19.0 to 1.20.0 by @dependabot in #157
  • Bump github.com/klauspost/compress from 1.17.11 to 1.18.0 by @dependabot in #155
  • Bump github.com/go-playground/validator/v10 from 10.24.0 to 10.25.0 by @dependabot in #152
  • Bump github.com/spf13/cobra from 1.8.1 to 1.9.1 by @dependabot in #153
  • Bump golang.org/x/net from 0.34.0 to 0.36.0 in the go_modules group by @dependabot in #156
  • Bump github.com/spf13/viper from 1.20.0 to 1.20.1 by @dependabot in #163
  • Bump github.com/go-playground/validator/v10 from 10.25.0 to 10.26.0 by @dependabot in #165
  • Bump github.com/yuin/goldmark from 1.7.8 to 1.7.10 by @dependabot in #171
  • Bump golang.org/x/net from 0.36.0 to 0.38.0 in the go_modules group by @dependabot in #172

Full Changelog: v2.5.3...v2.6.0

v2.5.3

16 Jan 03:28
0a7f088

Choose a tag to compare

What's Changed

Full Changelog: v2.5.2...v2.5.3

v2.5.2

24 Oct 02:34
2cd30c5

Choose a tag to compare

This update includes better handling of GOMAXPROCS, the limiter for Go runtime to perform operations such as garbage collection and goroutine parallelization.

In Layman's terms, this means that http-server now is more friendly to Kubernetes and other container environment deployments that impose limits (CPU/Memory) to http-server by properly detecting the values provided while in containerized mode.

This is automatically transparent to users and, before this patch, resource contention with the offset between the container's knowledge of limits and the actual limits being different would potentially yield less RPS handling.

Try it out and provide your feedback, it's always welcomed!

What's Changed

Full Changelog: v2.5.1...v2.5.2

v2.5.1

23 Oct 18:58
50b97ba

Choose a tag to compare

From this release forward, http-server will only generate etags for files smaller than 5 Megabytes (5 * 1024 * 1024). This value is configurable, and using a smaller value will use less RAM.

What's Changed

Full Changelog: v2.5.0...v2.5.1

v2.5.0

09 Oct 21:15
9b792e7

Choose a tag to compare

Many thanks to @muse-sisay for adding support for custom 404 handling and solving a longstanding feature request from 2021! (#7).

What's Changed

New Contributors

Full Changelog: v2.4.0...v2.5.0