serve 0.8.0 - #298945
Open
BrewTestBot wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Created by
brew bumpCreated with
brew bump-formula-pr.Details
release notes
SERVE_*(withPORTstill honored for Heroku-style deploys).log/slog—--log-format(text/json) and--log-level(debug/info/warn/error)./healthz(--health-path, empty to disable) that bypasses auth and logging for probes.--dirlistingto opt into automatic directory listings — disabled by default..env,.git, …) from both access and listings; opt in with--all.--cors-origin.SIGINT/SIGTERM.WithDirectory,WithPrefix,WithHiddenFiles,WithDirectoryListing.--versionflag, richer version output (Go toolchain + VCS revision), and a DockerHEALTHCHECK.🔧 Changed
401s and500s.500; details are logged server-side only.io/fs(os.DirFS) for safer path handling.🗑️ Removed
mockHTTP server package andHTTPServerinterface indirection (replaced by real integration tests).serve.Optionsstruct (replaced by functional options).⚠️ Breaking changes
serve.NewFileServer(serve.Options{...})→ functional options, e.g.serve.NewFileServer(serve.WithDirectory("./public")).--dirlisting(CLI) orWithDirectoryListing(true)(library) to restore the old behavior.Full Changelog: syntaqx/serve@v0.7.1...v0.8.0
View the full release notes at https://github.com/syntaqx/serve/releases/tag/v0.8.0.