shelf_static 1.1.3
shelf_static: ^1.1.3 copied to clipboard
Static file server support for the shelf package and ecosystem.
1.1.3 #
- Require Dart
^3.3.0. - Update
package:mimeconstraint to>=1.0.0 <3.0.0.
1.1.2 #
- Added package topics to the pubspec file.
- Require Dart
2.17.
1.1.1 #
- Require Dart
2.14. - Update the pubspec
repositoryfield.
1.1.0 #
- Correctly handle
HEADrequests. - Support HTTP range requests.
1.0.0 #
- Migrate to null safety.
0.2.9+2 #
- Change version constraint for the
shelfdependency, so it accepts null-safe versions.
0.2.9+1 #
- Change version constraint for the
mimedependency, so it accepts null-safe versions.
0.2.9 #
- Update SDK constraint to
>=2.3.0 <3.0.0. - Allow
3.xversions ofpackage:convert. - Allow
4.xversions ofpackage:http_parser. - Use file
modifieddates instead ofchangedfor304 Not Modifiedchecks aschangedreturns creation dates on Windows.
0.2.8 #
-
Update SDK constraint to
>=2.0.0-dev.61 <3.0.0. -
Directory listings are now sorted.
0.2.7+1 #
- Updated SDK version to 2.0.0-dev.17.0
0.2.7 #
- Require at least Dart SDK 1.24.0.
- Other internal changes e.g. removing dep on
scheduled_test.
0.2.6 #
- Add a
createFileHandler()function that serves a single static file.
0.2.5 #
- Add an optional
contentTypeResolverargument tocreateStaticHandler.
0.2.4 #
- Add support for "sniffing" the content of the file for the content-type via an optional
useHeaderBytesForContentTypeargument oncreateStaticHandler.
0.2.3+4 #
- Support
http_parser3.0.0.
0.2.3+3 #
- Support
shelf0.7.0.
0.2.3+2 #
- Support
http_parser2.0.0.
0.2.3+1 #
- Support
http_parser1.0.0.
0.2.3 #
- Added
listDirectoriesargument tocreateStaticHandler.
0.2.2 #
-
Bumped up minimum SDK to 1.7.0.
-
Added support for
shelf0.6.0.
0.2.1 #
- Removed
Uriformat checks now that the core libraries is more strict.
0.2.0 #
-
Removed deprecated
getHandler. -
Send correct mime type for default document.
0.1.4+6 #
- Updated development dependencies.
0.1.4+5 #
- Handle differences in resolution between
DateTimeand HTTP date format.
0.1.4+4 #
- Using latest
shelf. Cleaned up test code by using new features.
0.1.4 #
- Added named (optional)
defaultDocumentargument tocreateStaticHandler.
0.1.3 #
createStaticHandleraddedserveFilesOutsidePathoptional parameter.
0.1.2 #
- The preferred top-level method is now
createStaticHandler.getHandleris deprecated. - Set
content-typeheader if the mime type of the requested file can be determined from the file extension. - Respond with
304-Not modifiedagainstIF-MODIFIED-SINCErequest header. - Better error when provided a non-existent
fileSystemPath. - Added
example/example_server.dart.
0.1.1 #
- Correctly handle requests when not hosted at the root of a site.
- Send
last-modifiedheader. - Work around known issue with HTTP date formatting.