Skip to content

Cherry-Pick: Add changes to create Nuget Core Package#3602

Open
RubenCerna2079 wants to merge 4 commits into
release/2.0from
dev/rubencerna/cherry-pick-nuget-core
Open

Cherry-Pick: Add changes to create Nuget Core Package#3602
RubenCerna2079 wants to merge 4 commits into
release/2.0from
dev/rubencerna/cherry-pick-nuget-core

Conversation

@RubenCerna2079
Copy link
Copy Markdown
Contributor

Why make this change?

This change cherry-picks the PRs that allow us to create the new Nuget Core Package

What is this change?

Cherry-picked PRs

How was this tested?

Existing tests in cherry-pick cover new changes.

Sample Request(s)

N/A

RubenCerna2079 and others added 3 commits May 19, 2026 13:47
## Why make this change?

- Resolves issue #3469

## What is this change?

- `Cli.csproj`: Changes package description and tags to include new MCP
endpoint.
- `Core.csproj`: Adds authoring requirements based on the following link
https://devdiv.visualstudio.com/DevDiv/_wiki/wikis/DevDiv.wiki/11557/Publish-as-Microsoft?anchor=publishing-microsoft-packages-on-nuget.org

## How was this tested?

- [ ] Integration Tests
- [ ] Unit Tests

No tests are necessary for this change

## Sample Request(s)

N/A
…ent (#3475)

## Why make this change?

`nuget/README.md` (the README shown on the NuGet package page) was
minimal and stale — it described only REST and GraphQL, omitted the MCP
endpoint entirely and other content present in the root `README.md`.

## What is this change?

Rewrote `nuget/README.md` to match the quality and completeness of the
root `README.md`, adapted for the NuGet context:

- **Badges** — docs link, license
- **About** — updated to cover REST, GraphQL, and MCP endpoints
- **Features** — added MCP section: DML tools, custom tools via stored
procedures, configurable path (`/mcp` default), AI client compatibility
(GitHub Copilot, Azure AI Foundry)
- **Resources** — aligned with root README; links use absolute GitHub
URLs

## How was this tested?

- [ ] Integration Tests
- [ ] Unit Tests

Documentation-only change; no code logic modified.

## Sample Request(s)

N/A

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: RubenCerna2079 <32799214+RubenCerna2079@users.noreply.github.com>
Co-authored-by: Ruben Cerna <rcernaserna@microsoft.com>
Co-authored-by: Aniruddh Munde <anmunde@microsoft.com>
## Why make this change?

- Solves issue #3479 

## What is this change?

- Changes `Cli.proj` and `Core.proj` files to retrieve their unique
NOTICE files from their respective new path.
- Changes `notice-generation.ps1` script to use the NOTICE file path
from the pipeline as an argument instead of having it hard coded.
- Changes `create-manifest-file.ps1` script to add the new nuget Core
package that will be created in the pipeline.

## How was this tested?

This is tested alongside the changes from the
[pipeline](https://msdata.visualstudio.com/CosmosDB/_git/data-api-builder/pullrequest/2097650)

## Sample Request(s)

N/A

---------

Co-authored-by: Aniruddh Munde <anmunde@microsoft.com>
@RubenCerna2079 RubenCerna2079 changed the title Dev/rubencerna/cherry pick nuget core Cherry-Pick: Nuget Core Package May 19, 2026
@RubenCerna2079 RubenCerna2079 marked this pull request as ready for review May 19, 2026 21:39
Copilot AI review requested due to automatic review settings May 19, 2026 21:39
@RubenCerna2079 RubenCerna2079 added this to the May 2026 milestone May 19, 2026
@RubenCerna2079 RubenCerna2079 moved this from Todo to Review In Progress in Data API builder May 19, 2026
Copy link
Copy Markdown
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

Note

Copilot was unable to run its full agentic suite in this review.

Cherry-picks prior changes to enable building and publishing a new “Core” NuGet package alongside the existing CLI/package artifacts.

Changes:

  • Add NuGet package metadata and packing assets for Microsoft.DataApiBuilder.Core.
  • Update CLI NuGet metadata (tags/description) and adjust NOTICE file packing location.
  • Update release/packaging scripts to support multiple NuGet artifacts and external NOTICE generation; add/update NuGet READMEs.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/Core/Azure.DataApiBuilder.Core.csproj Adds NuGet packaging metadata and packs README/icon/license/notice for the new Core package.
src/Cli/Cli.csproj Updates package tags/description for MCP and adjusts NOTICE file include path for packing.
scripts/notice-generation.ps1 Makes notice output path a required parameter (caller-controlled) and adjusts content rewriting.
scripts/create-manifest-file.ps1 Adds hash + URL metadata for separate CLI and Core NuGet packages in the release manifest.
nuget/nuget_core/README.md Introduces README content for the new Core NuGet package.
nuget/README.md Updates NuGet README to mention MCP, adds docs links and “getting started” info.
Comments suppressed due to low confidence (1)

nuget/nuget_core/README.md:1

  • The characters indicate an encoding/copy issue and will render incorrectly on NuGet/GitHub. Replace them with the intended punctuation (commonly an em dash or a hyphen -) and ensure the file is saved as UTF-8.
# Data API builder Core Library for Azure Databases

Comment thread scripts/notice-generation.ps1 Outdated
Comment thread src/Core/Azure.DataApiBuilder.Core.csproj
Comment thread src/Cli/Cli.csproj
@RubenCerna2079 RubenCerna2079 changed the title Cherry-Pick: Nuget Core Package Cherry-Pick: Add changes to create Nuget Core Package May 19, 2026
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Review In Progress

Development

Successfully merging this pull request may close these issues.

6 participants