- Prepare for upcoming change to File.openRead()
- Apply control flow lints.
- Apply lints.
- Pin to Dart
>=2.0.0 <3.0.0
. - Use at least version
2.0.0-rc.0
ofangel_framework
.
- Fix a typo that prevented
Range
requests from working.
- Patch support for range+streaming in Caching server.
- URI-encode paths in directory listing. This produces correct URL's, always.
- Include support for the
Range
header. - Use MD5 for etags, instead of a weak ETag.
- Fixed invalid HTML for directory listings.
- Remove use of
sendFile
. - Add a
p.isWithin
check to ensure that paths do not escape thesource
directory. - Handle
HEAD
requests.
- Upgrade dependencies to Angel 2 + file@5.
- Replace
useStream
withuseBuffer
. - Remove
package:intl
, just useHttpDate
instead.
- Dart 2 fixes.
- Enable optionally writing responses to the buffer instead of streaming.
pushState
usesstrict
mode whenaccepts
is passed.
- Added an
accepts
option topushState
. - Added optional directory listings.
- ETags once again only encode the first 50 bytes of files. Resolves #27.
- Removed file transformers.
VirtualDirectory
is no longer anAngelPlugin
, and instead exposes ahandleRequest
middleware.- Added
pushState
toVirtualDirectory
.
- Fixed a bug where
onlyInProduction
was not properly adhered to. - Fixed another bug where
Accept-Encoding
was not properly adhered to. - Setting
maxAge
tonull
will now prevent aCachingVirtualDirectory
from sending anExpires
header. - Pre-built assets can now be mass-deleted with
VirtualDirectory.cleanFromDisk()
. Resolves #22.
Fixed a bug where Accept-Encoding
was not properly adhered to.
Fixes angel-dart/angel#44.
- MIME types will now default to
application/octet-stream
. - When
streamToIO
istrue
, the body will only be sent gzipped if the request explicitly allows it.
Fixed #40 and #41, which dealt with paths being improperly served when using a
publicPath
.