Skip to content

Bump Microsoft.AspNetCore.OData from 9.4.1 to 9.5.0 - #183

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/Examples/ValidationHarness/Microsoft.AspNetCore.OData-9.5.0
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/Examples/ValidationHarness/Microsoft.AspNetCore.OData-9.5.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

Updated Microsoft.AspNetCore.OData from 9.4.1 to 9.5.0.

Release notes

Sourced from Microsoft.AspNetCore.OData's releases.

9.5.0

AspNetCoreOData 9.5.0

Full changelog: OData/AspNetCoreOData@9.4.1...9.5.0

This release focuses on security hardening of query parsing, batch handling, and delta updates, along with several bug fixes and a new configurable safeguard.

🔒 Security

  • Prevent server-driven paging bypass via Prefer: maxpagesize=0 (CWE-1284/CWE-770). A client-supplied maxpagesize is now honored only when it is a positive integer, so the operator-configured PageSize can no longer be disabled to pull an entire collection in one response. Also hardens the header parser against a bare maxpagesize token that previously threw a 500. (4018c71)
  • Bound nested function call and cast() chain depth in filter validation and binding. Adds MaxFunctionCallDepth (default 15) enforcement in both the validator and the binder to mitigate stack-pressure DoS from deeply nested $filter expressions. (e9bf5dc)
  • Strengthen OData batch sub-request URL and header validation. Sub-requests are now validated for matching authority (scheme/host/port), constrained to the OData route prefix (blocking $1/../../../admin-style traversal), and have auth/identity/forwarding headers (Host, X-Forwarded-*, X-MS-Client-Principal-*, X-ARR-*, …) stripped via a deny-list. (491fb92)
  • Set a bounded MaxReceivedMessageSize default (100 MB) (CWE-770) to prevent unbounded resource allocation. (#​1574)
  • Enforce EDM model boundary for open-type property binding in $filter / $orderby / $apply. Open/dynamic property segments now bind only to model-declared properties (resolving EDM→CLR renames correctly), preventing unmodeled CLR properties from leaking. (5e3adee)
  • Respect EDM model exclusions in SelectExpandWrapper. CLR properties excluded via [NotMapped] or .Ignore() no longer surface in $skiptoken values when ordering by an open-type property. (6f91036)
  • Enforce the UpdatableProperties allow-list for nested resources in Delta<T>. Removing a nested (complex / single-valued navigation) property from UpdatableProperties is now respected by Patch()/Put(), closing an over-posting gap. Default behavior is unchanged. (4a192c4)

✨ Enhancements

  • Add MaxFunctionCallDepth setting to limit nested function-call depth, configurable via ODataValidationSettings, ODataQuerySettings, and the [EnableQuery] attribute. (#​1575)

🐛 Bug fixes

  • Build the skip-token filter as an OData AST to correctly handle malformed/unexpected token values (typed ConstantNode/BinaryOperatorNode instead of string concatenation), fixing ordering by nullable/non-nullable bool, enum, and open-type properties. (ec8da22)
  • Fix cast() to Edm.String binding and add test coverage across all property types. (d92c39d)
  • Fixes #​1545: ODataOptions.TimeZone was ignored; dates were always serialized using TimeZoneInfo.Local. (#​1546)

Commits viewable in compare view.

@dependabot @github

dependabot Bot commented on behalf of github Sep 10, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot dependabot Bot added the minor Pull requests requiring a minor version update according to semantic versioning. label Sep 10, 2026
@Tiberriver256

Copy link
Copy Markdown
Owner

@dependabot rebase

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.OData
  dependency-version: 9.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/nuget/Examples/ValidationHarness/Microsoft.AspNetCore.OData-9.5.0 branch from 7277934 to ddce625 Compare September 14, 2026 02:25
@dependabot @github

dependabot Bot commented on behalf of github Sep 14, 2026

Copy link
Copy Markdown
Contributor Author

Looks like Microsoft.AspNetCore.OData is no longer updatable, so this is no longer needed.

@dependabot dependabot Bot closed this Sep 14, 2026
@dependabot
dependabot Bot deleted the dependabot/nuget/Examples/ValidationHarness/Microsoft.AspNetCore.OData-9.5.0 branch September 14, 2026 02:25
Tiberriver256 added a commit that referenced this pull request Sep 14, 2026
- Microsoft.AspNetCore.OData 9.4.1 → 9.5.0 (Source + ValidationHarness)
- Microsoft.OpenApi 3.5.5 → 3.10.2
- MSTest.Analyzers 4.2.2 → 4.4.0
- Swashbuckle.AspNetCore 10.1.7 → 10.2.3 (ValidationHarness)
- Swashbuckle.AspNetCore.Swagger + SwaggerGen 10.1.7 → 10.2.3
- Swashbuckle.AspNetCore.SwaggerUI 10.1.7 → 10.2.3

Consolidates Dependabot PRs #183, #186, #189, #190, #192, #195.
Tiberriver256 added a commit that referenced this pull request Sep 14, 2026
- Microsoft.AspNetCore.OData 9.4.1 → 9.5.0 (Source + ValidationHarness)
- Microsoft.OpenApi 3.5.5 → 3.10.2
- MSTest.Analyzers 4.2.2 → 4.4.0
- Swashbuckle.AspNetCore 10.1.7 → 10.2.3 (ValidationHarness)
- Swashbuckle.AspNetCore.Swagger + SwaggerGen 10.1.7 → 10.2.3
- Swashbuckle.AspNetCore.SwaggerUI 10.1.7 → 10.2.3

Consolidates Dependabot PRs #183, #186, #189, #190, #192, #195.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

minor Pull requests requiring a minor version update according to semantic versioning.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant