[cds-services@1.22.0] @sap/cds-ql merged into @sap/cds-services
[cds-services@1.22.0] Support for subselects and aliasing for remote service definitions
[cds-services@1.22.0] Support for @cds.persistence.table.
[cds-services@1.22.0] Actions/functions support $select and $expand query params in odata
[cds-services@1.22.0] Support cds annotation on insert and update with ## (e.g @cds.on.update: #user)
Changed
[cds-services@1.22.0] Improve error messages for return type validation of custom operations
[cds-services@1.22.0] Draft removal is handled in onDraftActivateEvent instead of onDraftActivate
[cds-sqlite@1.21.0] Pool options always set to default
[cds-hana@1.21.0] Updated version of @sap/cds-sql to 1.21.0
Fixed
[cds-services@1.22.0] Check whether service requires authentication
[cds-services@1.22.0] Independent passport configs per service
[cds-sql@1.21.0] post-processing for columns with function calls
[cds-messaging@1.5.0] Receiving chunks can be an array with more than one item
2019-12-03
Added
[cds-ql@1.21.1] SELECT.forUpdate to lock columns on a table
Changed
[cds-sql@1.20.1] Minor improvements
[cds-sqlite@1.20.1] Updated version of @sap/cds-sql to 1.20.1
[cds-hana@1.20.1] Updated version of @sap/cds-sql to 1.20.1
Fixed
[cds-services@1.21.2] Default values for patch
2019-11-29
Added
[cds-services@1.21.1] Authentication strategy debug messages and error messages for erroneous authentication configurations
[cds-ql@1.21.0] Acquire now sets session contexts valid-from and valid-to
[cds-sqlite@1.20.0] Conversion of hana’s seconds_between function to strftime for sqlite
[cds-hana@1.20.0] Method to set session context
Fixed
[cds-services@1.21.1] Transform redirect properties in post processing
[cds-dk@1.3.0] cds import no longer fails due to Windows paths.
[cds-ql@1.21.0] Single ticked entry in function now resolves to val instead of ref
[cds-sql@1.20.0] Managed fields were not generated when values are null
[cds-sql@1.20.0] Read of active entity with navigation and orderBy with draft specific column (e.g HasActiveEntity)
Removed
[cds-messaging@1.4.0] The namespace property of a services does not need to be set anymore
Also see
[cds-dk@1.3.0] Changes of @sap/cds 3.20.0
[cds-dk@1.3.0] Changes of @sap/cds-sidecar-client 1.1.2
2019-11-27
Added
[cds.java@1.1.0] Support Authentication and Authorization by means of @require and @restrict annotations
[cds.java@1.1.0] Support mocking application users to use authorization in local development
[cds.java@1.1.0] Support Actions and Functions
[cds.java@1.1.0] Support @cds.serve.ignore
[cds.java@1.1.0] Support @path to specify custom URL paths for CDS services
[cds.java@1.1.0] Enable application configuration via application.yml file
[cds.java@1.1.0] Improved integration with Spring’s transaction management
[cds.java@1.1.0] Support for POST requests via navigations in OData V4
[cds.java@1.1.0] Support OData V4 query $filter including correct handling of null, support for path expressions and support for functions “contains”, “startsWith”, “endsWith” and “substring”, “in”, “add”, “sub”, “mul” and “div”
Changed
[cds.java@1.1.0] OData V4 is now using OData V4.01 by default
[cds.java@1.1.0] afterClose() in ChangeSetListeners is now called after the ChangeSet has been removed from the stack. This enables to open new ChangeSets in the context of this listener method.
[cds.java@1.1.0] URLs for services with namespaces are no longer separated into multiple path parts in OData V4
[cds.java@1.1.0] The user placeholder in @cds.on.insert / update is now set to the user name instead of the XSUAA user ID
[cds.java@1.1.0] Renamed draft activate event to save event. Also introduced draft new, patch and cancel events.
[cds.java@1.1.0] Changed the implementation of save event to trigger a create or upsert event, to create/update the active entity.
Fixed
[cds.java@1.1.0] Services can now be autowired outside of event handlers
[cds.java@1.1.0] Performance improvements in OData V4 adapter code
[cds.java@1.1.0] Improved error handling in OData V4 adapter, preventing unnecessary exception logs and improving client-side error messages.
[cds.java@1.1.0] Fixed an issue, when the same element was part of the OData V4 $select query and the $expand query.
[cds.java@1.1.0] not null can now also be used for fields calculated by the service stack automatically (e.g. @cds.on.insert)
[cds.java@1.1.0] Paths to SiblingEntity in draft-enabled entities now work correctly
[cds.java@1.1.0] Expand from draft enabled entities to their parent entities now works correctly
[cds.java@1.1.0] Activating a draft entity is now only possible on the root draft entity
[cds.java@1.1.0] Child draft entities can not be created or updated anymore, if their root draft entity is not in draft-mode
[cds.java@1.1.0] Insert and update restrictions are now correctly handled for draft-enabled entities.
2019-11-19
Added
[cds-services@1.21.0] Support for reading temporal data on HANA
[cds-services@1.21.0] Support ETag at odata-v4
[cds-dk@1.2.0] Experimental support for cds init
Changed
[cds-ql@1.20.1] Updated version of @sap/cds-sql to 1.19.1
[cds-ql@1.20.1] Updated version of @sap/cds-sqlite to 1.19.1
[cds-ql@1.20.1] Updated version of @sap/cds-hana to 1.19.1
[cds-sqlite@1.19.1] Updated version of @sap/cds-sql to 1.19.1
[cds-hana@1.19.1] Updated version of @sap/cds-sql to 1.19.1
Fixed
[cds-services@1.21.0] Key generation in deep update
[cds-services@1.21.0] Reading DraftAdministrativeData of an active entry without existing draft
[cds-sql@1.19.1] Expand adding foreign keys twice
2019-10-30
Changed
[cds-services@1.20.1] Updated version of @sap/cds-ql to 1.20.1
[cds-ql@1.20.0] Improved UPDATE error messages
[cds-sql@1.19.0] Improved deep update
Removed
[cds-ql@1.20.0] npm-shrinkwrap.json
[cds-sql@1.19.0] npm-shrinkwrap.json
[cds-sqlite@1.19.0] npm-shrinkwrap.json
[cds-hana@1.19.0] npm-shrinkwrap.json
[cds-messaging@1.3.0] npm-shrinkwrap.json
[cds-rest@1.3.0] npm-shrinkwrap.json
2019-10-29
Added
[cds-services@1.20.0] req.method property which contains the HTTP method
[cds-services@1.20.0] Return type validation for custom operations in rest
[cds-services@1.20.0] Support for redirected media properties using @Core.IsURL
[cds-messaging@1.2.1] headers parameter for .emit
Changed
[cds-ql@1.19.2] .run handles arrays in a Promise.all fashion
[cds-sqlite@1.18.1] Updated version of @sap/cds-sql to 1.18.1
[cds-hana@1.18.1] Updated version of @sap/cds-sql to 1.18.1
Fixed
[cds-services@1.20.0] Requests to $metadata
[cds-dk@1.1.3] cds watch now uses the same lookup paths for models as cds run
[cds-sql@1.18.1] Problems with deep update of a composition of one
[cds-sql@1.18.1] Unhandled promise rejections by expand
Removed
[cds-services@1.20.0] npm-shrinkwrap.json
[cds-services@1.20.0] req._.isPatch
Also see
[cds-dk@1.1.3] Changes of @sap/cds 3.18.3
2019-10-16
Added
[cds-dk@1.1.0] Added dependencies to express and sqlite3 to ease development
[cds-rest@1.2.0] If JWT token provided in context, it is forwarded to Cloud SDK
Changed
[cds-services@1.19.1] Improved error messages
[cds-dk@1.1.0] Improved cds watch
[cds-ql@1.19.0] Updated version of @sap/cds-sql to 1.18.0
[cds-ql@1.19.0] Updated version of @sap/cds-sqlite to 1.18.0
[cds-ql@1.19.0] Updated version of @sap/cds-hana to 1.18.0
[cds-sqlite@1.18.0] Updated version of @sap/cds-sql to 1.18.0
[cds-hana@1.18.0] Updated version of @sap/cds-sql to 1.18.0
[cds-messaging@1.2.0] Minor improvements
[cds-rest@1.2.0] Version of @sap/cloud-sdk-core to 1.10.0
[cds-rest@1.2.0] Version of @sap/cloud-sdk-util to 1.10.0
Fixed
[cds-services@1.19.1] Empty user attributes in where conditions
[cds-services@1.19.1] Queries in custom handler executed twice
[cds-ql@1.19.1] Default mainkind in case of compound service (messaging and rest)
[cds-sql@1.18.0] Problems with backlinks with custom on condition
Also see
[cds-dk@1.1.0] Changes of @sap/cds 3.18.0
[cds-dk@1.1.0] Changes of @sap/edm-converters 1.0.19
[cds-dk@1.1.0] Changes of @sap/generator-cds 2.8.3
[cds-dk@1.1.0] Changes of @sap/cds-sidecar-client 1.1.1
2019-10-02
Added
[cds-services@1.19.0] Check of source for navigation-to-one in not Draft case
[cds-services@1.19.0] log function in default logger
[cds-rest@1.1.3] Dependency to @sap/cloud-sdk-util
Changed
[cds-services@1.19.0] Improved error messages
[cds-services@1.19.0] Use @sap/odata-server@1.3.8
[cds-dk@1.0.6] Updated version of @sap/cds to 3.17.8
[cds-dk@1.0.5] Updated version of @sap/cds to 3.17.7
[cds-dk@1.0.4] Updated version of @sap/cds to 3.17.6
[cds-dk@1.0.3] Updated version of @sap/cds to 3.17.5
[cds-dk@1.0.2] Updated version of @sap/cds to 3.17.4
Fixed
[cds-services@1.19.0] Draft service having column names from draft admin table
[cds-services@1.19.0] POST and PUT on views with renaming and excluding
[cds-services@1.19.0] Draft with custom oncond in backlink
[cds-messaging@1.1.1] File-based-messaging: If you set the file to true or “default”, the default file name is chosen
[cds-rest@1.1.1] Support where, columns and one properties in SELECT
Changed
[cds-services@1.18.2] Use @sap/odata-server@1.3.7
[cds-dk@1.0.1] Updated version of @sap/cds to 3.17.2
[cds-ql@1.18.2] Improved error messages
[cds-sql@1.17.1] Improved error messages
[cds-sql@1.17.1] Improves SQL Builder for .where clauses
[cds-sqlite@1.17.1] Updated version of @sap/cds-sql to 1.17.1
[cds-messaging@1.1.1] File-based-messaging: Default file location ist set to /cds-message-box
[cds-messaging@1.1.1] File-based-messaging: File configuration is moved to credentials block
[cds-messaging@1.1.1] For external (cloud-event-based) services, the data property is now in message.data (before it was message.data.data)
[cds-rest@1.1.1] Enforce JSON format in OData
[cds-rest@1.1.1] Clean up OData V2 responses
Fixed
[cds-ql@1.18.2] Disconnect in multi tenancy scenario
[cds-hana@1.17.1] Issue in streaming while using hana-client
2019-09-18
Added
[cds-services@1.18.1] Support of authorization restrictions with simple static where clauses (e.g. $user.level = 3) for actions/functions
[cds-dk@1.0.0] Initial implementation
[cds-dk@1.0.0] cds watch
[cds-dk@1.0.0] cds import
[cds-sqlite@1.17.0] Streaming into sqlite
[cds-messaging@1.1.0] Queue name can be specified by setting the queue property
[cds-messaging@1.1.0] You can now use srv.on('my/custom/topic', ()={...}) to register on topics
and srv.emit('my/custom/topic, {...}) to emit messages with topics (If your
topic contains only one segment, you must write topic:myCustomTopic)
[cds-rest@1.1.0] Auto-generate destinations env variable if NODE_ENV !== 'production’
Changed
[cds-ql@1.18.0] Improved error messages for statements
[cds-ql@1.18.0] No more model loading, model needs to be passed now
[cds-hana@1.17.0] Updated version of @sap/cds-sql to 1.17.0
[cds-messaging@1.1.0] The hashes in generated topic or queue names now only consist of 4 characters
[cds-messaging@1.1.0] Default file name of ‘file-based-messaging’ is /message_box
Fixed
[cds-services@1.18.1] Draft activation by multiple views
[cds-services@1.18.1] Binary processing in rest adapter
[cds-ql@1.18.1] Model loading
[cds-ql@1.18.0] Nested functions as strings in statements
[cds-ql@1.18.0] Options in connect combined with env variables
[cds-sql@1.17.0] Expand-to-one in draft context
[cds-sql@1.17.0] Expand with multiple orderby elements using window function
[cds-sql@1.17.0] UUID generation for INSERT statements
[cds-messaging@1.1.0] Special characters in topic and queue names are now omitted
[cds-messaging@1.1.0] Non-JSON payloads are now ignored
[cds-hana@1.15.0] @sap/hana-client streaming extension is used only if necessary
[cds-hana@1.15.0] Streaming supports null values
2019-07-23
Added
[cds-services@1.16.0] Batch Update in REST Adapter using an Array as request body
[cds-services@1.16.0] Content-Type for streaming using annotation
[cds-services@1.16.0] DELETE requests on an entity property sets the property to null
[cds-services@1.16.0] Integrity check for DELETE requests
[cds-ql@1.15.0] Enhanced statements to be compatible to specification
[cds-ql@1.15.0] Support for views with parameters
[cds-sqlite@1.14.0] Named binding parameters
[cds-sqlite@1.14.0] Support files as db in tenant manager
Changed
[cds-services@1.16.0] Behaviour of mock authentication according to documentation
[cds-services@1.16.0] cds.env is used by authentication if passport not provided in options
[cds-hana@1.14.0] Updated version of @sap/cds-sql to 1.13.0
Fixed
[cds-services@1.16.0] Draft actions for localized entities
[cds-services@1.16.0] Write localized data via deep update/insert
[cds-sql@1.14.0] Combination of expand with instance-based authorization
Removed
[cds-ql@1.15.0] generateUUID function and uuiddependency
[cds-ql@1.15.0] usage of xsenv for authorization (is provided by cds.env)
2019-07-09
Added
[cds-services@1.15.0] Support for views with parameters
[cds-services@1.15.0] Support for filter transformation in $apply
[cds-services@1.15.0] Support for /$value on primitive properties
[cds-sql@1.13.0] Struct Mapper checks subselect for matching columns
Changed
[cds-services@1.15.0] Rest adapter accepts non-modelled data fields in the request payload and exposes them in req.data; the fields are
ignored in the generic handlers
[cds-services@1.15.0] Replaced @sap/cds-ql dependency with uuid
[cds-sqlite@1.13.0] Updated version of @sap/cds-sql to 1.13.0
[cds-hana@1.13.0] Updated version of @sap/cds-sql to 1.13.0
Fixed
[cds-services@1.15.0] Custom handlers by extended tenants
[cds-services@1.15.0] Generic handler lookup if multiple services in one .cds file
[cds-services@1.15.0] $expand with instance-based authorization
[cds-services@1.15.0] result parameter in AfterHandler has correct format (not always an array)
[cds-services@1.15.0] CREATE: the created entity
[cds-services@1.15.0] UPDATE: the updated entity
[cds-services@1.15.0] DELETE: undefined
[cds-services@1.15.0] for actions and functions it is the defined return type
[cds-services@1.15.0] @cds.on.insert and @cds.on.update could not be used at the same time
[cds-services@1.15.0] @cds.on.insert and @cds.on.update in deep insert / update
[cds-ql@1.14.0] Bug with nested types in update
[cds-ql@1.14.0] Improved logging of SQLs when DEBUG=true is provided
2019-06-24
Added
[cds-services@1.14.0] Alternative mock strategy config
[cds-services@1.14.0] Support for value ranges annotations for REST adapter