[Batch] Beta data plane SDK v15.1.0b3 Track 2#44681
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR is the GA release (version 15.1.0) of the Azure Batch data plane SDK Track 2, consolidating features and changes from beta versions 15.0.0b1 through 15.1.0b2. The release updates the TypeSpec commit reference, improves code security by removing eval() usage, enhances model attribute naming consistency, and updates dependencies.
Changes:
- Updated version from 15.1.0b2 to 15.1.0 (GA release)
- Updated azure-core dependency from >=1.35.0 to >=1.37.0
- Removed eval() usage in serialization code for improved security
- Renamed model attributes for better consistency (e.g.,
read_io_gi_b→read_io_gib,v_tpm_enabled→vtpm_enabled) - Added backward compatibility support through
original_tsp_nameparameter for renamed fields - Improved documentation formatting for OutputFile and VirtualMachineConfiguration classes
- Made
node_agent_infofield optional in BatchNode model - Fixed code formatting and style issues in test files
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| sdk/batch/azure-batch/tsp-location.yaml | Updates TypeSpec commit reference for SDK generation |
| sdk/batch/azure-batch/azure/batch/_version.py | Updates version from 15.1.0b2 to 15.1.0 for GA release |
| sdk/batch/azure-batch/pyproject.toml | Updates azure-core dependency to >=1.37.0 |
| sdk/batch/azure-batch/azure/batch/models/_models.py | Renames model attributes for consistency, adds backward compatibility support, improves documentation formatting, and makes node_agent_info optional |
| sdk/batch/azure-batch/azure/batch/_utils/serialization.py | Removes eval() usage for improved security, replacing with explicit type conversions |
| sdk/batch/azure-batch/azure/batch/_utils/model_base.py | Adds backward compatibility infrastructure, array encoding support, and deserialization caching improvements |
| sdk/batch/azure-batch/tests/test_batch.py | Improves code formatting and style consistency |
| sdk/batch/azure-batch/tests/batch_preparers.py | Improves code formatting and style consistency |
API Change CheckAPIView identified API level changes in this PR and created the following API reviews |
07bcdd4 to
d473483
Compare
scbedd
reviewed
Jan 28, 2026
scbedd
reviewed
Jan 28, 2026
dpwatrous
approved these changes
Feb 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Parameter name change updates.
All SDK Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines