Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
updates for existing packages
  • Loading branch information
gregorwolf committed Jul 29, 2022
1 parent 20dc0bd commit 73fe3d7
Show file tree
Hide file tree
Showing 14 changed files with 1,648 additions and 3,382 deletions.
8 changes: 8 additions & 0 deletions apis/approuter/CHANGELOG.md
Expand Up @@ -5,6 +5,14 @@ This project adheres to [Semantic Versioning](http://semver.org/).

The format is based on [Keep a Changelog](http://keepachangelog.com/).

## 11.3.1 - 2022-07-28

### Fixed
- Missing destination instance credentials issue
- Avoid token exchange, when the session user is n/a (grant_type=client_credentials)
- Correct null pointer exception uaa missing in subscription-utils
- Dynamic provisioning of identity provider with welcome file

## 11.3.0 - 2022-07-20

### Added
Expand Down
16 changes: 15 additions & 1 deletion apis/approuter/README.md
Expand Up @@ -19,6 +19,7 @@
* [Cross-Origin Resource Sharing configuration](#cross-origin-resource-sharing-configuration)
* [Direct Routing URI Patterns configuration](#direct-routing-uri-patterns-configuration)
* [NodeJS Minimal Logging Level configuration](#nodejs-minimal-logging-level-configuration)
* [Dynamic Identity Provider configuration](#dynamic-identity-provider-configuration)
- [Routes](#routes)
* [Example routes](#example-routes)
- [Replacements](#replacements)
Expand Down Expand Up @@ -218,7 +219,8 @@ Skip client credentials tokens load on start | `SKIP_CLIENT_CREDENTIALS_TOKENS_L
[Cross-Origin Resource Sharing](#cross-origin-resource-sharing-configuration) | `CORS` | Configuration regarding CORS enablement.
Preserve URL fragment | `PRESERVE_FRAGMENT` | When set to `true` or not set, fragment part of the URL provided during first request of not logged-in user to protected route will be preserved, and after login flow user is redirected to original URL including fragment part. However, this may break programmatic access to Approuter (e.g. e2e tests), since it introduces change in login flow, which is incompatible with Approuter version 4.0.1 and earlier. Setting value to `false` makes login flow backward compatible, however will not take fragment part of the URL into account.
[Direct Routing URI Patterns](#direct-routing-uri-patterns-configuration) | `DIRECT_ROUTING_URI_PATTERNS` | Configuration for direct routing URI patterns.
[NodeJS Minimal Logging Level](#nodejs-minimal-logging-level-configuration) | `CF_NODEJS_LOGGING_LEVEL` | Configuration for NodeJS minimal logging level.
[NodeJS Minimal Logging Level](#nodejs-minimal-logging-level-configuration) | `CF_NODEJS_LOGGING_LEVEL` | Configuration for NodeJS minimal logging level.
[Dynamic Identity Provider](#dynamic-identity-provider-configuration) | `DYNAMIC_IDENTITY_PROVIDER` | Configuration for dynamic identity provider.
Backend Cookies Secret | `BACKEND_COOKIES_SECRET` | Secret that is used to encrypt backend session cookies in service to Application Router flow. Should be set in case multiple instances of Application Router are used. By default a random sequence of characters is used.
Service to Application Router | `SERVICE_2_APPROUTER` | If `true`, when the SAP Passport header is received from the application router, it will be transferred without modification to the backend application.
Client certificate header name | `CLIENT_CERTIFICATE_HEADER_NAME` | When set application router will use this header name to get the client certificate from the request header in subscription callback. If not provided the default header name `x-forwarded-client-cert` is used.
Expand Down Expand Up @@ -554,6 +556,18 @@ Here is a sample content for the NodeJS minimal logging level environment variab

**Note** The application router also uses the *@sap/logging* library. To configure the log level for this library, you use the *XS_APP_LOG_LEVEL* environment variable.

## Dynamic Identity Provider configuration

If `dynamicIdentityProvider` is `true`, the end user can set the identity provider (IDP) for the application’s login process by filling the request query parameter `sap_idp` with the IDP Origin Key. If `IdentityProvider` property is defined in the route, its value will be overwritten by the `sap_idp` query parameter value. The default value for `dynamicIdentityProvider` is `false`.
This configuration is relevant for a standalone approuter scenario and it is set for all routes.

Here is a sample content for the dynamic identity provider environment variable:

```json
env:
DYNAMIC_IDENTITY_PROVIDER: true
```

## Routes

A route is a configuration that instructs the application router how to process an incoming request with a specific path.
Expand Down
1,641 changes: 1,592 additions & 49 deletions apis/cds-compiler/CHANGELOG.md

Large diffs are not rendered by default.

1,592 changes: 0 additions & 1,592 deletions apis/cds-compiler/doc/CHANGELOG_ARCHIVE.md

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions apis/cds-compiler/doc/CHANGELOG_BETA.md
Expand Up @@ -8,11 +8,12 @@ Note: `beta` fixes, changes and features are listed in this ChangeLog just for i
The compiler behavior concerning `beta` features can change at any time without notice.
**Don't use `beta` fixes, changes and features in productive mode.**

## Version 3.0.0 - 2022-XX-YY
## Version 2.XX.YY

### Removed `addTextsLanguageAssoc`
### Removed `assocsWithParams`

Instead, use the option `addTextsLanguageAssoc`, which is available since v2.8.0.
Instead, of using the beta flag `assocsWithParams`, you can change the severity of the messages
`def-unexpected-paramview-assoc` and `def-unexpected-calcview-assoc`.

## Version 2.12.0 - 2022-01-25

Expand Down
36 changes: 1 addition & 35 deletions apis/cds-compiler/doc/CHANGELOG_DEPRECATED.md
Expand Up @@ -11,41 +11,7 @@ Note: `deprecated` features are listed in this ChangeLog just for information.
**When the `deprecated` option is set, the `beta` option is ignored,
and several new features are not available.**

## Version 3.0.0 - 2022-XX-YY

Version 3 of the cds-compiler removes all v2 deprecated flags.

### Removed `createLocalizedViews`

### Removed `downgradableErrors`

### Removed `generatedEntityNameWithUnderscore`

### Removed `longAutoexposed`

### Removed `noElementsExpansion`

### Removed `noInheritedAutoexposeViaComposition`

### Removed `noScopedRedirections`

### Removed `oldVirtualNotNullPropagation`

### Removed `parensAsStrings`

### Removed `projectionAsQuery`

### Removed `redirectInSubQueries`

### Removed `renderVirtualElements`

### Removed `shortAutoexposed`

### Removed `unmanagedUpInComponent`

### Removed `v1KeysForTemporal`

## Version 2.13.0 - 2022-03-22
## Version 2.XX.YY - 2022-MM-DD

### Added `redirectInSubQueries`

Expand Down
21 changes: 1 addition & 20 deletions apis/cds-compiler/doc/Versioning.md
Expand Up @@ -5,17 +5,6 @@ The cds-compiler uses [Semantic Versioning][SemVer] for its version numbers.
This document clarifies how we use [SemVer] and what you can and what you can‘t
expect from version updates.

<!-- toc: start -->

1. [Public API](#public-api)
2. [Patch Versions](#patch-versions)
3. [Minor Versions](#minor-versions)
4. [Beta Flags](#beta-flags)
5. [Deprecated Flags](#deprecated-flags)
6. [Command Line Tool `cdsc`](#command-line-tool-cdsc)

<!-- toc: end -->

## Public API

According to [§1] of SemVer, a public API must be made available. Our public
Expand Down Expand Up @@ -52,7 +41,7 @@ we detect invalid CDS code.

## Beta Flags

The compiler provides so-called “beta flags” that enable or disable certain
The compiler provides so called “beta flags” that enable or disable certain
features. We do not guarantee that any such flags stay consistent between
patch versions! Beta flags may change any time.

Expand All @@ -68,14 +57,6 @@ period.
Refer to [CHANGELOG_DEPRECATED.md](./CHANGELOG_DEPRECATED.md) for changes
to deprecated flags.

## Command Line Tool `cdsc`

`bin/cdsc.js` as well as all other command line tools do _not_ guarantee any
stability. It is considered a compiler internal tool that only serves for
debugging. The official command line tool `cds` of the `@sap/cds` and
`@sap/cds-dk` packages are to be used by users. That means commands and
options may change any time without prior notice. Changes may still be listed
in [CHANGELOG.md](../CHANGELOG.md).

[SemVer]: https://semver.org/
[§1]: https://semver.org/#spec-item-1
Expand Down

0 comments on commit 73fe3d7

Please sign in to comment.