Skip to content

Sync main with 1.2.x#288

Merged
NipunaRanasinghe merged 33 commits intoballerina-platform:mainfrom
NipunaRanasinghe:1.2.x
Sep 9, 2025
Merged

Sync main with 1.2.x#288
NipunaRanasinghe merged 33 commits intoballerina-platform:mainfrom
NipunaRanasinghe:1.2.x

Conversation

@NipunaRanasinghe
Copy link
Contributor

Purpose

$subject.

Goals

Describe the solutions that this feature/fix will introduce to resolve the problems described above

Approach

Describe how you are implementing the solutions. Include an animated GIF or screenshot if the change affects the UI (email documentation@wso2.com to review all UI text). Include a link to a Markdown file or Google doc if the feature write-up is too long to paste here.

User stories

Summary of user stories addressed by this change>

Release note

Brief description of the new feature or bug fix as it will appear in the release notes

Documentation

Link(s) to product documentation that addresses the changes of this PR. If no doc impact, enter “N/A” plus brief explanation of why there’s no doc impact

Training

Link to the PR for changes to the training content in https://github.com/wso2/WSO2-Training, if applicable

Certification

Type “Sent” when you have provided new/updated certification questions, plus four answers for each question (correct answer highlighted in bold), based on this change. Certification questions/answers should be sent to certification@wso2.com and NOT pasted in this PR. If there is no impact on certification exams, type “N/A” and explain why.

Marketing

Link to drafts of marketing content that will describe and promote this feature, including product page changes, technical articles, blog posts, videos, etc., if applicable

Automation tests

  • Unit tests

    Code coverage information

  • Integration tests

    Details about the test cases and coverage

Security checks

Samples

Provide high-level details about the samples related to this feature

Related PRs

List any other related PRs

Migrations (if applicable)

Describe migration steps and platforms on which migration has been tested

Test environment

List all JDK versions, operating systems, databases, and browser/versions on which this feature/fix was tested

Learning

Describe the research phase and any blog posts, patterns, libraries, or add-ons you used to solve the problem.

nipunayf and others added 30 commits September 2, 2025 11:17
…formationFunction

Introduce mapping with transformation function API
…NameFix

Properly handle the typeName of unions in Mappings API
…target-expression-retrieving-logic-main

Refactor target expression retrieving logic
[1.2.x] Implement programmatic retrieval of AI components
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…#1140

[1.2.X] Fix with displaying param with map<anydata> subtypes as Payload params
…#1146

[1.2.X] Fix the issue with generating http service using OpenAPI spec
Copilot AI review requested due to automatic review settings September 8, 2025 01:53
@CLAassistant
Copy link

CLAassistant commented Sep 8, 2025

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR syncs the main branch with the 1.2.x branch, introducing several enhancements and improvements to the Ballerina language server and flow model generator.

  • Version bump from 1.1.2 to 1.2.0
  • Enhanced data mapping functionality with transformation function support
  • Improved AI component management with dynamic loading instead of static JSON files
  • Better handling of nil types and union type representations

Reviewed Changes

Copilot reviewed 115 out of 116 changed files in this pull request and generated no comments.

Show a summary per file
File Description
gradle.properties Updates version from 1.1.2 to 1.2.0
service-model-generator/ Adds parameter handling and HTTP parameter type classification improvements
flow-model-generator/ Introduces transformation function test support and removes static AI component JSON files
misc/diagram-util/ Updates nil type representation from "nil" to "()"
langserver-core/ Changes toCamelCase method visibility from private to public
Comments suppressed due to low confidence (3)

service-model-generator/modules/service-model-generator-ls-extension/src/test/java/io/ballerina/servicemodelgenerator/extension/AddServiceTest.java:1

  • The parameter is not being added to the parameterModels list. This means enabled parameters won't appear in the final parameter list, causing them to be lost.
/*

service-model-generator/modules/service-model-generator-ls-extension/src/test/java/io/ballerina/servicemodelgenerator/extension/AddServiceTest.java:1

  • The parameter is not being added to the parameterModels list. This means enabled parameters won't appear in the final parameter list, causing them to be lost.
/*

service-model-generator/modules/service-model-generator-ls-extension/src/test/java/io/ballerina/servicemodelgenerator/extension/AddServiceTest.java:1

  • The parameter is not being added to the parameterModels list. This means enabled parameters won't appear in the final parameter list, causing them to be lost.
/*

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@NipunaRanasinghe NipunaRanasinghe merged commit ff72f6a into ballerina-platform:main Sep 9, 2025
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants