Uploaded image for project: 'Couchbase Go SDK'
  1. Couchbase Go SDK
  2. GOCBC-963

Deprecate GetResult.expiry()

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.2.0
    • library

    Description

      The return type of this method should really be `Instant`, but that would be a breaking change.

      Instead, we can deprecate the `expiry()` method and add an `expiryTime()` method that returns an Instant.

      Attachments

        Issue Links

          For Gerrit Dashboard: GOCBC-963
          # Subject Branch Project Status CR V

          Activity

            The expiry time has been added but we cannot adhere to semver without moving the deprecation to 2.2.0.

            charles.dixon Charles Dixon added a comment - The expiry time has been added but we cannot adhere to semver without moving the deprecation to 2.2.0.

            Build sync_gateway-3.0.0-96 contains gocb commit 67f9a2f with commit message:
            GOCBC-963: Deprecate GetResult.Expiry

            build-team Couchbase Build Team added a comment - Build sync_gateway-3.0.0-96 contains gocb commit 67f9a2f with commit message: GOCBC-963 : Deprecate GetResult.Expiry

            Build couchbase-server-7.0.0-4715 contains gocb commit 67f9a2f with commit message:
            GOCBC-963: Deprecate GetResult.Expiry

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-4715 contains gocb commit 67f9a2f with commit message: GOCBC-963 : Deprecate GetResult.Expiry

            Build couchbase-server-7.1.0-1767 contains gocb commit 67f9a2f with commit message:
            GOCBC-963: Deprecate GetResult.Expiry

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.1.0-1767 contains gocb commit 67f9a2f with commit message: GOCBC-963 : Deprecate GetResult.Expiry

            People

              charles.dixon Charles Dixon
              arun.vijayraghavan Arun Vijayraghavan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty