angel_framework 1.1.0-alpha+9
angel_framework: ^1.1.0-alpha+9 copied to clipboard
A high-powered HTTP server with DI, routing and more.
1.1.0-alpha+9 #
- Fixed a bug that prevented
isProductionfrom 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 a400error response.- Added
extensiontoRequestContext. - Added
stricttoRequestContext#accepts. - Added a
toStringoverride for theProvidersclass. - Returned to
RegExpfor stripping stray slashes. - The request path is now only parsed once.
- Optimized the parsing of the
ACCEPT_ENCODINGheader.
1.1.0-alpha+8 #
- Added an
autoIdAndDateFieldsflag toMapService. Finally.
1.1.0-alpha+7 #
- Made
handlerCachepublic. - 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
Stopwatchinstances when streaming. - Removed
AngelPluginandAngelMiddleware, as well as the@proxyannotations fromAngelandRequestContext. - Officially deprecated
propertiesinAngel. - 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
onControllerstream fromAngel. - Controllers now longer use
call, which has now been renamed toconfigureServer.
1.1.0-alpha+4 #
- Made
injectionsinRequestContextprivate. - Renamed
propertiesinAngelBasetoconfiguration.
1.1.0-alpha+3 #
- Fixed a bug where
encoderswould cause a malformed response to be sent. - Fixed a bug where
encoderswould not always use the correct encoder.
1.1.0-alpha #
- Removed
AngelFatalError, and subsequentlyfatalErrorStream. - Removed all
@deprecatedmembers. - Removed
@Hooked,beforeProcessed, andafterProcessed.
1.0.10 #
- Closed #162, fixing a caching bug that would cause multiple requests to the same URL to fail.
- Resolved dependency injection of primitives (namely
String), no longer triggering errors aboutString has no constructor, etc.
1.0.9 #
- Closed #161.
addCreated/addUpdatedAtno longer crash whenserializeisfalse. - Added an explicit on
charcode,path, and others. Resolves #160. ResponseContextnow implementsStreamSink<List<int>, so data can be streamed directly to the underlying response.- You can now inject
encodersinto aResponseContext, which takes care ofAccept-Encoding. This will ultimately replacepackage:angel_compress. Resolves #159.
1.0.8 #
- Changed
req.queryto use a modifiable Map if the body has not parsed. Resolves #157. - Changed all constants to
camelCase, and deprecated theirCONSTANT_CASEcounterparts. Resolves #155. - Resolved #156 by adding a
graphqlprovider. - Added an
analysis-options.yamlenabling strong mode. Preparing for Dart 2.0. - Added a dependency on
package:meta, resolving #154, and added corresponding annotations to make extending Angel easier. - Resolved #158 by using proper
StreamControllerpatterns, to prevent memory leaks. - Route handler sequences are now cached in a Map, so repeat requests will be resolved faster.
- A message is no longer printed in production mode.
- Removed the inheritance on
Extensiblein many classes, and removed it fromangel_route. Now, onlyAngelandRequestContexthave@proxyannotations. - Deprecated passing
debugto Angel. _LockableBytesBuildernow usesUint8List.- Removed
reopenfromResponseContext.
1.0.7+2 #
Changed ResponseContext.serialize. The contentType is now set before serialization.
1.0.7+1 #
Moved the Model class into package:angel_model. No functionality was added or removed.
1.0.7 #
Added an accepts method to RequestContext. It's now a lot easier to tell which content types the
user accepts via the Accept header.