bace6a2298
`as`-casting them to `Map<String, dynamic>`.
4.5 KiB
4.5 KiB
1.1.4+9
- Patch
ResponseContext.redirectTo
tofold
parameters, instead ofas
-casting them toMap<String, dynamic>
.
1.1.4+8
- Finalizers can now write to the response buffer or send headers,
because said getter now only returns an unmodifiable Map when using
streaming
. - Tracked down an annoying line that printed many, many
null
messages.
1.1.4+7
- Remove
cast
for Dart 1.x. RequestContext.injections
is no longer cached or read-only.ResponseContext
now hasrenderParams
.
1.1.4+6
- Almost 100% working with
2.0.0-dev.64.1
. In said version of Dart,dart:mirrors
is broken, and therefore breaks detection of metadata.
1.1.4+5
- Intermediary release while patching up Dart 2 bugs.
- Stricter Dart 2 use.
- Remove
AngelMetrics
for good.
1.1.4+4
- Fix a bug that caused a race condition in hooked services.
1.1.4+3
- Don't create a Stopwatch in production.
- Fix a bug where
handleAngelHttpException
created a race condition. ResponseContext.serialize
now returns abool
.
1.1.4+2
- Fix a bug that prevented proper rendering of views.
- Fixed a hidden bug that prevents error handling when a
stack trace is
null
. - Fixed a bug that prevented proper handling of
content-encoding
.
1.1.4+1
- Ensure correct error handling when
useZone
isfalse
.
1.1.4
- Remove all usages of
async
/await
in the core library. AngelConfigurer
now acceptsFutureOr
.AngelHttp
now has auseZone
flag to disable custom zones.
1.1.3
AngelHttp
now handles requests in aZone
.- Use
package:dart2_constant
.
1.1.2
MapService
will storecreated_at
andupdated_at
asString
.
1.1.1
ResponseContext
no longer automatically closes ifserializer
returns an empty string.- Added
autoSnakeCaseNames
toMapService
. - Deprecated
Angel.createZoneForRequest
. - Deprecated all
Angel
methods that directly touch anHttpServer
orHttpRequest
. - Created the
AngelHttp
class. - Removed explicit dependence on
dart:io
forAngel
,RequestContext
,ResponseContext
. - Created
lib/http.dart
, which exports HTTP-specific functionality. AnonymousService
now takesFutureOr
.Service.toId
no longer only takes aString
, and is generically-typed.
1.1.0+3
- Modified
ResponseContext#isOpen
to also returnfalse
if streaming is being used.
1.1.0+2
- Modified
handleAngelHttpException
to only run rescue code if the response is still open. Prevents application crashes.
1.1.0+1
- Modified
_matchesId
inMapService
to support custom ID fields.
1.1.0
- The default
errorHandler
now only sends HTML if the user explicitly accepts it.
1.1.0-alpha+9
- Fixed a bug that prevented
isProduction
from ever returningtrue
.- This enabled caching, which greatly improved performance.
- Requests no longer have independent zones, which greatly improved performance.
FormatException
, when caught, is automatically transformed in a400
error response.- Added
extension
toRequestContext
. - Added
strict
toRequestContext#accepts
. - Added a
toString
override for theProviders
class. - Returned to
RegExp
for stripping stray slashes. - The request path is now only parsed once.
- Optimized the parsing of the
ACCEPT_ENCODING
header.
1.1.0-alpha+8
- Added an
autoIdAndDateFields
flag toMapService
. Finally.
1.1.0-alpha+7
- Made
handlerCache
public. - Added
AngelMetrics
.
1.1.0-alpha+6
- Added
@Parameter()
annotations, with support for pattern matching.
1.1.0-alpha+5
- Closed #166, killing any hanging
Stopwatch
instances when streaming. - Removed
AngelPlugin
andAngelMiddleware
, as well as the@proxy
annotations fromAngel
andRequestContext
. - Officially deprecated
properties
inAngel
. - Fixed a bug where cached routes would not heed the request method. #173
- Reworked error handling logic; now, errors will not automatically default to sending JSON.
- Removed the
onController
stream fromAngel
. - Controllers now longer use
call
, which has now been renamed toconfigureServer
.
1.1.0-alpha+4
- Made
injections
inRequestContext
private. - Renamed
properties
inAngelBase
toconfiguration
.
1.1.0-alpha+3
- Fixed a bug where
encoders
would cause a malformed response to be sent. - Fixed a bug where
encoders
would not always use the correct encoder.
1.1.0-alpha
- Removed
AngelFatalError
, and subsequentlyfatalErrorStream
. - Removed all
@deprecated
members. - Removed
@Hooked
,beforeProcessed
, andafterProcessed
.