2018-08-19 15:33:25 +00:00
|
|
|
# 2.0.0-alpha
|
2018-08-17 23:05:32 +00:00
|
|
|
* Removed `random_string` dependency.
|
2018-08-19 15:33:25 +00:00
|
|
|
* Moved reflection to `package:angel_container`.
|
|
|
|
* Upgraded `package:file` to `5.0.0`.
|
|
|
|
* `ResponseContext.sendFile` now uses `package:file`.
|
|
|
|
* Abandon `ContentType` in favor of `MediaType`.
|
2018-08-19 15:42:40 +00:00
|
|
|
* Changed view engine to use `Map<String, dynamic>`.
|
2018-08-19 15:49:33 +00:00
|
|
|
* Remove dependency on `package:json_god` by default.
|
|
|
|
* Remove dependency on `package:dart2_constant`.
|
2018-08-20 02:31:08 +00:00
|
|
|
* Remove `contentType` argument in `ResponseContext.serialize`.
|
2018-08-20 02:37:48 +00:00
|
|
|
* Moved `lib/hooks.dart` into `package:angel_hooks`.
|
2018-08-20 02:55:54 +00:00
|
|
|
* Moved `TypedService` into `package:angel_typed_service`.
|
2018-08-20 03:18:19 +00:00
|
|
|
* Completely removed the `AngelBase` class.
|
2018-08-20 03:20:12 +00:00
|
|
|
* Removed all `@deprecated` symbols.
|
|
|
|
* `Service.toId` was renamed to `Service.parseId`; it also now uses its
|
|
|
|
single type argument to determine how to parse a value.
|
2018-08-20 03:28:27 +00:00
|
|
|
* In addition, this method was also made `static`.
|
|
|
|
* `RequestContext` and `ResponseContext` are now generic, and take a
|
|
|
|
single type argument pointing to the underlying request/response type,
|
2018-08-20 03:31:59 +00:00
|
|
|
respectively.
|
|
|
|
* `RequestContext.io` and `ResponseContext.io` are now permanently
|
2018-08-20 03:40:59 +00:00
|
|
|
gone.
|
|
|
|
* `HttpRequestContextImpl` and `HttpResponseContextImpl` were renamed to
|
|
|
|
`HttpRequestContext` and `HttpResponseContext`.
|