From 38b83bcc00757a58d557be468de871844c2a6bed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Jeglinsky?= Date: Thu, 6 Jul 2023 13:56:51 +0200 Subject: [PATCH 001/109] Continuous Release 2023-07-05 (#272) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * removed unreleased guide * CDL: Mention in which order `extend` is applied (#235) * CDL: Mention in which order `extend` is applied The "last" extend wins. * Update cds/cdl.md Co-authored-by: Andre Meyering * Update cds/cdl.md Co-authored-by: Steffen Weinstock <79531202+stewsk@users.noreply.github.com> * Update cds/cdl.md Co-authored-by: René Jeglinsky --------- Co-authored-by: Steffen Weinstock <79531202+stewsk@users.noreply.github.com> Co-authored-by: René Jeglinsky * Update odata.md (#260) 'test' => 'My new Annotation' * Added PostgreSQL docs * Fix example in Java messaging foundation (#236) See https://github.com/cap-js/docs/pull/184/files#r1236650489 Co-authored-by: Thomas Bonk <130759028+t-bonk@users.noreply.github.com> * Add `.caption` class (#264) * edited * Update databases-postgres.md (#263) Co-authored-by: René Jeglinsky * OData: Patch Collection (#251) * OData: Patch Collection * Apply suggestions from code review Co-authored-by: Adrian Görler * Update advanced/odata.md Co-authored-by: Matthias Schur <107557548+MattSchur@users.noreply.github.com> * Update advanced/odata.md * Update advanced/odata.md * Query options of expand (#262) query options of expand * Update advanced/odata.md --------- Co-authored-by: Adrian Görler Co-authored-by: René Jeglinsky * future proof sample of cds.version usage (#266) current example fails with cds 10 ;) * Update databases-sqlite.md -> wrong ::: tip syntax (#267) * Update databases-sqlite.md -> wrong ::: tip syntax I dont know if this is correct, but this `::: tip` section looks not right * Update guides/databases-sqlite.md --------- Co-authored-by: René Jeglinsky * switch to standard frontmatter usage pattern (#268) * switch to standard frontmatter usage pattern * fix some formatting issues * add .nvmrc to use correct Node.JS Version (#269) * Update cds-dk and cds-compiler version for 1.34 (#271) * Update cds-dk and cds-compiler version for 1.34 * Update index.md * Update index.md --------- Co-authored-by: Adrian Görler * Upgrade to vitepress beta 5 * Enable slot `nav-bar-content-after` * fixes * Run workflow only for non-forks (#275) * Disable dependency dashboard from renovate * alt text * Update dependency com.sap.cds:cds4j-api to v2.0.2 (#276) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --------- Co-authored-by: Andre Meyering Co-authored-by: Steffen Weinstock <79531202+stewsk@users.noreply.github.com> Co-authored-by: hjboth <124381150+hjboth@users.noreply.github.com> Co-authored-by: Daniel Hutzel Co-authored-by: Marc Becker Co-authored-by: Thomas Bonk <130759028+t-bonk@users.noreply.github.com> Co-authored-by: Steffen Waldmann Co-authored-by: Patrice Bender Co-authored-by: Matthias Schur <107557548+MattSchur@users.noreply.github.com> Co-authored-by: Adrian Görler Co-authored-by: Johannes Vogel <31311694+johannes-vogel@users.noreply.github.com> Co-authored-by: Gregor Wolf Co-authored-by: BraunMatthias <59841349+BraunMatthias@users.noreply.github.com> Co-authored-by: Christian Georgi Co-authored-by: Christian Georgi Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/renovate.json | 3 +- .github/workflows/PR-parent.yml | 1 + .nvmrc | 1 + .vitepress/config.ts | 2 +- .vitepress/theme/Layout.vue | 3 + about/capire.md | 2 +- about/index.md | 2 +- advanced/analytics.md | 2 +- advanced/fiori.md | 2 +- advanced/hana.md | 2 +- advanced/hybrid-testing.md | 12 +- advanced/monitoring.md | 2 +- advanced/odata.md | 86 +- advanced/performance-modeling.md | 2 +- advanced/troubleshooting.md | 2 +- cds/annotations.md | 2 +- cds/compiler-v2.md | 2 +- cds/models.md | 2 +- guides/data-privacy/audit-log.md | 2 +- guides/data-privacy/index.md | 3 +- guides/data-privacy/introduction.md | 2 +- guides/data-privacy/pdm.md | 2 +- guides/databases-postgres.md | 3 +- guides/databases.md | 6 +- guides/i18n.md | 2 +- guides/localized-data.md | 2 +- guides/media-data.md | 2 +- guides/messaging/index.md | 2 +- guides/providing-services.md | 2 +- guides/querying.md | 2 +- guides/security/aspects.md | 2 +- guides/security/data-protection-privacy.md | 2 +- guides/security/overview.md | 2 +- guides/temporal-data.md | 2 +- guides/using-services.md | 6 +- java/advanced.md | 2 +- java/application-services.md | 2 +- java/auditlog.md | 2 +- java/changeset-contexts.md | 3 +- java/data.md | 2 +- java/development/index.md | 28 +- java/getting-started.md | 2 +- java/indicating-errors.md | 13 +- java/messaging-foundation.md | 3 +- java/migration.md | 2 +- java/observability.md | 2 +- java/outbox.md | 3 +- java/persistence-services.md | 3 +- java/provisioning-api.md | 5 +- java/query-api.md | 4 +- java/query-execution.md | 4 +- java/query-introspection.md | 4 +- java/reflection-api.md | 2 +- java/remote-services.md | 2 +- java/request-contexts.md | 2 +- java/security.md | 2 +- node.js/authentication.md | 2 +- node.js/cds-connect.md | 2 +- node.js/cds-env.md | 2 +- node.js/cds-facade.md | 3 +- node.js/databases.md | 2 +- package-lock.json | 952 +++++++++++++++------ package.json | 6 +- 63 files changed, 884 insertions(+), 351 deletions(-) create mode 100644 .nvmrc diff --git a/.github/renovate.json b/.github/renovate.json index f37e4137c..bd56e47b3 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -1,7 +1,8 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ - "config:base" + "config:base", + ":disableDependencyDashboard" ], "includePaths": [ ".vitepress/config.ts", diff --git a/.github/workflows/PR-parent.yml b/.github/workflows/PR-parent.yml index 3fcd57269..65d5bb134 100644 --- a/.github/workflows/PR-parent.yml +++ b/.github/workflows/PR-parent.yml @@ -11,6 +11,7 @@ concurrency: jobs: build: runs-on: ubuntu-latest + if: '! github.event.pull_request.head.repo.fork' steps: - name: Checkout parent repo run: | diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 000000000..3f430af82 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +v18 diff --git a/.vitepress/config.ts b/.vitepress/config.ts index c7d5b3b80..95f92719b 100644 --- a/.vitepress/config.ts +++ b/.vitepress/config.ts @@ -19,7 +19,7 @@ const redirectLinks: Record = {} const latestVersions = { java_services: '2.0.1', - java_cds4j: '2.0.0' + java_cds4j: '2.0.2' } const config:UserConfig = { diff --git a/.vitepress/theme/Layout.vue b/.vitepress/theme/Layout.vue index 9a0a05556..32b72b140 100644 --- a/.vitepress/theme/Layout.vue +++ b/.vitepress/theme/Layout.vue @@ -24,6 +24,9 @@ const { Layout } = DefaultTheme + + + DEV PREVIEW.
+ Use cap.cloud.sap +
+ diff --git a/.vitepress/theme/components/Ribbon.vue b/.vitepress/theme/components/Ribbon.vue new file mode 100644 index 000000000..b6a824896 --- /dev/null +++ b/.vitepress/theme/components/Ribbon.vue @@ -0,0 +1,135 @@ + + + \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json index 7f648c79b..3efbeffa6 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -13,7 +13,8 @@ "isolatedModules": true, "allowJs": true, "noEmit": true, - "allowImportingTsExtensions": true + "allowImportingTsExtensions": true, + "types": ["node", "vite/client"] }, "include": [ ".vitePress/**/*.ts", From 29ed9f5ac3d3123d24db83d22336f7eba38e1fd6 Mon Sep 17 00:00:00 2001 From: Christian Georgi Date: Tue, 18 Jul 2023 09:58:52 +0200 Subject: [PATCH 013/109] Cosmetics in ribbon --- .vitepress/theme/Layout.vue | 4 ++-- .vitepress/theme/components/Ribbon.vue | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.vitepress/theme/Layout.vue b/.vitepress/theme/Layout.vue index 9599c2663..5196409ba 100644 --- a/.vitepress/theme/Layout.vue +++ b/.vitepress/theme/Layout.vue @@ -37,8 +37,8 @@ const { Layout } = DefaultTheme - DEV PREVIEW.
- Use cap.cloud.sap + DEV PREVIEW
+ See cap.cloud.sap
diff --git a/.vitepress/theme/components/Ribbon.vue b/.vitepress/theme/components/Ribbon.vue index b6a824896..e40dc4a1d 100644 --- a/.vitepress/theme/components/Ribbon.vue +++ b/.vitepress/theme/components/Ribbon.vue @@ -6,6 +6,12 @@ + +