BIZ

TMS XData

Delphi framework for multi-tier REST/JSON HTTP/HTTPS application server development and ORM remoting.



Release

v5.3.0.1 (October 12, 2021)

Version history

Version History

Display:


v5.3

  • New : Web Core application demo showing master-detail usage.
  • New : Web Core application demo showing blob/memo usage.
  • New : Delphi 11 support.
  • Fixed : OnManagerCreate event raising errors if Delphi memory manager is configured to completely clean memory upon destruction (FastMM in debug mode, for example).

v5.2.1

  • Fixed : Query Builder wrongly creating enumeration literals around quotes ('tsMale').
  • Fixed : Query Builder not finding properties from inherited classes when using From method passing class types.

v5.2

  • New : XData Query Builder. You can now build XData queries using fluent interface using the new XData Query Builder, and then get the final query string to be used in your HTTP requests or queries using TXDataClient.
  • New : Service operations can now receive DTOs (Delphi objects) from the query string of the request URL.
  • New : Mechanism to accept XData query options in service operations. You can now easily receive and process XData query syntax like $filter, $orderby, $top and $skip in service operations, even for DTOs, and create Aurelius criteria from it.
  • Improved : Web Core stub for TXDataClientResponse was missing some properties.
  • Improved : Nullable types are now supported in plain Delphi objects (in addition to existing support in Aurelius entities). When using plain Delphi objects as DTOs, like when receiving or returning them in service operations, they are now properly serialized/deserialized as JSON.
  • Improved : Internal TJsonWriter class is now 50% faster.
  • Fixed : XData enum values were ignoring JsonEnumValues attribute in Swagger Schema and $filter queries.
  • Fixed : Swagger support was being enabled automatically in Linux projects. This was causing an "AmbiguousActionError" exception when Swagger was also enabled in TXDataServer component.
  • Fixed : SerializeInstanceType being ignored in entity property endpoints (e.g., Customer/City).
  • Fixed : Missing properties in XData entities created from Aurelius classes with AbstractEntity attribute.
  • Fixed : Error "Could not convert variant array of type" when retrieving entities which Id is an association to another entity.
  • Fixed : "DevTools failed to load source map" error message now removed from web browser console log when executing TMS XData Music application.

v5.1

  • Improved : All compilation warnings removed when using XData from TMS Web Core applications.
  • Fixed : Compilation error in Multitenancy demo.

v5.0

  • New : async/await methods in XData web client makes it even easier to build TMS Web Core applications using XData as backend - the asynchronous requests to server can be coded as if they were synchronous.
  • New : Swagger demo projects now include a client-side application at xdata\demos\Swagger\Client that shows how Swagger can be helpful at client side.
  • New : RoutingPrecedence property in XData server allows you to override automatic CRUD endpoints behavior using service operations, by using the same routing URL.
  • New : OnManagerCreate event which is fired whenever a new TObjectManager instance is created by XData.
  • New : New multitenancy demo shows how to create multitenant servers using XData in an easy and straightforward way with the new TMultiTenantConnectionPool implementation.
  • New : Attribute-based Authorization allows you to secure your REST API in a declarative way, adding attributes to methods and entities you want to be protected by specific permissions. It's as simple as adding authorization attributes to methods and entities.
  • Fixed : XML documentation tags for SwaggerUI were being ignored for service contracts with an empty route (the "default" endpoint).
  • Fixed : Typo in EInvalidParamBinding exception message: "Invalid binding in param".
  • Fixed : TXDataWebDataset was not bringing ancestor persistent fields at design-time for entity classes in a inheritance hierarchy.
  • Fixed : SwaggerUI was sometimes displaying empty tags. This happened with Automatic CRUD Endpoints, when no endpoint were set for an existing entity. Still, the tag for the entity appeared.
  • Fixed : List serialization failed when list to be serialized was nil in some situations.
  • Fixed : Error "Cannot deserialize value from Url format" when invoking service operations passing double values in URL - for example: ?a=1.6).
  • Fixed : Deserializatin of a JSON empty object would result in nil object, instead of an empty (instantiated) object with default property values.
  • Fixed : Batch operations not working in an optimized way when using connection interfaces coming from XData connection pool.

v4.17

  • New : SwaggerExclude attribute allows you to exclude specific endpoints from the final Swagger API documentation.
  • New : Swagger demo shows how to create Swagger documentation, provide SwaggerUI interface to your end user, and use XML documentation to enrich your documentation content.
  • New : Full support to use XML documentation in Swagger documents. You can now describe your REST API documentation using XML documentation syntax, and even using the same content for both. Write your documentation once, use it in several places - for your Delphi developer, for your API consumer.
  • Improved : The endpoints for Swagger-UI ("/swaggerui") and Swagger.json ("/openapi/swagger.json") don't appear anymore in the Swagger document itself. This avoids pollution of the Swagger document, focusing only on your own API endpoints.
  • Improved : Swagger documents now take entity set permissions into account, omitting Aurelius CRUD endpoints which are not available due to the entity set permissions configuration.
  • Improved : Service contract routing now allows replacing the root URL. Requests like "GET /" or "POST /" can be now be configured to be routed to your own service implementation.
  • Improved : Parameters and function results of type TDate, in service contracts, will now show in Swagger document as "date" instead of "date-time".
  • Improved : Endpoints are now sorted alphabetically in Swagger documents, making it much easier to be visualized in Swagger-UI for example.

v4.16

  • New : FireDAC-SQL demo shows how to create a REST resource (GET, POST, PUT, DELETE) using FireDAC to access the database directly via SQL, without using TMS Aurelius.
  • Improved : XData Web Request (THttpRequest) now provides Timeout property.
  • Improved : EXDataClientException now contains property Info holding the JSON response of the error.
  • Improved : Compatibility with TMS Web Core 1.5.
  • Fixed : When loading objects using TXDataClient, proxied objects were not being loaded if they were located at a depth level higher than the MaxEagerDepth configuration (default to 3).
  • Fixed : SwaggerUI was not working in SQLiteConsoleServer demo.
  • Fixed : Service operations returning objects and also with "out" params were returning wrong JSON.

v4.15

  • Improved : XData trial binary compatibility with TMS Web Core 1.4.2 trial.
  • Fixed : Wrong serialization of objects that indirectly inherited from List. For example, TList2 = class(TList1), TList1 = class(TList). Serialization of TList2 was wrong.

v4.14

  • Improved : Web Core client components updated to support the newest TMS Web Core 1.4.

v4.13

  • New : XData server now returns a xdata-version header in each request. This will make it easier to tell the available features of the XData server being connected to. Current version returned is 2.
  • New : TXDataClient.ForceBlobLoading property for backward compatibility with old XData servers that could not receive eager blobs as @xdata.proxy.
  • New : Flexible URL routing mechanism using Route attribute, allows multiple segments in path routing, and flexible parameter binding. For a single method, users can route it to an URL like 'orders/approved/{year}/{month}'. The service operation will be routed from the invoked URL, and the values passed in URL will be automatically bound to method parameters.
  • New : Delphi 10.4 Sydney support. Full compatibility with the recently released new Delphi version.
  • Improved : Significant performance increase when sending entities to XData server that contain blobs. For example, consider a Customer with Photo (blob) field you retrieved using TXDataClient. In previous versions, calling Put to update the customer would load the Photo content from the server, even if it was not modified. Now it's optimized and it will send to the server just a proxy information. The server is also now smart enough to identify those proxies and proceed properly, even when the blob is not lazy.
  • Improved : It's now possible to send blobs in JSON using format "Photo@xdata.proxy": "Customers(1)/Photo", even for blobs not flagged as lazy. In previous versions, this was only possible for lazy blobs. Sending such values will simply not modify the blob value in the server.
  • Improved : Enumeration values can be prefixed by the enum type in $filter expressions. To avoid ambiguous naming, enumeration values in filter expressions can now be prefixed by the enum type. For example: "$filter=Pending eq TStatus.Pending". TStatus.Pending is an enumeration value, Pending is a property value.
  • Improved : Blob serialization was not flagging blob as loaded, causing a lazy blob to be loaded multiple times. Suppose there is a property TCustomer.Photo of type TBlob. Such blob is lazy and not loaded. During JSON serialization, the content of the blob is loaded, but property TCustomer.Photo was not being marked as load. Thus, in a second serialization, or when the app tried to read property content, the blob would load again.
  • Improved : Ambiguity between enumeration and member name solved in $filter expressions. Suppose a filter expression like "$filter=Pending eq 2". There might be a situation where Pending would be both an enumeration name and an entity property. Now, if that happens, Pending will be considered as an entity property. Otherwise, as an enumeration.
  • Fixed : XData Web App Generator creating wrong persistent fields when XData server had GUID field types.
  • Fixed : Value endpoints (/$value) were not returning correct string values when the content had double quotes.
  • Fixed : TXDataClient 404 error not raising exception when server methods did not return objects (procedures, not functions).
  • Fixed : Serialization of TArray and TBytes was not working correctly when the application/server was compiled using runtime packages.
  • Fixed : Memory leak when building a TXDataAureliusModel object using a TXDataModelBuilder raises an error.
  • Fixed : Error "Requested action has ambiguous implementation" in SwaggeUI endpoint when starting/stopping XData server multiple times.
  • Fixed : Delphi IDE splash screen showing multiple XData icons.

v4.12

  • Improved : UriPathSegment now can be applied to entities (for entity set naming).
  • Fixed : XData Web Application generator updated to work with latest Web Core 1.4
  • Fixed : XData Music Demo updated to work with latest Web Core 1.4.
  • Fixed : TXDataWebClient not raising OnError events when an error happened during RawInvoke call.

v4.11

  • New : Enumerated literals now supported in $filter query string.
  • Fixed : Wrong TXDataWebDataset date/time conversion from JSON (regression). It was causing "Invalid date time" errors and also was displaying wrong date time fields, by incorrectly adding time zone offset to the date.otepad
  • Fixed : TXDataClient.IgnoreUnknownProperties had no effect when using service operations.

v4.10

  • New : Support for TStream param mixed with other params. You can now have a service operation that receives a TStream parameter to also receive more parameters, as long as they are not defined to be in the request body (using FromBody parameter). This way you can use the TStream to process the raw body of the request, but still receive other parameters through the URL (either using FromQuery or FromPath attributes).
  • New : OnEntityDeleted, OnEntityInserted, OnEntityModified are new server-side events that fire after automatic CRUD endpoint operations are performed, in addition to existing OnEntityDeleting, OnEntityModifying and OnEntityInserting events, which are performed before such operations.
  • New : JsonConverter attribute allows for custom JSON serialization/deserialization of specific PODO and entity properties. You can for example serialize an integer as an string, a date/time as a string in a specific format, etc.
  • New : Demo project showing how to use multiple models (multi-model design) in XData.
  • New : Demo project showing how to use XData as an Apache module.
  • New : BasicAuth demo showing how to use Basic Authentication in both server and client sides.
  • Improved : Swagger doesn't include definition names for lists anymore (interface gets less cluttered).
  • Fixed : Swagger specification was wrong for entity sets (in automatic CRUD endpoint). It was indicating an array of entities, but the correct format was an object with "value" property and then array of entities, according to the specification.
  • Fixed : Sending an object with a blob property set to null was not modifying the blob in the database.
  • Fixed : Generated XData Web Application was being created with title "TMS XData Music Web Application". The word "Music" was removed from the title.

v4.9.1

  • Fixed : TMS XData Web Application wizard was generating code that didn't compile.
  • Fixed : TMS XData Music Demo failed to compile in TMS Web Core 1.3.

v4.9

  • New : TXDataOperationContext.CreateManager and AddManager methods. You can now add more Aurelius managers (TObjectManager) to the XData context. This makes it easier to create other Aurelius managers in addition to the default one, and at the same time return entities from that new manager, without worrying about evicting those objects to destroy them.
  • New : TXDataClient.IgnoreUnknownPropeties property. You can now set this property to true to force the client to ignore properties sent by the server that the client don't know. Until now, the client would raise an exception saying the property is unknown.
  • New : Support for Android 64-bit platform (Delphi 10.3.3 Rio).
  • Improved : TXDataWebDataset compatibility with TMS Web Core 1.3. There is a breaking change between TMS Web Core 1.3 and 1.2 regarding dataset, which means this XData version won't work with previous TMS Web Core versions (1.2 and lower).
  • Improved : SwaggerUI was displaying parameters as required even when they had default values in service operations.
  • Improved : $expand now appears as an optional parameter in SwaggerUI for endpoints that return Aurelius entities.
  • Fixed : TXDataClient and TXDataWebClient were building request URLs with double slashes (//) in some requests. This didn't cause any errors but was wrong anyway.

v4.8

  • Improved : TXDataWebClient was raising some exceptions as Exception class. It's now using EXDataClientException.
  • Fixed : SQLiteConsoleServer demo (the "Music server" used in several demos, like the TMS XData/Web Core Music Web Application) was not correctly importing Tracks into Albums.

v4.7

  • New : $expand query option now also applies for blobs. In previous versions, clients could request associations to be inline in JSON response by using the $expand query option in format "$expand=Customer". Now you can also ask for blob properties to be inline (as base64 string) in the JSON response, by providing the name(s) of blob properties in the $expand query option. For example, "$expand=Photo".
  • Improved : TXDataWebClient.Post now updates the key (id) properties of the object with the generated value returned by the server. When calling TXDataWebClient.Post you pass a Javascript object instance to the method, which will be serialized as JSON and sent to the server to be inserted. If the server generates a new id for the object, then the Javascript object instance passed to Post will have its id property automatically updated with the id generated by the server. This has a good side effect on using TXDataWebDataset as well: when automatically applying updates using TXDataWebDataset, the id fields will automatically be filled with the server-side generated value.
  • Improved : Polymorphism when deserializing JSON objects allows deserializing both PODO and XData/Aurelius entities using the same method. For example, suppose a service operation (server-side method) that receives a parameter of type "TObject". Clients can now send either a PODO object or a Aurelius entity object to that method, and either will be serialized correctly. In previous versions it would consider everything as PODO and wrongly serialize the Aurelius entity.
  • Fixed : Multiple calls to TXDataWebDataset.ApplyUpdates could cause some errors. That would happen if in the second call to ApplyUpdates, the modifications of the first call were not yet sent to the server, causing the same delta to be processed twice.

v4.6

  • New : HttpPatch attribute to specify service operations responding to PATCH HTTP method.
  • Fixed : Swagger not including all service operation actions when the actions endpoints were the same.

v4.5

  • New : SwaggerOptions and SwaggerUIOptions properties allow to easily enable and configure Swagger support for the API.
  • New : Support for SwaggerUI provides a built-in web-based environment to test the API from the browser.
  • New : FromQuery, FromPath and FromBody attributes allow higher control in parameter binding and URL routing for service operations.
  • New : EnableEntityKeyAsSegment property allows single-entity URL endpoints to follow the format "entity/id" - for example, customer/10, in addition to existing default format customer(10).
  • Improved : String and enumeration literals now can be sent in URL without being enclosed by single quotes (e.g., CustomerByName?Name=John instead of CustomerByName?Name='John').
  • Fixed : TXDataWebClient invoking service operations with default parameters was requiring all parameters to be passed, including the ones with default values.

v4.4

  • Fixed : Index out of range error in TMS XData Web Application Wizard when XData server has no entities.
  • Fixed : Generated XData Web Application not supporting filtering by subproperties (e.g., Invoice/Customer/Name eq 'John').

v4.3.0.2

  • New : XData Server wizards generate XData server applications using the new design-time components instead of pure code. The generated application is now way easier to maintain and evolve, given it uses the RAD approach with design-time components. There is now wizard for server as VCL application. Next versions will include console application, Apache module or Windows service.
  • New : TXDataWebDataset.EnumAsInteger property controls how enumerated type properties will be represented in the dataset. This is a breaking change.
  • Improved : TXDataWebClient.OnLoad method now provides the newly created entity in the Args.Result property, when using Post method.
  • Improved : All demos refactored, now using the new non-visual components: TXDataServer, TAureliusConnection, TXDataConnectionPool and TSparkleHttpSysDispatcher, making them easier to understand for beginners and easier to change them.
  • Fixed : XData Service wizard did not appear if there was no open project in IDE.
  • Fixed : XData Music Demo was issuing JSON Web Tokens with wrong expiration date/time.
  • Fixed : Workaround a bug in Delphi Rio causing serialization of TJSONNumber values to be always serialized as null (TJSONNumber.Null always returning true).
  • Fixed : Type mismatch when passing an empty array to a service operation that receives the dynamic array as var/out parameter.
  • Fixed : TXDataWebDataset now creates TFloatField field for XData properties of type Currency, instead of TCurrencyField (unsupported in TMS Web Core clients).
  • Fixed : TXDataWebClient.OnRequest event not being called when executing service operations with RawInvoke method.
  • Fixed : Inoffensive memory leak in TSparkleHttpSysDispatcher when the dispatcher was never activated.

v4.2

  • Improved : TXDataWebConnection now "disconnects" (cleans model object, requiring a new connection) when URL is modified.
  • Fixed : XData Web App Application Wizard was incorrectly creating TExtendedField fields for Int64 types in server.
  • Fixed : Workaround a bug in Delphi Rio causing JWT tokens to be always rejected due to expiration (TJSONNumber.Null always returning true).
  • Fixed : Typo in generated XData service code: "form the client" should be "from the client".
  • Fixed : TXDataWebClient.RawInvoke was not allowing receiving a full JSON object as a single parameter.

v4.1

  • New : XData Web Application Wizard now can optionally generate GUI for performing CRUD operations on entities. You can now generate a web application that allows users to insert, modify and/or delete entities.
  • New : Support for Delphi 10.3 Rio.
  • Fixed : XData Service Wizard was creating new service units in the first project of a project group. Now it's being created in the currently active project.
  • Fixed : TTime fields not correclty supported in TXDataWebDataset.

v4.0

  • New : XData Web App Generator wizard. This wizard creates a full TMS Web Core client app based on a responsive Bootstrap template. The generated application should be based on a XData server and will provide user-interface for listing XData server entities, including searching, ordering and pagination.
  • New : XData Service Operation wizard. Makes it very easy to create new service operations (server-side business logic).
  • New : Design-time support with new set of components for XData: TXDataServer and TXDataConnectionPool components.
  • Improved : TXDataWebDataset.Load now automatically connects the TXDataWebConnection if it's still not connected.
  • Improved : TXDataServerModule.SetEntitySetPermissions allows providing '*' as the entity set name which will be considered the default permissions for all entity sets.
  • Improved : TXDataClientResponse.ResultAsArray and ResultAsObject for quick access to Result as Json array or object.
  • Fixed : TXDataWebDataset not setting correct datetime values on entity properties.
  • Fixed : TXDataWebClient.RawInvoke was incorrectly requiring parameters of type "out".

v3.2

  • New : TXDataWebDataset properties QueryTop, QuerySkip, ServerRecordCount, ServerRecordCountMode. This makes it easier to retrieve paged results from server (QueryTop, QuerySkip) and retrieve the total number of records in server (ServerRecordCount, ServerRecordCountMode), regardless of the page number and size
  • New : TJwtMiddleware.AllowExpiredToken and ForbidAnonymousAccess properties. This makes it easier to reject requests with expired tokens or requests without tokens (anonymous) just by setting those properties. This is a breaking change as the middleware now rejects expired tokens by default. Please refer to TMS Sparkle documentation for more info.
  • New : TCorsMiddleware middleware makes it straightforward to add CORS support to any Sparkle module. Please refer to TMS Sparkle documentation for more info.
  • Improved : XData Music Demo now includes options for ordering, paging and filtering (search) of listed records.
  • Improved : URIPathSegment attribute with empty string is now possible in a service contract, allowing creating service operations at the "root" of the server.
  • Improved : "New TMS XData Server" Wizard now adds commented code to include CORS and Compress middleware. Uncomment the generated code to easily enable it.
  • Fixed : TXDataWebDataset now correctly creates TStringField for GUID properties (TGuidField is not supported in TMS Web Core).
  • Fixed : Removed memory leaks in desktop client JWT Auth demo.
  • Fixed : "New TMS XData Server" wizard updated with option to use new TMS Aurelius native database drivers.

v3.1.1

  • New : TXDataWebConnection.OnResponse event intercepts any successful HTTP request made by XData web client framework
  • Improved : XData Music demo improvements
  • Fixed : Servers with Int64 type in model were not supported when used from TMS Web client

v3.1

  • New : XData Music Web Application demo. A full web application example using TMS XData server using TMS Web Core as web front-end. Full source code is provide, and the online version of demo is available at https://app.devgems.com/xdata/music/app.
  • New : TXDataWebClient.ReferenceSolvingMode allows automatic solving of $ref occurrences in JSON response, which is now the default behavior.
  • New : Demos XData Web-Client Framework, showing use of TXDataWebClient, TXDataWebDataset and integration with FNC Grid.

v3.0

  • New : TXDataWebDataset.CurrentData provides the underlying JSON object of the current web dataset record.
  • New : TXDataWebConnection.Open method allows providing callbacks for connection successful and connection error.
  • New : TXDataWebConnection.OnRequest and TXDataWebClient.OnRequest events allow intercepting and modifying outgoing requests (for example, to add authentication headers).
  • New : TXDataWebConnection.OnError event which is fired whenever an error happens while performing requests to XData server from TMS Web Core apps.
  • New : TXDataWebConnection.DesignData allows adding custom headers at design-time (for example authorization) to properly connect to XData server.
  • New : TXDataWebClient.RawInvoke allows high-level invoking of service operations from TMS Web Core applications.
  • New : TXDataWebClient request methods (List, Get, Post, RawInvoke, etc.) now have overloaded methods that accept callback functions.
  • New : Full-featured TMS XData Web-Client Framework provides RAD, design-time and high-level components for building web applications using TMS Web Core and TMS XData. Buildling a REST API-based web application has never been as easy, including dataset-like usage that feels home to Delphi developers.
  • Improved : TXDataWebDataset.SetJsonData now accepts non-array values (to edit a single object, for example).
  • Improved : TXDataWebClient.Get overloaded method allows passing an additional query string (to use $expand option for example).
  • Improved : TXDataServerModule.Create overload requiring just BaseUrl - no database connection pool is needed. Useful for XData servers that do not connect to a database or have specific database usage.
  • Improved : TMS Web Core-only TXDataConnection and TXDataDataset components has been renamed to TXDataWebConnection and TXDataWebDataset. This is a breaking change.
  • Improved : Smooth design-time experience with TXDataWebDataset. Manually loading field defs are not necessary anymore - just connect dataset to a web connection, provide the URL and fields will be loaded automatically at both design-time or runtime. Design-time menu option "Load Field Defs" has been removed.
  • Improved : Editing TXDataWebDataset.EntitySetName at design-time in object inspector now provides a combobox with the list of available names retrieved from the server.
  • Improved : Dataset fields now supported in TXDataWebDataset. They will contain data (list of objects) for associated lists (many-valued associations).
  • Fixed : Memory leaks when using mobile/Linux compilers (when using automatic reference counting)
  • Fixed : Exceptions that were not inherited from EXDataHttpException were wrongly reporting an error code (regression)

v2.9

  • New : OnModuleException event allows for a more flexible custom error-handling processing of exception raised during XData processing request.
  • Fixed : deserialization of array of objects was keeping the same instance for all objects in the array.
  • Fixed : OnEntityModifying event was being fired before merge operation thus not providing correct information about the object in manager and previous state. Breaking change that can be disabled by using _FixEntityModifyingOnUpsert := False

v2.8

  • New : TXDataClient.Count method. Allows retrieving the number of entities in a specific resource endpoint, optionally using a query filter
  • New : TQueryParser.AddMethod allows registering custom SQL Functions to be called from XData query API.
  • New : TMS RADical WEB enabled! The TMS framework for front-end Web development, TMS RADical WEB has been released and TMS XData is immediately a first-class citizen of this new ecosystem.
  • New : MultiTentant Demo included in distribution shows how to use XData with multi-tentant applications (multiple databases being accessed by the same server).
  • New : /$model built-in URL returns metadata for the whole XData API.
  • Improved : A connection was being retrieved from the pool even when the context manager was not being used by a service operation.
  • Fixed : Service operations invoked via GET method using enumerated type parameters are now supported.

v2.7

  • New : TXDataRequestHandler.ManagedObjects property.
  • New : Support for default parameter values in service operations from non-Delphi clients (default parameters were already supported in Delphi clients).
  • New : Several new types supported in service operations. Generic arrays, Generics lists of primitive types, Sets, TStrings type.
  • New : OpenAPI/Swagger support.
  • New : JsonNamingStrategy attribute.
  • New : JsonInclude attribute in PODO classes.
  • New : JsonEnumValues attribute.
  • Fixed : Error when using params of type TDate (TDateTime was not affected) in service operations (Regression).
  • Fixed : Design-time wizard icon not showing correctly in Delphi 10.2 Tokyo.

v2.6

  • New : XDataProperty and XDataExcludeProperty attributes.
  • New : TXDataSeverModule.UnknownMemberHandling property.
  • New : Support for passing parameters by reference in service operations.
  • New : JsonProperty and JsonIgnore attributes.
  • New : Filter functions startswith, endswith and contains.
  • New : Filter function concat.
  • Fixed : Using TStream as a parameter for service operations was causing "JSON converter not found" error.

v2.5

  • New : Linux support using Delphi 10.2 Tokyo and later.
  • Fixed : Location header of POST responses now uses host of the client request, not the host configured in XData module.

v2.4

  • New : Delphi 10.2 Tokyo Support
  • Fixed : Server-side stack overflow when trying to load a proxy property sent by the client, if the parent entity of that proxy was merged into the current Object Manager

v2.3

  • New : Demo project showing authentication using JWT (JSON Web Token)
  • Fixed : XData Server Wizard generating corrupted source code when TMS Component Pack was installed
  • Fixed : Sporadic server error loading proxied lists sent by the client
  • Fixed : JWT encoding not working on XE6

v2.2

  • New : Url convention now allows $count path segment to retrieve number of entities in a resource.
  • Fixed : TXDataClient.Service failing for Android clients when compiling in Release config
  • Fixed : RefCount property was wrongly being serialized in PODO objects from mobile clients

v2.1

  • New : TXDataServerModule.SerializeInstanceType property controls how xdata type metadata will appear in JSON response
  • New : TXDataServerModule.SerializeInstanceRef property controls how instances of same object will be represented in JSON response
  • New : Support for entities that have associations in ID (primary key containing foreign keys)
  • New : Support for Variant-type parameters in service operations when using GET HTTP method.
  • New : Support for Nullable values in PODO classes
  • New : Breaking change: TXDataServerModule.PutMode property controls how PUT will behave at server-side
  • New : $expand query option allows clients to have full control on how associated entities appear in JSON response.
  • Improved : Errors on query syntax now return http code 400 instead of 500
  • Fixed : JSON Proxies (@xdata.proxy) sent by the client were not being solved when reading such properties at server-side
  • Fixed : Association references (@xdata.ref) were not being solved when receiving entities in service operations parameters.

v2.0

  • New : TXDataServerModule.SetEntitySetPermissions allows configuring what operations are available in each resource type
  • New : Service operations can now receive and return any type of object. This increases flexibility significantly as you can use any type of object for structure input/output parameters, or to send/receive DTO classes, etc.
  • New : Service operations can now receive and return TJSONAncestor objects (Delphi XE6 and up only). This allows full control over the JSON request and response.
  • New : Service operations can now receive and return TCriteriaResult objects, making it easy to return Aurelius query results that use projections.
  • New : Server-Side Events allow subscribing listeners events and perform additional server-side logic
  • New : Method TXDataModelBuilder.RemoveEntitySet for more flexibility when building XData models.
  • New : JWT (Json Web Token) authentication and Basic authentication, thanks to new TMS Sparkle
  • New : Delphi 10.1 Berlin support
  • New : Authentication and authorization mechanism, based on TMS Sparkle
  • New : $inlinecount query option allow retrieving the total number of entities when using paged results
  • Improved : TXDataOperationContext.Current now also available in entity resources
  • Improved : All server-side operation (entity CRUD, service operation execution) are now performed in database transactions

v1.6

  • New : Design-time wizard to create a XData Server with a few clicks
  • Fixed : Service operation using enumerated types as parameters or function results not working properly
  • Fixed : EntitySet requests were not taking xdata-expandlevel header into consideration. This is a breaking change.

v1.5.1

  • New : Delphi 10 Seattle support

v1.5

  • New : TXDataServerModule.DefaultExpandLevel allows defining the expand level of JSON responses when it's not defined by client request
  • New : TXDataOperationContext Request and Response properties gives full control for service implementations to customize the processing of client requests
  • New : TXDataClient.HttpClient property provides low level access to the Http client and allows using OnSendingRequest events to customize requests
  • New : Several built-in functions available to increase flexibility when querying objects in REST requests. New available functions are Upper, Lower, Length, Substring, Position, Year, Month, Day, Hour, Minute and Second
  • Fixed : TXDataClient Get, Delete, Patch and Put operations were broken when using entities with composite id
  • Fixed : POST requests not working correctly with entities with composite key
  • Fixed : Data Modification requests sending content-type header with parameter (for example, ";charset=UTF8") were causing errors

v1.4

  • New : URIPathSegment attribute allows specifying a different name for operation/service to be used in URL
  • New : HttpMethod attribute allows specifying the HTTP method a service operation should respond to
  • Fixed : GET requests with query order was sometimes causing the same column to appear multiple times in a "ORDER BY" SQL clause

v1.3.1

  • New : Support for Delphi XE8

v1.3

  • New : Support for CORS (Cross-origin resource sharing) preflighted requests

v1.2.0.1

  • Improved : Installer

v1.2

  • New : TXDataClient methods Get, Post, Put, Delete and List allows easy and high-level access to XData server objects from Delphi clients
  • New : Server support for "x-http-method-override" header (allowing clients to tunnel HTTP methods to server through POST requests)
  • New : Android and iOS support for XData client objects
  • Fixed : Service operations returning nil entities should respond with status code 404
  • Fixed : Issues with floating-point literals in Query URL with non-English server systems

v1.1

  • New : UserName and Password properties in TXDataServerModule for basic authentication protection
  • New : Service Operations allow adding custom business logic to your server using interfaces and methods
  • New : Multi-Model design makes it easy to create multiple servers with different mapping, types and service operations
  • Fixed : Malfunctioning with $skip and $top query options

v1.0.1

  • New : Added Delphi XE7 support
BIZ

for Delphi XE2, XE3, XE4, XE5, XE6, XE7, XE8, 10 Seattle, 10.1 Berlin, 10.2 Tokyo, 10.3 Rio, 10.4 Sydney, 11 Alexandria (Professional/Enterprise/Architect)


View licensing FAQ
  • License for commercial use: Single developer license, Small team license, Site license
  • Includes full source code
  • Free 1 year updates and new releases
  • After 1 year, a 70% discount renewal is offered for a one year extension (offer valid for 30 days)
  • Free priority support through email and forum

Single developer license


license for 1 developer € 395


order now
add to cart

Small team license


license for 2 developers € 595


order now
add to cart

Site license


unlimited developers in the company € 1355


order now
add to cart


CreditCards and PayPal Accepted


This product is also available in the following bundle(s):

Bookmarks