What's New

2018 Cloud Application Programming Model (Archive)

Core Components, 2018

Technical Component

Capability

Environment

Title

Description

Type

Available as of

Application Programming Model Developer Experience Cloud Foundry Develop Using Node.js With the application programming model, you can now develop business applications on your local development environment using Node.js. See Developing Business Applications Using Node.js. New 2018-12-20
Application Programming Model Developer Experience Cloud Foundry Filters You can now access and modify the filter query option from the request URL in your custom handlers. You can then use the modified filter when querying an OData V2 data source. New 2018-12-06
Application Programming Model Developer Experience Cloud Foundry String Functions The generic service created using the application programming model now supports the string functions listed in the OData specificationInformation published on non-SAP site with the exception of concat, indexof, and replace. Currently, nesting a string function within another string function is not supported. Changed 2018-12-06
Application Programming Model Developer Experience
  • Cloud Foundry
New Features

With the application programming model, you can now:

  • Define an element in an entity to contain media data. See Working with Media Data.
  • Create an entity and its associated entities in the SAP HANA database by overriding the generic Create operation. See Create an Entity and Its Associated Entities.
  • Enable caching of the metadata from an OData service that you're trying to consume. See Caching Metadata.
  • Execute actions and functions that are bound to an entity based on conditional checks using ETag.
  • Use case-insensitive conditions in CDS Query API.
  • Filter on the properties of child entities when consuming an OData V2 data source.
New 2018-10-25
Application Programming Model Developer Experience
  • Cloud Foundry
CDS Version

CDS 3.0.0 is now available on the SAP NPM registry.

With the application programming model, you now can use Node.js with a simplified project structure, new APIs and configuration options. See the new tutorial on how to create a business service with Node.js using Visual Studio CodeInformation published on SAP site.

  • • See JavaScript APIs for the new cds.connect, cds.serve, and event handlers APIs.

    cds init now creates a plain project for local development with Node.js. See cds help init for more options.

    • Node.js 8 is the minimum required Node.js version. Check your version with node -v.

New 2018-11-30
Application Programming Model Developer Experience
  • Cloud Foundry
New Features

With the application programming model, you can now:

New 2018-11-30
Application Programming Model DevOps
  • Neo
  • Cloud Foundry
CDS Version

CDS 2.9.1 is now available on the SAP NPM registry. This new version includes:

  • The common.cds model now includes annotations for title, description and value lists.
  • The cds command can now read standard input (stdin). For example: echo 'entity Foo {ID:UUID;}' | cds -2 sql.
  • The cds-2 sql command now gives you plain SQL. You can use cds -2hana to get SAP HANA SQL.
  • You can use cds config to see your CDS configuration. To learn more, execute cds help config.
Changed 2018-09-27
Application Programming Model DevOps
  • Neo
  • Cloud Foundry
CDS Version

CDS 2.8.1 is now available on the SAP NPM registry. This new version includes:

  • Support to build Node.js service modules.
  • New cds init command to create projects with the application programming model template. The @sap/generator-cds plugin is automatically installed when init is called for the first time. The cds new command is still available and can be used instead of cds init.
New 2018-09-13
Application Programming Model DevOps
  • Neo
  • Cloud Foundry
Entities

You can now create entities related to a source entity using the navigation property in an OData data source.

See Consume an OData Data Source.

Changed 2018-08-30
Application Programming Model DevOps
  • Neo
  • Cloud Foundry
Functions
  • You can now use string, math, date and arithmetic functions with the $filter system query option when consuming an OData data source. See Filter Functions.
  • You can now access SAP performance statistics for each request to your service. See SAP Performance Statistics.
Changed 2018-08-16
Application Programming Model DevOps
  • Neo
  • Cloud Foundry
CDS Version

CDS 2.10.1 is now available on the SAP NPM registry. With this new version, the development of Draft pages is supported.

The new CDS version also includes updates to the following components:

  • cds-compiler 1.1.3

    Adding ; before } is optional.

  • cds-services 0.11.0

    Create, Update and Delete operations on draft-enabled entities are supported.

    draftEdit, draftPrepare and draftActivate actions are supported.

    Logger is available in custom handlers when using context.log.

  • cds-ql 0.11.0

    String values in the .where property are supported.

Changed 2018-10-11