platform/packages/static/CHANGELOG.md

117 lines
2.7 KiB
Markdown
Raw Normal View History

2021-07-04 03:22:19 +00:00
# Change Log
2021-07-10 01:48:47 +00:00
## 4.0.2
* Updated README
2021-07-04 03:22:19 +00:00
## 4.0.1
* Fixed NNBD related issues
2021-07-04 05:59:50 +00:00
* Added logging to `VirtualDirectory` and `CachingVirtualDirectory` to capture exception
2021-07-04 06:44:30 +00:00
* Auto detect and change file separator when POSIX file system is used on Windows and vice versa
2021-07-04 05:59:50 +00:00
* Fixed `push_state_test` unit test failure on Windows
* 12/12 unit tests passed
2021-07-04 03:22:19 +00:00
## 4.0.0
2021-05-02 04:12:43 +00:00
* Migrated to support Dart SDK 2.12.x NNBD
2021-07-04 03:22:19 +00:00
## 3.0.0
2021-05-02 04:12:43 +00:00
* Migrated to work with Dart SDK 2.12.x Non NNBD
2021-07-04 03:22:19 +00:00
## 2.1.3+2
2019-07-09 00:24:09 +00:00
* Prepare for upcoming change to File.openRead()
2021-07-04 03:22:19 +00:00
## 2.1.3+1
2019-06-06 16:19:09 +00:00
* Apply control flow lints.
2021-07-04 03:22:19 +00:00
## 2.1.3
2019-05-02 23:29:09 +00:00
* Apply lints.
* Pin to Dart `>=2.0.0 <3.0.0`.
* Use at least version `2.0.0-rc.0` of `angel_framework`.
2021-07-04 03:22:19 +00:00
## 2.1.2+1
2019-01-28 00:30:40 +00:00
* Fix a typo that prevented `Range` requests from working.
2021-07-04 03:22:19 +00:00
## 2.1.2
2019-01-27 22:14:54 +00:00
* Patch support for range+streaming in Caching server.
2021-07-04 03:22:19 +00:00
## 2.1.1
2018-11-14 05:58:35 +00:00
* URI-encode paths in directory listing. This produces correct URL's, always.
2021-07-04 03:22:19 +00:00
## 2.1.0
2018-11-14 05:43:47 +00:00
* Include support for the `Range` header.
* Use MD5 for etags, instead of a weak ETag.
2021-07-04 03:22:19 +00:00
## 2.0.2
2018-11-13 23:37:31 +00:00
* Fixed invalid HTML for directory listings.
2021-07-04 03:22:19 +00:00
## 2.0.1
2018-11-13 21:25:17 +00:00
* Remove use of `sendFile`.
* Add a `p.isWithin` check to ensure that paths do not escape the `source` directory.
* Handle `HEAD` requests.
2021-07-04 03:22:19 +00:00
## 2.0.0
2018-08-28 14:58:28 +00:00
* Upgrade dependencies to Angel 2 + file@5.
* Replace `useStream` with `useBuffer`.
2018-10-21 00:24:44 +00:00
* Remove `package:intl`, just use `HttpDate` instead.
2018-08-28 14:58:28 +00:00
2021-07-04 03:22:19 +00:00
## 1.3.0+1
* Dart 2 fixes.
* Enable optionally writing responses to the buffer instead of streaming.
2021-07-04 03:22:19 +00:00
## 1.3.0
2017-11-28 21:09:16 +00:00
* `pushState` uses `strict` mode when `accepts` is passed.
2021-07-04 03:22:19 +00:00
## 1.3.0-alpha+2
2017-11-18 06:12:59 +00:00
* Added an `accepts` option to `pushState`.
* Added optional directory listings.
2021-07-04 03:22:19 +00:00
## 1.3.0-alpha+1
2017-11-18 05:43:20 +00:00
* ETags once again only encode the first 50 bytes of files. Resolves [#27](https://github.com/angel-dart/static/issues/27).
2021-07-04 03:22:19 +00:00
## 1.3.0-alpha
2017-09-23 21:57:54 +00:00
* Removed file transformers.
* `VirtualDirectory` is no longer an `AngelPlugin`, and instead exposes a `handleRequest` middleware.
* Added `pushState` to `VirtualDirectory`.
2021-07-04 03:22:19 +00:00
## 1.2.5
2017-08-16 00:01:31 +00:00
* Fixed a bug where `onlyInProduction` was not properly adhered to.
* Fixed another bug where `Accept-Encoding` was not properly adhered to.
* Setting `maxAge` to `null` will now prevent a `CachingVirtualDirectory` from sending an `Expires` header.
* Pre-built assets can now be mass-deleted with `VirtualDirectory.cleanFromDisk()`.
Resolves [#22](https://github.com/angel-dart/static/issues/22).
2021-07-04 03:22:19 +00:00
## 1.2.4+1
2017-08-15 23:36:11 +00:00
Fixed a bug where `Accept-Encoding` was not properly adhered to.
2021-07-04 03:22:19 +00:00
## 1.2.4
Fixes <https://github.com/angel-dart/angel/issues/44>.
2017-07-10 22:31:17 +00:00
* MIME types will now default to `application/octet-stream`.
* When `streamToIO` is `true`, the body will only be sent gzipped if the request explicitly allows it.
2021-07-04 03:22:19 +00:00
## 1.2.3
2017-06-20 19:57:03 +00:00
Fixed #40 and #41, which dealt with paths being improperly served when using a
2019-07-09 00:24:09 +00:00
`publicPath`.