Files
documentdb/pg_documentdb_gw
Alexander Laye 90b141027e Merged PR 1684027: Add mongo 8 support to gateway
### Does this PR have any customer impact?

Nothing negative

### Type (Feature, Refactoring, Bugfix, DevOps, Testing, Perf, etc)

Feature

### Does it involve schema level changes? (Table, Column, Index, UDF, etc level changes)

No

### Are you introducing any new config? If yes, do you have tests with and without them being set?

No

### ChangeLog (Refer [Template](../oss/CHANGELOG.md))

Support Mongo version 8 in pg_documentdb_gw *[Feature]*

### Description

Add mongo 8 to list on version.rs

----
#### AI description  (iteration 1)
#### PR Classification
This pull request is an enhancement, adding native support for Mongo 8.

#### PR Summary
The changes update versioning in the OSS gateway to support Mongo 8 by extending the existing enum and its associated conversion methods.
- `oss/pg_documentdb_gw/src/configuration/version.rs`: Added the `Eight` variant to the enum and updated methods to parse "8.0", return `"8.0.0"`, provide the version tuple `[8, 0, 0, 0]`, and assign the corresponding numerical value.
<!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->

Related work items: #4094504
2025-06-05 10:31:32 +08:00
..