Update ORT_API_VERSION to 24 by adrianlizarraga · Pull Request #26418 · microsoft/onnxruntime

@adrianlizarraga

@adrianlizarraga

@adrianlizarraga

adrianlizarraga

snnn

snnn previously approved these changes Oct 27, 2025

@adrianlizarraga

snnn

snnn approved these changes Oct 27, 2025

naomiOvad pushed a commit to naomiOvad/onnxruntime that referenced this pull request

Nov 2, 2025
### Description
- Updates the `ORT_API_VERSION` value in onnxruntime_c_api.h to `24`.
- Edit documentation for the `TensorTypeAndShape_HasShape` API function
to indicate the correct API version (1.24).
- Adds `static_assert` to ensure that API functions for 1.23 are not
added or removed.



### Motivation and Context
The version of ORT was previously updated to 1.24.0 but we forgot to
update `ORT_API_VERSION`.

This was referenced

Feb 9, 2026

This was referenced

Feb 23, 2026