angel3_static 8.4.0
angel3_static: ^8.4.0 copied to clipboard
This library provides a virtual directory to serve static files for Angel3 framework.
Change Log #
8.4.0 #
- Require Dart >= 3.8
- Updated
lintsto 6.0.0 - Updated dependencies to the latest release
8.3.0 #
- Require Dart >= 3.6
- Updated
lintsto 5.0.0 - Updated dependencies to the latest release
8.2.0 #
- Require Dart >= 3.3
- Updated
lintsto 4.0.0
8.1.1 #
- Updated repository link
8.1.0 #
- Updated
lintsto 3.0.0 - Fixed linter warnings
8.0.0 #
- Require Dart >= 3.0
7.0.0 #
- Require Dart >= 2.17
- [Breaking] Updated
CacheAccessLevelto enhanced Enum. ChangedPUBLICtopublicandPRIVATEtoprivate. - [Breaking] Removed
accessLevelToStringas the functionality is provided by enhanced Enum
6.0.0 #
- Require Dart >= 2.16
5.0.0 #
- Skipped release
4.1.0 #
- Updated to use
belatuk_range_headerpackage - Upgraded from
pendantictolintslinter
4.0.2 #
- Updated README
4.0.1 #
- Fixed NNBD related issues
- Added logging to
VirtualDirectoryandCachingVirtualDirectoryto capture exception - Auto detect and change file separator when POSIX file system is used on Windows and vice versa
- Fixed
push_state_testunit test failure on Windows - 12/12 unit tests passed
4.0.0 #
- Migrated to support Dart >= 2.12 NNBD
3.0.0 #
- Migrated to work with Dart >= 2.12 Non NNBD
2.1.3+2 #
- Prepare for upcoming change to File.openRead()
2.1.3+1 #
- Apply control flow lints.
2.1.3 #
- Apply lints.
- Pin to Dart
>=2.0.0 <3.0.0. - Use at least version
2.0.0-rc.0ofangel_framework.
2.1.2+1 #
- Fix a typo that prevented
Rangerequests from working.
2.1.2 #
- Patch support for range+streaming in Caching server.
2.1.1 #
- URI-encode paths in directory listing. This produces correct URL's, always.
2.1.0 #
- Include support for the
Rangeheader. - Use MD5 for etags, instead of a weak ETag.
2.0.2 #
- Fixed invalid HTML for directory listings.
2.0.1 #
- Remove use of
sendFile. - Add a
p.isWithincheck to ensure that paths do not escape thesourcedirectory. - Handle
HEADrequests.
2.0.0 #
- Upgrade dependencies to Angel 2 + file@5.
- Replace
useStreamwithuseBuffer. - Remove
package:intl, just useHttpDateinstead.
1.3.0+1 #
- Dart 2 fixes.
- Enable optionally writing responses to the buffer instead of streaming.
1.3.0 #
pushStateusesstrictmode whenacceptsis passed.
1.3.0-alpha+2 #
- Added an
acceptsoption topushState. - Added optional directory listings.
1.3.0-alpha #
- Removed file transformers.
VirtualDirectoryis no longer anAngelPlugin, and instead exposes ahandleRequestmiddleware.- Added
pushStatetoVirtualDirectory.
1.2.5 #
- Fixed a bug where
onlyInProductionwas not properly adhered to. - Fixed another bug where
Accept-Encodingwas not properly adhered to. - Setting
maxAgetonullwill now prevent aCachingVirtualDirectoryfrom sending anExpiresheader. - Pre-built assets can now be mass-deleted with
VirtualDirectory.cleanFromDisk(). Resolves #22.
1.2.4+1 #
Fixed a bug where Accept-Encoding was not properly adhered to.
1.2.4 #
Fixes https://github.com/angel-dart/angel/issues/44.
- MIME types will now default to
application/octet-stream. - When
streamToIOistrue, the body will only be sent gzipped if the request explicitly allows it.
1.2.3 #
Fixed #40 and #41, which dealt with paths being improperly served when using a
publicPath.