DelphiMVCFramework 3.1.0-lithium
·
1906 commits
to master
since this release
What's New in 3.1.0 lithium
- New! Added
TMVCActiveRecordframework (check sampleactiverecord_showcaseandactiverecord_crud) - New! Added
TMVCActiveRecordController(check sampleactiverecord_crud) - Automatic permissions handling for
TMVCActiveRecordController(check sampleactiverecord_crud) - EntityProcessor for
TMVCActiveRecordController(check sampleactiverecord_crud) Config[TMVCConfigKey.FallbackResource]is served only if request path is empty or/.- New! Now the JSON-RPC executor provides methods to handle HTTP headers for JSON-RPC requests and notifications.
TDataSetHolderis a new render that is able to render a dataset with a set of custom metadata (egcount,pageetc). Check issue #137404and500status code returns always atext/plaincontent-type- Refactored ISAPI sample
- Speed improvement! Removed enhanced visibility for action methods. Now only public and published methods can be used as actions.
TMVCController.Createisvirtual! Now on your base controllers can be even more powerful!- New! Added
MAX_REQUEST_SIZEfor limiting the size of the incoming HTTP requests. IDE Expert is updated too! - New! Added method
TMVCJsonDataObjectsSerializer.ListToJsonArray - New!
TMVCResponsefor handle generic (non error) response - New!
TMVCErrorResponsefor handle generic error response - New! Added class
TMVCActiveRecordListused in the manualTMVCActiveRecordprogramming - New! Added
gzipcompression support in addition todeflateinTCompressionMiddleware - FIX for issue #143
- FIX for issue #141
- Removed deprecated methods in
IRESTResponse - FIX misspelled header name in
IRESTResponse - New! Added
gzipanddeflatesupport inTRestClientwhen reading responses TCompressionMiddlewarehas been renamed inTMVCCompressionMiddleware- New!
TMVCCompressionMiddlewareis added by IDE Expert by default - Removed the old JSON serializer based on `System.JSON.pas', now the only available JSON serializer is based on JsonDataObjects parser (Thank you Andreas Hausladen).
- Changed! Custom Types Serializer must be registered by media-type only, without charset definition (e.g. just
application/jsonand notapplication/json;charset=utf-8) - Changed!
IMVCTypeSerializeris more powerful and simple to use! - Sending wrongly formatted JSON now returns a more correctly
400 Bad Requestand not500 Internal Server Erroras in the previous versions - New! Support for Spring4d nullable types (check
samples\renders_spring4d_nullables) - New!
TMVCJSONRPCPublisherallows to easily expose plain Delphi objects (and even datamodules) through a JSON-RPC 2.0 interface! - Breaking Change! The JSON RPC Client layer is now interface based.