Bump minimum Go version to 1.21 or higher

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: Build
    • None
    • None
    • Go Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      Context

      Compile floor is currently Go 1.19. This ticket is for collecting justifications for bumping forward.

      Motivators (add as they come up)

      • (1.21+) tls.AlertError — extends topology.wrapConnectionError
        deny-list per CMAP. Tracked under GODRIVER-3906.
      • (1.25+) Can stop ignoring testcontainer-go updates, e.g. https://github.com/mongodb/mongo-go-driver/pull/2384. Re-open this PR if we bump to a Go version > 1.25.0
      • Newer go versions limit the number of dependencies users will have to manually upgrade via minimal version selection since dependabot can update them for us to transitively pass to users.

            Assignee:
            Unassigned
            Reporter:
            Preston Vasquez
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: