NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev, #41 most downloaded on pub.dev
Static file server support for the shelf package and ecosystem.
Latest stable
1.2.0
Last release 1 months ago
16 Oct 2026
Release timing varies
gaps range from 4 weeks to 2.4 years
Most releases are documented
notes for 30 of 35 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
35 releases · first in 2014
Drag across the ruler to compare, or tap a release to open it.
Fix unhandled FormatException / HTTP 500 error when parsing oversized integer values in HTTP Range headers, and ignore suffix ranges that select zero
FormatException / HTTP 500 error when parsing oversized integerRange headers, and ignore suffix ranges that select zero bytes.If-Modified-Since headers.dart:io operations (such as statSync() andFile.existsSync()) with their asynchronous equivalents. This preventscreateStaticHandler from blocking the Dart isolate event loop, dramaticallygenerateETag and maxAge parameters to createStaticHandler andcreateFileHandler to support ETag and Cache-Control headers.listDirectory HTML output to use a modern, responsive table^3.9.0.Require analyzer: ^8.1.1 Require build: ^4.0.0 Require build_config: ^1.2.0 Require source_gen: ^4.0.1 Require sdk: ^3.9.0
analyzer: ^8.1.1build: ^4.0.0build_config: ^1.2.0source_gen: ^4.0.1sdk: ^3.9.0Your coding agent can read these notes before it upgrades. Set up the MCP server →
^3.3.0.package:mime constraint to >=1.0.0 <3.0.0.Require analyzer: '>=7.4.0 <9.0.0'
analyzer: '>=7.4.0 <9.0.0'build: ^3.0.0build_config: ^1.1.0source_gen: ^3.0.0sdk: ^3.7.02.17.Support the latest package:analyzer and package:source_gen
package:analyzer and package:source_gensdk: ^3.3.0Correctly handle HEAD requests.
HEAD requests.* Migrate to null safety.
Change version constraint for the mime dependency, so it accepts null-safe versions.
mime dependency, so it accepts null-safe versions.Change version constraint for the shelf dependency, so it accepts null-safe versions.
shelf dependency, so it accepts null-safe versions.Update SDK constraint to >=2.0.0-dev.61 <3.0.0.
Update SDK constraint to >=2.0.0-dev.61 <3.0.0.
Directory listings are now sorted.
Require at least Dart SDK 1.24.0.
scheduled_test.Updated SDK version to 2.0.0-dev.17.0
Add a createFileHandler() function that serves a single static file.
createFileHandler() function that serves a single static file.Add an optional contentTypeResolver argument to createStaticHandler.
contentTypeResolver argument to createStaticHandler.Add support for "sniffing" the content of the file for the content-type via an optional useHeaderBytesForContentType argument on createStaticHandler.
useHeaderBytesForContentType argument on createStaticHandler.Added listDirectories argument to createStaticHandler.
listDirectories argument to createStaticHandler.* Support http_parser 1.0.0.
http_parser 1.0.0.* Support http_parser 2.0.0.
http_parser 2.0.0.* Support shelf 0.7.0.
shelf 0.7.0.* Support http_parser 3.0.0.
http_parser 3.0.0.Bumped up minimum SDK to 1.7.0.
Bumped up minimum SDK to 1.7.0.
Added support for shelf 0.6.0.
Removed Uri format checks now that the core libraries is more strict.
Uri format checks now that the core libraries is more strict.Send correct mime type for default document.
Removed deprecated getHandler.
Send correct mime type for default document.
Added named (optional) defaultDocument argument to createStaticHandler.
defaultDocument argument to createStaticHandler.Nothing published for this version
Nothing published for this version
Nothing published for this version
Using latest shelf. Cleaned up test code by using new features.
shelf. Cleaned up test code by using new features.Handle differences in resolution between DateTime and HTTP date format.
DateTime and HTTP date format.Updated development dependencies.
createStaticHandler added serveFilesOutsidePath optional parameter.
createStaticHandler added serveFilesOutsidePath optional parameter.The preferred top-level method is now createStaticHandler. getHandler is deprecated.
createStaticHandler. getHandler is deprecated.content-type header if the mime type of the requested file can be determined from the file extension.304-Not modified against IF-MODIFIED-SINCE request header.fileSystemPath.example/example_server.dart.Correctly handle requests when not hosted at the root of a site.
last-modified header.* Removed work around for issue.
Nothing published for this version
Nothing published for this version
One column per quarter.