Skip to content

Commit 67cc14b

Browse files
committed
Update for CAP Dec 2022 Rel
1 parent 5ca85c1 commit 67cc14b

File tree

8 files changed

+2401
-8980
lines changed

8 files changed

+2401
-8980
lines changed

CHANGELOG.json

+9
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
[
2+
{
3+
"date": "2022-12-19",
4+
"version": "3.202212.2",
5+
"Changed": [
6+
"CAP December 2022 Release",
7+
"Switch to @cap-js/graphql [Open Source GraphQL Adapter](https://cap.cloud.sap/docs/releases/dec22#open-source-graphql-adapter)",
8+
"SAPUI5 to version 109.3"
9+
]
10+
},
211
{
312
"date": "2022-12-01",
413
"version": "3.202212.1",

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
44

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

7+
## [3.202212.2] - 2022-12-19
8+
9+
**Changed**
10+
11+
- CAP December 2022 Release
12+
- Switch to @cap-js/graphql [Open Source GraphQL Adapter](https://cap.cloud.sap/docs/releases/dec22#open-source-graphql-adapter)
13+
- SAPUI5 to version 109.3
14+
715
## [3.202212.1] - 2022-12-01
816

917
**Changed**

app/resources/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
88
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
99
<title>hana-cli LaunchPad</title>
10-
<script src="https://ui5.sap.com/1.109.0/test-resources/sap/ushell/bootstrap/sandbox.js"></script>
11-
<script src="https://ui5.sap.com/1.109.0/resources/sap-ui-core.js"
10+
<script src="https://ui5.sap.com/1.109.3/test-resources/sap/ushell/bootstrap/sandbox.js"></script>
11+
<script src="https://ui5.sap.com/1.109.3/resources/sap-ui-core.js"
1212
data-sap-ui-libs="sap.m, sap.ushell, sap.collaboration, sap.ui.layout, sap.ui.rta, sap.dfa.help,sap.uxap"
1313
data-sap-ui-compatVersion="edge" data-sap-ui-theme="sap_horizon" data-sap-ui-async="true"
1414
data-sap-ui-frameOptions="trusted" data-sap-ui-bindingSyntax="complex" data-sap-ui-xx-bindingSyntax="complex"

bin/cds.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import open from 'open'
66
import * as conn from '../utils/connections.js'
77
import * as Server from 'http'
88
import express from 'express'
9+
// @ts-ignore
910
import cds from '@sap/cds'
1011

1112
import { createRequire } from 'module'
@@ -375,7 +376,7 @@ async function cdsServerSetup(prompts, cdsSource) {
375376
console.info(`HTTP Server: ${serverAddr}`)
376377

377378
//GraphQL
378-
const GraphQLAdapter = require('@sap/cds-graphql/lib')
379+
const GraphQLAdapter = require('@cap-js/graphql/lib') //require('@sap/cds-graphql/lib')
379380
const adapter = new GraphQLAdapter (cds.services, { graphiql: true, path: '/graphql' })
380381
app.use('/graphql', adapter)
381382
// app.use(new GraphQLAdapter(cds.services, { graphiql: true }))

bin/inspectTable.js

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import * as dbInspect from '../utils/dbInspect.js'
44
import dbClass from "sap-hdb-promisfied"
55
import * as conn from "../utils/connections.js"
66
import { highlight } from 'cli-highlight'
7+
// @ts-ignore
78
import cds from '@sap/cds'
89
// @ts-ignore
910
import YAML from 'json-to-pretty-yaml'

bin/version.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export function version4(pkgPath = '..', info = {}, parentPath) {
4646
info[name] = pkj.version
4747
// recurse sap packages in dependencies...
4848
for (let dep in pkj.dependencies) if (
49-
dep.startsWith('@sap/') || dep === 'sap-hdb-promisfied' || dep === 'hdb'
49+
dep.startsWith('@sap/') || dep === 'sap-hdb-promisfied' || dep === 'hdb' || dep.startsWith('@cap-js')
5050
) version4(dep, info, pkgPath)
5151
} catch (e) {
5252
if (e.code !== 'MODULE_NOT_FOUND') info[pkgPath] = '-- missing --' // unknown error

0 commit comments

Comments
 (0)