Skip to content

Commit f9923f4

Browse files
authored
Merge branch 'main' into fix-helper-pane-misalignment
2 parents 7dae197 + ba5b5a7 commit f9923f4

File tree

96 files changed

+3406
-1743
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+3406
-1743
lines changed

.github/CODEOWNERS

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,17 @@
22
*.css @hevayo @gigara @tharindulak
33
*.scss @hevayo @gigara @tharindulak
44
.trivyignore @hevayo @gigara
5+
/.github/ @hevayo @gigara @kanushka
6+
**/package.json @hevayo @gigara @kanushka
7+
**/package-lock.json @hevayo @gigara @kanushka
8+
**/pnpm-lock.yaml @hevayo @gigara @kanushka
9+
pnpm-workspace.yaml @hevayo @gigara @kanushka
10+
rush.json @hevayo @gigara @kanushka
11+
/common/ @hevayo @gigara @kanushka
512
/workspaces/common-libs/ @hevayo @gigara @tharindulak
613
/workspaces/mi/ @hevayo @gigara @kaumini
714
/workspaces/ballerina/ballerina-core/src/interfaces/extended-lang-client.ts @hevayo @axewilledge @kanushka
815
/workspaces/ballerina/ballerina-rpc-client @hevayo @axewilledge @kanushka
916
/workspaces/choreo/ @kaje94
1017
/workspaces/wso2-platform/ @kaje94
11-
* @hevayo @gigara
18+
* @hevayo @gigara

.trivyignore

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
# Trivy ignore file for known low-risk vulnerabilities
22
# Format: CVE-ID or vulnerability ID
33

4-
# Low severity vulnerability in jsondiffpatch package
5-
# Used as transitive dependency via 'ai' package
6-
# Risk Assessment: LOW severity, limited impact on diff operations
7-
# Decision: Acceptable risk - waiting for ai package to update jsondiffpatch dependency
8-
# Related Issue: https://github.com/wso2/product-ballerina-integrator/issues/1274
9-
CVE-2025-9910
10-
114
# No fix released by the author
125
# https://github.com/wso2/vscode-extensions/issues/550
136
CVE-2020-36851

.vscode/launch.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,8 @@
245245
"--extensionTestsPath=${workspaceFolder}/workspaces/ballerina/ballerina-extension/out/test",
246246
"${workspaceFolder}/workspaces/ballerina/ballerina-extension/test/data/bi_empty_project",
247247
"${workspaceFolder}/workspaces/ballerina/ballerina-extension/test/data/bi_init",
248-
"${workspaceFolder}/workspaces/ballerina/ballerina-extension/test/data/simple_order_management_system","${workspaceFolder}/workspaces/ballerina/ballerina-extension/test/data/ai_datamapper"
248+
"${workspaceFolder}/workspaces/ballerina/ballerina-extension/test/data/simple_order_management_system",
249+
"${workspaceFolder}/workspaces/ballerina/ballerina-extension/test/data/ai_datamapper"
249250
],
250251
"env": {
251252
"LS_EXTENSIONS_PATH": "",
@@ -294,4 +295,4 @@
294295
"preLaunchTask": "npm: watch-apk"
295296
},
296297
]
297-
}
298+
}

common/config/rush/pnpm-lock.yaml

Lines changed: 1186 additions & 1154 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

workspaces/api-designer/api-designer-extension/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
"clean": "rimraf ./dist",
8484
"compile": "tsc -p .",
8585
"watch": "tsc -p . -w",
86-
"package": "if [ $isPreRelease = true ]; then vsce package --no-dependencies --pre-release; else vsce package --no-dependencies; fi",
86+
"package": "node ../../common-libs/scripts/package-vsix.js",
8787
"build": "pnpm clean && pnpm run copyFonts && webpack --mode production --devtool hidden-source-map && pnpm run package && pnpm run postbuild",
8888
"compile-tests": "pnpm run compile",
8989
"watch-tests": "pnpm run watch",

workspaces/apk/apk-extension/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"pretest": "npm run compile && npm run lint",
5252
"lint": "eslint src --ext ts",
5353
"test": "node ./out/test/runTest.js",
54-
"build": "if [ $isPreRelease = true ]; then vsce package --no-dependencies --pre-release; else vsce package --no-dependencies; fi && pnpm run postbuild",
54+
"build": "node ../../common-libs/scripts/package-vsix.js && pnpm run postbuild",
5555
"postbuild": "pnpm run copyVSIX",
5656
"copyVSIX": "copyfiles *.vsix ./vsix",
5757
"copyVSIXToRoot": "copyfiles -f ./vsix/* ../../.."

workspaces/ballerina/ballerina-core/src/interfaces/constants.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ export const BI_COMMANDS = {
3232
BI_RUN_PROJECT: 'BI.project.run',
3333
BI_DEBUG_PROJECT: 'BI.project.debug',
3434
REFRESH_COMMAND: 'BI.project-explorer.refresh',
35-
FOCUS_PROJECT_EXPLORER: 'BI.project-explorer.focus',
3635
PROJECT_EXPLORER: 'BI.project-explorer',
3736
ADD_CONNECTIONS: 'BI.project-explorer.add-connection',
3837
ADD_CUSTOM_CONNECTOR: 'BI.project-explorer.add-custom-connector',
@@ -52,6 +51,8 @@ export const BI_COMMANDS = {
5251
BI_EDIT_TEST_FUNCTION_DEF: 'BI.test.edit.function.def',
5352
ADD_NATURAL_FUNCTION: 'BI.project-explorer.add-natural-function',
5453
TOGGLE_TRACE_LOGS: 'BI.toggle.trace.logs',
54+
CREATE_BI_PROJECT: 'BI.project.createBIProjectPure',
55+
CREATE_BI_MIGRATION_PROJECT: 'BI.project.createBIProjectMigration',
5556
ADD_INTEGRATION: 'BI.project-explorer.add-integration',
5657
NOTIFY_PROJECT_EXPLORER: 'BI.project-explorer.notify',
5758
};

workspaces/ballerina/ballerina-core/src/interfaces/data-mapper.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,10 @@ export enum IntermediateClauseType {
5757
LET = "let",
5858
WHERE = "where",
5959
FROM = "from",
60-
ORDER_BY = "order by",
60+
ORDER_BY = "order-by",
6161
LIMIT = "limit",
6262
JOIN = "join",
63+
GROUP_BY = "group-by"
6364
}
6465

6566
export enum ResultClauseType {
@@ -95,6 +96,7 @@ export interface IOType {
9596
defaultValue?: unknown;
9697
optional?: boolean;
9798
isFocused?: boolean;
99+
isSeq?: boolean;
98100
isRecursive?: boolean;
99101
isDeepNested?: boolean;
100102
ref?: string;
@@ -141,6 +143,7 @@ export interface DMModel {
141143
triggerRefresh?: boolean;
142144
traversingRoot?: string;
143145
focusInputRootMap?: Record<string, string>;
146+
groupById?: string;
144147
}
145148

146149
export interface ModelState {
@@ -175,6 +178,7 @@ export interface IOTypeField {
175178
optional?: boolean;
176179
ref?: string;
177180
focusExpression?: string;
181+
isSeq?: boolean;
178182
typeInfo?: TypeInfo;
179183
}
180184

@@ -192,7 +196,7 @@ export interface Query {
192196
output: string,
193197
inputs: string[];
194198
diagnostics?: DMDiagnostic[];
195-
fromClause: FromClause;
199+
fromClause: IntermediateClause;
196200
intermediateClauses?: IntermediateClause[];
197201
resultClause: ResultClause;
198202
}

workspaces/ballerina/ballerina-core/src/rpc-types/ai-panel/interfaces.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ export interface ProjectImports {
121121
// Data-mapper related interfaces
122122
export interface MetadataWithAttachments {
123123
metadata: ExtendedDataMapperMetadata;
124-
attachments?: Attachment[];
124+
attachments: Attachment[];
125125
}
126126

127127
export interface InlineMappingsSourceResult {

workspaces/ballerina/ballerina-core/src/rpc-types/common/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ import {
3232
FileOrDirRequest,
3333
WorkspaceRootResponse,
3434
ShowErrorMessageRequest,
35-
WorkspaceTypeResponse
35+
WorkspaceTypeResponse,
36+
SampleDownloadRequest
3637
} from "./interfaces";
3738

3839
export interface CommonRPCAPI {
@@ -51,4 +52,5 @@ export interface CommonRPCAPI {
5152
showErrorMessage: (params: ShowErrorMessageRequest) => void;
5253
getCurrentProjectTomlValues: () => Promise<Record<string, any>>;
5354
getWorkspaceType: () => Promise<WorkspaceTypeResponse>;
55+
downloadSelectedSampleFromGithub: (params: SampleDownloadRequest) => Promise<boolean>;
5456
}

0 commit comments

Comments
 (0)