Commit b3db9a1
Update DAB to version 2.0 (#3120)
## Why make this change?
Strategic version bump to major version 2.0 aligning with upcoming
breaking changes and feature releases.
## What is this change?
**Version Update**
- `src/Directory.Build.props`: Version 1.7 → 2.0
- Propagates to all projects via MSBuild inheritance
Version derivation via `ProductInfo.GetProductVersion()` remains
unchanged—continues reading from assembly metadata set by
Directory.Build.props.
**Note**: Documentation and sample configuration files continue to
reference version 1.7.81 and will be updated in a future release.
## How was this tested?
- [x] Integration Tests (solution build verification)
- [x] Unit Tests (version reflection via ProductInfo)
## Sample Request(s)
**CLI Version Verification**
```bash
$ dotnet Microsoft.DataApiBuilder.dll --version
Microsoft.DataApiBuilder 2.0+<commit-hash>
```
**Assembly Version Verification**
The ProductInfo class correctly reflects version 2.0.0 from the assembly
metadata set by Directory.Build.props.
<!-- START COPILOT ORIGINAL PROMPT -->
<details>
<summary>Original prompt</summary>
>
> ----
>
> *This section details on the original issue you should resolve*
>
> <issue_title>Update DAB to major version 2, minor version
0</issue_title>
> <issue_description>We need to update the major version of Data API
builder (DAB) to 2 and the minor version to 0. This aligns DAB's
versioning strategy for upcoming features and fixes.
>
> ## Impact
> - Consumers and integrators will need to adjust for the new major
release.
> - Documentation and internal references will need updating.
>
> ## Requested Actions
> - Increase DAB's major version to 2 and minor version to 0.
> - Review and update version references throughout documentation and
codebase.
> - Ensure version bump complies with release checklist.
>
> ## Additional context
> This change is for strategic alignment with new features and breaking
changes expected in future releases.</issue_description>
>
> <agent_instructions>Make sure to adhere to the
`.github/copilot-instructions.md` file. The `b` in builder of DAB is
always lower case.</agent_instructions>
>
> ## Comments on the Issue (you are @copilot in this section)
>
> <comments>
> </comments>
>
</details>
<!-- START COPILOT CODING AGENT SUFFIX -->
- Fixes #3118
<!-- START COPILOT CODING AGENT TIPS -->
---
💡 You can make Copilot smarter by setting up custom instructions,
customizing its development environment and configuring Model Context
Protocol (MCP) servers. Learn more [Copilot coding agent
tips](https://gh.io/copilot-coding-agent-tips) in the docs.
---------
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: Aniruddh25 <[email protected]>
Co-authored-by: Aniruddh Munde <[email protected]>1 parent 6d2e419 commit b3db9a1
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
0 commit comments