Golang client for LastPass

Overview

Documentation Go Report Card Coverage Status Build Status

Go client for LastPass

Features

  • login via
    • user name and master password
    • two-factor authentication with out-of-band mechanism such as push notification to LastPass Authenticator or Duo Security
    • two-factor authentication with one-time password from LastPass Authenticator, Google Authenticator, Microsoft Authenticator, YubiKey, Duo Security, Sesame, etc.
  • create account
  • read accounts (including accounts from shared folders)
  • update account
  • delete account
  • logout

Documentation

https://pkg.go.dev/github.com/ansd/lastpass-go

Installation

Install:

$ go get github.com/ansd/lastpass-go

Import:

import "github.com/ansd/lastpass-go"

Usage

Below, error handling is excluded for brevity. See examples directory for more examples.

// authenticate with LastPass servers
client, _ := lastpass.NewClient(context.Background(), "user name", "master password")

// two-factor authentication with one-time password as second factor:
// client, _ := lastpass.NewClient(context.Background(), "user name", "master password", lastpass.WithOneTimePassword("123456"))

account := &lastpass.Account{
	Name:     "my site",
	Username: "my user",
	Password: "my pwd",
	URL:      "https://myURL",
	Group:    "my group",
	Notes:    "my notes",
}

// Add() account
client.Add(context.Background(), account)

// read all Accounts()
accounts, _ := client.Accounts(context.Background())

// Update() account
account.Password = "updated password"
client.Update(context.Background(), account)

// Delete() account
client.Delete(context.Background(), account.ID)

// Logout()
client.Logout(context.Background())

Notes

This repository is a port of detunized/lastpass-ruby and a clone of mattn/lastpass-go.

This project is licensed under the MIT License - see the LICENSE file for details.

This repository's ecb (Electronic Codebook) package contains code which is "Copyright 2013 The Go Authors. All rights reserved."

Comments
  • Support for shared folders

    Support for shared folders

    Hi!

    Just wanted to give thanks first for this library, I am porting our Terraform Lastpass Provider away from lastpass-cli to use this library instead but I have encountered an issue with shared directories during my tests.

    With lastpass-cli it's possible to create secrets with shared folders as part of the name, example: Shared-Team-X/terraform-provider-lastpass test and it will automatically split the path and use Shared-Team-X as the shared directory and terraform-provider-lastpass test as its name. It also generates a variable/field called fullname which concatenates both.

    I tried todo the same with this library without success, the name field stays the same and share variable is never set.

    I guess there is some differences in how they call the API, but it would be fantastic to support shared directories.

    On another note is it possible for lastpass-go to fetch a couple of extra fields like fullname, last_modified_gmt and last_touch? These are not super important but nice to get full parity with the lastpass-cli client.

    Either way fantastic work and would be very happy to get rid of lastpass-cli and run everything natively in Go ;)

    opened by martensson 8
  • Possibility to save sessions?

    Possibility to save sessions?

    Hi! I am investigating ways to use the Lastpass API and found this fork that seems like the most complete and that also supports 2FA. But is there a way for the client to save the token/session across runs? Depending on the use case, and to automate things it is a bit cumbersome having to input a new key for every run. Something similar to lastpass-cli --trust feature. Thanks! :)

    opened by martensson 5
  • client: Offline usage support

    client: Offline usage support

    This set of changes refactors Client-related code to support offline functionality.

    This is accomplished by allowing callers to obtain and supply data that is ordinarily provided by LastPass' networked service. The goal of these changes is to enable an implementation of the LastPass CLI, which can function completely offline if it has an existing copy of the user's encrypted accounts and other encrypted data derived from the user's master password.

    The following public APIs have been added:

    • NewClientFromSession - Function that returns a new *Client based a provided Session object
    • WithHTTPClient - A ClientOption that allows users to specify their own HTTP client implementation
    • HTTPClient - An interface that abstracts the Go http.Client.Do method
    • Client.Session - A method that returns the current Session object
    • Session - The original session struct, but now public and representative of session-specific data (mainly, the EncryptionKey field)
    • Client.FetchEncryptedAccounts - A method that permits callers to obtain their encrypted accounts from LastPass
    • Client.ParseEncryptedAccounts - A method that allows callers to parse the encrypted accounts returned by FetchEncryptedAccounts

    In the process of implementing these changes, I tried to de-clutter some of the internal functions. There are probably more changes than really needed, but it helped me better understand the various relationships between things in the code.

    opened by stephen-fox 4
  • Error while calling NewClient

    Error while calling NewClient

    Hey,

    I'm getting an error when trying to create NewClient function. see example:

    client, err := lastpass.NewClient(context.Background(), username, masterPassword)
    

    The error is: input is only 0 bytes; expected at least 16 bytes

    It looks like the field privatekeyenc returns empty from API, and the function decryptPrivateKey based on this field returns an error.

    opened by kaplanelad 3
  • Can´t manage to create new client

    Can´t manage to create new client

    Hi! I am very interested in using this library, but I am having trouble to start trying it out. I am using 2FA, but no matter how I try to login I always get the following error: input is only 0 bytes; expected at least 16 bytes. Not sure if it is because Lastpass changed something or what it could be. Using the following snippet:

    	logger := log.New(os.Stderr, "client logger ", log.LstdFlags)
    	client, err := lastpass.NewClient(context.Background(), "email", "hunter123", lastpass.WithOneTimePassword("123456"), lastpass.WithLogger(logger))
    	if err != nil {
    		log.Fatalln(err)
    	}
    

    Thanks a lot for this library!

    opened by martensson 3
  • Bump github.com/onsi/gomega from 1.5.0 to 1.6.0

    Bump github.com/onsi/gomega from 1.5.0 to 1.6.0

    Bumps github.com/onsi/gomega from 1.5.0 to 1.6.0.

    Release notes

    Sourced from github.com/onsi/gomega's releases.

    v1.6.0

    Features

    • Display special chars on error [41e1b26]
    • Add BeElementOf matcher [6a48b48]

    Fixes

    • Remove duplication in XML matcher tests [cc1a6cb]
    • Remove unnecessary conversions (#357) [7bf756a]
    • Fixed import order (#353) [2e3b965]
    • Added missing error handling in test (#355) [c98d3eb]
    • Simplify code (#356) [0001ed9]
    • Simplify code (#354) [0d9100e]
    • Fixed typos (#352) [3f647c4]
    • Add failure message tests to BeElementOf matcher [efe19c3]
    • Update go-testcov untested sections [37ee382]
    • Mark all uncovered files so go-testcov ./... works [53b150e]
    • Reenable gotip in travis [5c249dc]
    • Fix the typo of comment (#345) [f0e010e]
    • Optimize contain_element_matcher [abeb93d]
    Changelog

    Sourced from github.com/onsi/gomega's changelog.

    1.6.0

    Features

    • Display special chars on error [41e1b26]
    • Add BeElementOf matcher [6a48b48]

    Fixes

    • Remove duplication in XML matcher tests [cc1a6cb]
    • Remove unnecessary conversions (#357) [7bf756a]
    • Fixed import order (#353) [2e3b965]
    • Added missing error handling in test (#355) [c98d3eb]
    • Simplify code (#356) [0001ed9]
    • Simplify code (#354) [0d9100e]
    • Fixed typos (#352) [3f647c4]
    • Add failure message tests to BeElementOf matcher [efe19c3]
    • Update go-testcov untested sections [37ee382]
    • Mark all uncovered files so go-testcov ./... works [53b150e]
    • Reenable gotip in travis [5c249dc]
    • Fix the typo of comment (#345) [f0e010e]
    • Optimize contain_element_matcher [abeb93d]
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

    Dependabot will merge this PR once CI passes on it, as requested by @ansd.


    Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

    You can always request more updates by clicking Bump now in your Dependabot dashboard.

    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Pull request limits (per update run and/or open at any time)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)

    Finally, you can contact us by mentioning @dependabot.

    dependencies 
    opened by dependabot-preview[bot] 2
  • Bump github.com/onsi/ginkgo/v2 from 2.1.6 to 2.6.0

    Bump github.com/onsi/ginkgo/v2 from 2.1.6 to 2.6.0

    Bumps github.com/onsi/ginkgo/v2 from 2.1.6 to 2.6.0.

    Release notes

    Sourced from github.com/onsi/ginkgo/v2's releases.

    v2.6.0

    2.6.0

    Features

    • ReportBeforeSuite provides access to the suite report before the suite begins.
    • Add junit config option for omitting leafnodetype (#1088) [956e6d2]
    • Add support to customize junit report config to omit spec labels (#1087) [de44005]

    Fixes

    • Fix stack trace pruning so that it has a chance of working on windows [2165648]

    v2.5.1

    2.5.1

    Fixes

    • skipped tests only show as 'S' when running with -v [3ab38ae]
    • Fix typo in docs/index.md (#1082) [55fc58d]
    • Fix typo in docs/index.md (#1081) [8a14f1f]
    • Fix link notation in docs/index.md (#1080) [2669612]
    • Fix typo in --progress deprecation message (#1076) [b4b7edc]

    Maintenance

    • chore: Included githubactions in the dependabot config (#976) [baea341]
    • Bump golang.org/x/sys from 0.1.0 to 0.2.0 (#1075) [9646297]

    v2.5.0

    2.5.0

    Ginkgo output now includes a timeline-view of the spec

    This commit changes Ginkgo's default output. Spec details are now presented as a timeline that includes events that occur during the spec lifecycle interleaved with any GinkgoWriter content. This makes is much easier to understand the flow of a spec and where a given failure occurs.

    The --progress, --slow-spec-threshold, --always-emit-ginkgo-writer flags and the SuppressProgressReporting decorator have all been deprecated. Instead the existing -v and -vv flags better capture the level of verbosity to display. However, a new --show-node-events flag is added to include node > Enter and < Exit events in the spec timeline.

    In addition, JUnit reports now include the timeline (rendered with -vv) and custom JUnit reports can be configured and generated using GenerateJUnitReportWithConfig(report types.Report, dst string, config JunitReportConfig)

    Code should continue to work unchanged with this version of Ginkgo - however if you have tooling that was relying on the specific output format of Ginkgo you may run into issues. Ginkgo's console output is not guaranteed to be stable for tooling and automation purposes. You should, instead, use Ginkgo's JSON format to build tooling on top of as it has stronger guarantees to be stable from version to version.

    Features

    ... (truncated)

    Changelog

    Sourced from github.com/onsi/ginkgo/v2's changelog.

    2.6.0

    Features

    • ReportBeforeSuite provides access to the suite report before the suite begins.
    • Add junit config option for omitting leafnodetype (#1088) [956e6d2]
    • Add support to customize junit report config to omit spec labels (#1087) [de44005]

    Fixes

    • Fix stack trace pruning so that it has a chance of working on windows [2165648]

    2.5.1

    Fixes

    • skipped tests only show as 'S' when running with -v [3ab38ae]
    • Fix typo in docs/index.md (#1082) [55fc58d]
    • Fix typo in docs/index.md (#1081) [8a14f1f]
    • Fix link notation in docs/index.md (#1080) [2669612]
    • Fix typo in --progress deprecation message (#1076) [b4b7edc]

    Maintenance

    • chore: Included githubactions in the dependabot config (#976) [baea341]
    • Bump golang.org/x/sys from 0.1.0 to 0.2.0 (#1075) [9646297]

    2.5.0

    Ginkgo output now includes a timeline-view of the spec

    This commit changes Ginkgo's default output. Spec details are now presented as a timeline that includes events that occur during the spec lifecycle interleaved with any GinkgoWriter content. This makes is much easier to understand the flow of a spec and where a given failure occurs.

    The --progress, --slow-spec-threshold, --always-emit-ginkgo-writer flags and the SuppressProgressReporting decorator have all been deprecated. Instead the existing -v and -vv flags better capture the level of verbosity to display. However, a new --show-node-events flag is added to include node > Enter and < Exit events in the spec timeline.

    In addition, JUnit reports now include the timeline (rendered with -vv) and custom JUnit reports can be configured and generated using GenerateJUnitReportWithConfig(report types.Report, dst string, config JunitReportConfig)

    Code should continue to work unchanged with this version of Ginkgo - however if you have tooling that was relying on the specific output format of Ginkgo you may run into issues. Ginkgo's console output is not guaranteed to be stable for tooling and automation purposes. You should, instead, use Ginkgo's JSON format to build tooling on top of as it has stronger guarantees to be stable from version to version.

    Features

    • Provide details about which timeout expired [0f2fa27]

    Fixes

    ... (truncated)

    Commits
    • 6ad4fae v2.6.0
    • 366815d fix race in internal integration spec
    • 1869212 Refactor and clean up ReportBeforeSuite additions.
    • 52b4b9c ReportBeforeSuite provides the suite report before the suite begins
    • 2165648 Fix stack trace pruning so that it has a chance of working on windows
    • 956e6d2 Add junit config option for omitting leafnodetype (#1088)
    • 8804859 Fix typo in docs (#1089)
    • de44005 Add support to customize junit report config to omit spec labels (#1087)
    • a3eed17 v2.5.1
    • 3ab38ae skipped tests only show as 'S' when running with -v
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump github.com/onsi/ginkgo/v2 from 2.1.6 to 2.5.1

    Bump github.com/onsi/ginkgo/v2 from 2.1.6 to 2.5.1

    Bumps github.com/onsi/ginkgo/v2 from 2.1.6 to 2.5.1.

    Release notes

    Sourced from github.com/onsi/ginkgo/v2's releases.

    v2.5.1

    2.5.1

    Fixes

    • skipped tests only show as 'S' when running with -v [3ab38ae]
    • Fix typo in docs/index.md (#1082) [55fc58d]
    • Fix typo in docs/index.md (#1081) [8a14f1f]
    • Fix link notation in docs/index.md (#1080) [2669612]
    • Fix typo in --progress deprecation message (#1076) [b4b7edc]

    Maintenance

    • chore: Included githubactions in the dependabot config (#976) [baea341]
    • Bump golang.org/x/sys from 0.1.0 to 0.2.0 (#1075) [9646297]

    v2.5.0

    2.5.0

    Ginkgo output now includes a timeline-view of the spec

    This commit changes Ginkgo's default output. Spec details are now presented as a timeline that includes events that occur during the spec lifecycle interleaved with any GinkgoWriter content. This makes is much easier to understand the flow of a spec and where a given failure occurs.

    The --progress, --slow-spec-threshold, --always-emit-ginkgo-writer flags and the SuppressProgressReporting decorator have all been deprecated. Instead the existing -v and -vv flags better capture the level of verbosity to display. However, a new --show-node-events flag is added to include node > Enter and < Exit events in the spec timeline.

    In addition, JUnit reports now include the timeline (rendered with -vv) and custom JUnit reports can be configured and generated using GenerateJUnitReportWithConfig(report types.Report, dst string, config JunitReportConfig)

    Code should continue to work unchanged with this version of Ginkgo - however if you have tooling that was relying on the specific output format of Ginkgo you may run into issues. Ginkgo's console output is not guaranteed to be stable for tooling and automation purposes. You should, instead, use Ginkgo's JSON format to build tooling on top of as it has stronger guarantees to be stable from version to version.

    Features

    • Provide details about which timeout expired [0f2fa27]

    Fixes

    • Add Support Policy to docs [c70867a]

    Maintenance

    • Bump github.com/onsi/gomega from 1.22.1 to 1.23.0 (#1070) [bb3b4e2]

    v2.4.0

    2.4.0

    ... (truncated)

    Changelog

    Sourced from github.com/onsi/ginkgo/v2's changelog.

    2.5.1

    Fixes

    • skipped tests only show as 'S' when running with -v [3ab38ae]
    • Fix typo in docs/index.md (#1082) [55fc58d]
    • Fix typo in docs/index.md (#1081) [8a14f1f]
    • Fix link notation in docs/index.md (#1080) [2669612]
    • Fix typo in --progress deprecation message (#1076) [b4b7edc]

    Maintenance

    • chore: Included githubactions in the dependabot config (#976) [baea341]
    • Bump golang.org/x/sys from 0.1.0 to 0.2.0 (#1075) [9646297]

    2.5.0

    Ginkgo output now includes a timeline-view of the spec

    This commit changes Ginkgo's default output. Spec details are now presented as a timeline that includes events that occur during the spec lifecycle interleaved with any GinkgoWriter content. This makes is much easier to understand the flow of a spec and where a given failure occurs.

    The --progress, --slow-spec-threshold, --always-emit-ginkgo-writer flags and the SuppressProgressReporting decorator have all been deprecated. Instead the existing -v and -vv flags better capture the level of verbosity to display. However, a new --show-node-events flag is added to include node > Enter and < Exit events in the spec timeline.

    In addition, JUnit reports now include the timeline (rendered with -vv) and custom JUnit reports can be configured and generated using GenerateJUnitReportWithConfig(report types.Report, dst string, config JunitReportConfig)

    Code should continue to work unchanged with this version of Ginkgo - however if you have tooling that was relying on the specific output format of Ginkgo you may run into issues. Ginkgo's console output is not guaranteed to be stable for tooling and automation purposes. You should, instead, use Ginkgo's JSON format to build tooling on top of as it has stronger guarantees to be stable from version to version.

    Features

    • Provide details about which timeout expired [0f2fa27]

    Fixes

    • Add Support Policy to docs [c70867a]

    Maintenance

    • Bump github.com/onsi/gomega from 1.22.1 to 1.23.0 (#1070) [bb3b4e2]

    2.4.0

    Features

    • DeferCleanup supports functions with multiple-return values [5e33c75]

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump github.com/onsi/gomega from 1.20.2 to 1.24.1

    Bump github.com/onsi/gomega from 1.20.2 to 1.24.1

    Bumps github.com/onsi/gomega from 1.20.2 to 1.24.1.

    Release notes

    Sourced from github.com/onsi/gomega's releases.

    v1.24.1

    No release notes provided.

    v1.24.0

    1.24.0

    Features

    Introducting gcustom - a convenient mechanism for building custom matchers.

    This is an RC release for gcustom. The external API may be tweaked in response to feedback however it is expected to remain mostly stable.

    Maintenance

    • Update BeComparableTo documentation [756eaa0]

    v1.23.0

    1.23.0

    Features

    • Custom formatting on a per-type basis can be provided using format.RegisterCustomFormatter() -- see the docs here

    • Substantial improvement have been made to StopTrying():

      • Users can now use StopTrying().Wrap(err) to wrap errors and StopTrying().Attach(description, object) to attach arbitrary objects to the StopTrying() error
      • StopTrying() is now always interpreted as a failure. If you are an early adopter of StopTrying() you may need to change your code as the prior version would match against the returned value even if StopTrying() was returned. Going forward the StopTrying() api should remain stable.
      • StopTrying() and StopTrying().Now() can both be used in matchers - not just polled functions.
    • TryAgainAfter(duration) is used like StopTrying() but instructs Eventually and Consistently that the poll should be tried again after the specified duration. This allows you to dynamically adjust the polling duration.

    • ctx can now be passed-in as the first argument to Eventually and Consistently.

    Maintenance

    • Bump github.com/onsi/ginkgo/v2 from 2.3.0 to 2.3.1 (#597) [afed901]
    • Bump nokogiri from 1.13.8 to 1.13.9 in /docs (#599) [7c691b3]
    • Bump github.com/google/go-cmp from 0.5.8 to 0.5.9 (#587) [ff22665]

    v1.22.1

    1.22.1

    Fixes

    • When passed a context and no explicit timeout, Eventually will only timeout when the context is cancelled [e5105cf]
    • Allow StopTrying() to be wrapped [bf3cba9]

    Maintenance

    • bump to ginkgo v2.3.0 [c5d5c39]

    v1.22.0

    1.22.0

    ... (truncated)

    Changelog

    Sourced from github.com/onsi/gomega's changelog.

    1.24.1

    Fixes

    • maintain backward compatibility for Eventually and Consisntetly's signatures [4c7df5e]
    • fix small typo (#601) [ea0ebe6]

    Maintenance

    • Bump golang.org/x/net from 0.1.0 to 0.2.0 (#603) [1ba8372]
    • Bump github.com/onsi/ginkgo/v2 from 2.4.0 to 2.5.0 (#602) [f9426cb]
    • fix label-filter in test.yml [d795db6]
    • stop running flakey tests and rely on external network dependencies in CI [7133290]

    1.24.0

    Features

    Introducting gcustom - a convenient mechanism for building custom matchers.

    This is an RC release for gcustom. The external API may be tweaked in response to feedback however it is expected to remain mostly stable.

    Maintenance

    • Update BeComparableTo documentation [756eaa0]

    1.23.0

    Features

    • Custom formatting on a per-type basis can be provided using format.RegisterCustomFormatter() -- see the docs here

    • Substantial improvement have been made to StopTrying():

      • Users can now use StopTrying().Wrap(err) to wrap errors and StopTrying().Attach(description, object) to attach arbitrary objects to the StopTrying() error
      • StopTrying() is now always interpreted as a failure. If you are an early adopter of StopTrying() you may need to change your code as the prior version would match against the returned value even if StopTrying() was returned. Going forward the StopTrying() api should remain stable.
      • StopTrying() and StopTrying().Now() can both be used in matchers - not just polled functions.
    • TryAgainAfter(duration) is used like StopTrying() but instructs Eventually and Consistently that the poll should be tried again after the specified duration. This allows you to dynamically adjust the polling duration.

    • ctx can now be passed-in as the first argument to Eventually and Consistently.

    Maintenance

    • Bump github.com/onsi/ginkgo/v2 from 2.3.0 to 2.3.1 (#597) [afed901]
    • Bump nokogiri from 1.13.8 to 1.13.9 in /docs (#599) [7c691b3]
    • Bump github.com/google/go-cmp from 0.5.8 to 0.5.9 (#587) [ff22665]

    1.22.1

    Fixes

    • When passed a context and no explicit timeout, Eventually will only timeout when the context is cancelled [e5105cf]
    • Allow StopTrying() to be wrapped [bf3cba9]

    ... (truncated)

    Commits
    • 3eef0d7 v1.24.1
    • 4c7df5e maintain backward compatibility for Eventually and Consisntetly's signatures
    • 1ba8372 Bump golang.org/x/net from 0.1.0 to 0.2.0 (#603)
    • f9426cb Bump github.com/onsi/ginkgo/v2 from 2.4.0 to 2.5.0 (#602)
    • ea0ebe6 fix small typo (#601)
    • d795db6 fix label-filter in test.yml
    • 7133290 stop running flakey tests and rely on external network dependencies in CI
    • ed1156b v1.24.0
    • 756eaa0 Update BeComparableTo documentation
    • 6015576 finish documenting gcustom
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump github.com/onsi/ginkgo/v2 from 2.1.6 to 2.5.0

    Bump github.com/onsi/ginkgo/v2 from 2.1.6 to 2.5.0

    Bumps github.com/onsi/ginkgo/v2 from 2.1.6 to 2.5.0.

    Release notes

    Sourced from github.com/onsi/ginkgo/v2's releases.

    v2.5.0

    2.5.0

    Ginkgo output now includes a timeline-view of the spec

    This commit changes Ginkgo's default output. Spec details are now presented as a timeline that includes events that occur during the spec lifecycle interleaved with any GinkgoWriter content. This makes is much easier to understand the flow of a spec and where a given failure occurs.

    The --progress, --slow-spec-threshold, --always-emit-ginkgo-writer flags and the SuppressProgressReporting decorator have all been deprecated. Instead the existing -v and -vv flags better capture the level of verbosity to display. However, a new --show-node-events flag is added to include node > Enter and < Exit events in the spec timeline.

    In addition, JUnit reports now include the timeline (rendered with -vv) and custom JUnit reports can be configured and generated using GenerateJUnitReportWithConfig(report types.Report, dst string, config JunitReportConfig)

    Code should continue to work unchanged with this version of Ginkgo - however if you have tooling that was relying on the specific output format of Ginkgo you may run into issues. Ginkgo's console output is not guaranteed to be stable for tooling and automation purposes. You should, instead, use Ginkgo's JSON format to build tooling on top of as it has stronger guarantees to be stable from version to version.

    Features

    • Provide details about which timeout expired [0f2fa27]

    Fixes

    • Add Support Policy to docs [c70867a]

    Maintenance

    • Bump github.com/onsi/gomega from 1.22.1 to 1.23.0 (#1070) [bb3b4e2]

    v2.4.0

    2.4.0

    Features

    • DeferCleanup supports functions with multiple-return values [5e33c75]
    • Add GinkgoLogr (#1067) [bf78c28]
    • Introduction of 'MustPassRepeatedly' decorator (#1051) [047c02f]

    Fixes

    • correcting some typos (#1064) [1403d3c]
    • fix flaky internal_integration interupt specs [2105ba3]
    • Correct busted link in README [be6b5b9]

    Maintenance

    • Bump actions/checkout from 2 to 3 (#1062) [8a2f483]
    • Bump golang.org/x/tools from 0.1.12 to 0.2.0 (#1065) [529c4e8]

    ... (truncated)

    Changelog

    Sourced from github.com/onsi/ginkgo/v2's changelog.

    2.5.0

    Ginkgo output now includes a timeline-view of the spec

    This commit changes Ginkgo's default output. Spec details are now presented as a timeline that includes events that occur during the spec lifecycle interleaved with any GinkgoWriter content. This makes is much easier to understand the flow of a spec and where a given failure occurs.

    The --progress, --slow-spec-threshold, --always-emit-ginkgo-writer flags and the SuppressProgressReporting decorator have all been deprecated. Instead the existing -v and -vv flags better capture the level of verbosity to display. However, a new --show-node-events flag is added to include node > Enter and < Exit events in the spec timeline.

    In addition, JUnit reports now include the timeline (rendered with -vv) and custom JUnit reports can be configured and generated using GenerateJUnitReportWithConfig(report types.Report, dst string, config JunitReportConfig)

    Code should continue to work unchanged with this version of Ginkgo - however if you have tooling that was relying on the specific output format of Ginkgo you may run into issues. Ginkgo's console output is not guaranteed to be stable for tooling and automation purposes. You should, instead, use Ginkgo's JSON format to build tooling on top of as it has stronger guarantees to be stable from version to version.

    Features

    • Provide details about which timeout expired [0f2fa27]

    Fixes

    • Add Support Policy to docs [c70867a]

    Maintenance

    • Bump github.com/onsi/gomega from 1.22.1 to 1.23.0 (#1070) [bb3b4e2]

    2.4.0

    Features

    • DeferCleanup supports functions with multiple-return values [5e33c75]
    • Add GinkgoLogr (#1067) [bf78c28]
    • Introduction of 'MustPassRepeatedly' decorator (#1051) [047c02f]

    Fixes

    • correcting some typos (#1064) [1403d3c]
    • fix flaky internal_integration interupt specs [2105ba3]
    • Correct busted link in README [be6b5b9]

    Maintenance

    • Bump actions/checkout from 2 to 3 (#1062) [8a2f483]
    • Bump golang.org/x/tools from 0.1.12 to 0.2.0 (#1065) [529c4e8]
    • Bump github/codeql-action from 1 to 2 (#1061) [da09146]
    • Bump actions/setup-go from 2 to 3 (#1060) [918040d]

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump github.com/onsi/gomega from 1.20.2 to 1.24.0

    Bump github.com/onsi/gomega from 1.20.2 to 1.24.0

    Bumps github.com/onsi/gomega from 1.20.2 to 1.24.0.

    Release notes

    Sourced from github.com/onsi/gomega's releases.

    v1.24.0

    1.24.0

    Features

    Introducting gcustom - a convenient mechanism for building custom matchers.

    This is an RC release for gcustom. The external API may be tweaked in response to feedback however it is expected to remain mostly stable.

    Maintenance

    • Update BeComparableTo documentation [756eaa0]

    v1.23.0

    1.23.0

    Features

    • Custom formatting on a per-type basis can be provided using format.RegisterCustomFormatter() -- see the docs here

    • Substantial improvement have been made to StopTrying():

      • Users can now use StopTrying().Wrap(err) to wrap errors and StopTrying().Attach(description, object) to attach arbitrary objects to the StopTrying() error
      • StopTrying() is now always interpreted as a failure. If you are an early adopter of StopTrying() you may need to change your code as the prior version would match against the returned value even if StopTrying() was returned. Going forward the StopTrying() api should remain stable.
      • StopTrying() and StopTrying().Now() can both be used in matchers - not just polled functions.
    • TryAgainAfter(duration) is used like StopTrying() but instructs Eventually and Consistently that the poll should be tried again after the specified duration. This allows you to dynamically adjust the polling duration.

    • ctx can now be passed-in as the first argument to Eventually and Consistently.

    Maintenance

    • Bump github.com/onsi/ginkgo/v2 from 2.3.0 to 2.3.1 (#597) [afed901]
    • Bump nokogiri from 1.13.8 to 1.13.9 in /docs (#599) [7c691b3]
    • Bump github.com/google/go-cmp from 0.5.8 to 0.5.9 (#587) [ff22665]

    v1.22.1

    1.22.1

    Fixes

    • When passed a context and no explicit timeout, Eventually will only timeout when the context is cancelled [e5105cf]
    • Allow StopTrying() to be wrapped [bf3cba9]

    Maintenance

    • bump to ginkgo v2.3.0 [c5d5c39]

    v1.22.0

    1.22.0

    Features

    Several improvements have been made to Eventually and Consistently in this and the most recent releases:

    ... (truncated)

    Changelog

    Sourced from github.com/onsi/gomega's changelog.

    1.24.0

    Features

    Introducting gcustom - a convenient mechanism for building custom matchers.

    This is an RC release for gcustom. The external API may be tweaked in response to feedback however it is expected to remain mostly stable.

    Maintenance

    • Update BeComparableTo documentation [756eaa0]

    1.23.0

    Features

    • Custom formatting on a per-type basis can be provided using format.RegisterCustomFormatter() -- see the docs here

    • Substantial improvement have been made to StopTrying():

      • Users can now use StopTrying().Wrap(err) to wrap errors and StopTrying().Attach(description, object) to attach arbitrary objects to the StopTrying() error
      • StopTrying() is now always interpreted as a failure. If you are an early adopter of StopTrying() you may need to change your code as the prior version would match against the returned value even if StopTrying() was returned. Going forward the StopTrying() api should remain stable.
      • StopTrying() and StopTrying().Now() can both be used in matchers - not just polled functions.
    • TryAgainAfter(duration) is used like StopTrying() but instructs Eventually and Consistently that the poll should be tried again after the specified duration. This allows you to dynamically adjust the polling duration.

    • ctx can now be passed-in as the first argument to Eventually and Consistently.

    Maintenance

    • Bump github.com/onsi/ginkgo/v2 from 2.3.0 to 2.3.1 (#597) [afed901]
    • Bump nokogiri from 1.13.8 to 1.13.9 in /docs (#599) [7c691b3]
    • Bump github.com/google/go-cmp from 0.5.8 to 0.5.9 (#587) [ff22665]

    1.22.1

    Fixes

    • When passed a context and no explicit timeout, Eventually will only timeout when the context is cancelled [e5105cf]
    • Allow StopTrying() to be wrapped [bf3cba9]

    Maintenance

    • bump to ginkgo v2.3.0 [c5d5c39]

    1.22.0

    Features

    Several improvements have been made to Eventually and Consistently in this and the most recent releases:

    • Eventually and Consistently can take a context.Context [65c01bc] This enables integration with Ginkgo 2.3.0's interruptible nodes and node timeouts.
    • Eventually and Consistently that are passed a SpecContext can provide reports when an interrupt occurs [0d063c9]

    ... (truncated)

    Commits
    • ed1156b v1.24.0
    • 756eaa0 Update BeComparableTo documentation
    • 6015576 finish documenting gcustom
    • 0cfc53b godoc for gcustom
    • 6a2e51e First pass at gcustom: a convenience package for making custom matchers. Doc...
    • bf817a4 v1.23.0
    • 7b8b801 fix broken call to Eventually
    • ba35cc6 Allow ctx to be passed in as a leading parameter for Eventually and Consistently
    • 818b78c AsyncAssertions emit the format.Object representation of the error when it i...
    • d63d67e Rename AsyncSignalError to PollingSignalError
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump github.com/onsi/ginkgo/v2 from 2.1.6 to 2.6.1

    Bump github.com/onsi/ginkgo/v2 from 2.1.6 to 2.6.1

    Bumps github.com/onsi/ginkgo/v2 from 2.1.6 to 2.6.1.

    Release notes

    Sourced from github.com/onsi/ginkgo/v2's releases.

    v2.6.1

    2.6.1

    Features

    • Override formatter colors from envvars - this is a new feature but an alternative approach involving config files might be taken in the future (#1095) [60240d1]

    Fixes

    • GinkgoRecover now supports ignoring panics that match a specific, hidden, interface [301f3e2]

    Maintenance

    • Bump github.com/onsi/gomega from 1.24.0 to 1.24.1 (#1077) [3643823]
    • Bump golang.org/x/tools from 0.2.0 to 0.4.0 (#1090) [f9f856e]
    • Bump nokogiri from 1.13.9 to 1.13.10 in /docs (#1091) [0d7087e]

    v2.6.0

    2.6.0

    Features

    • ReportBeforeSuite provides access to the suite report before the suite begins.
    • Add junit config option for omitting leafnodetype (#1088) [956e6d2]
    • Add support to customize junit report config to omit spec labels (#1087) [de44005]

    Fixes

    • Fix stack trace pruning so that it has a chance of working on windows [2165648]

    v2.5.1

    2.5.1

    Fixes

    • skipped tests only show as 'S' when running with -v [3ab38ae]
    • Fix typo in docs/index.md (#1082) [55fc58d]
    • Fix typo in docs/index.md (#1081) [8a14f1f]
    • Fix link notation in docs/index.md (#1080) [2669612]
    • Fix typo in --progress deprecation message (#1076) [b4b7edc]

    Maintenance

    • chore: Included githubactions in the dependabot config (#976) [baea341]
    • Bump golang.org/x/sys from 0.1.0 to 0.2.0 (#1075) [9646297]

    v2.5.0

    2.5.0

    Ginkgo output now includes a timeline-view of the spec

    This commit changes Ginkgo's default output. Spec details are now presented as a timeline that includes events that occur during the spec lifecycle interleaved with any GinkgoWriter content. This makes is much easier to understand the flow of a spec and where a given failure occurs.

    The --progress, --slow-spec-threshold, --always-emit-ginkgo-writer flags

    ... (truncated)

    Changelog

    Sourced from github.com/onsi/ginkgo/v2's changelog.

    2.6.1

    Features

    • Override formatter colors from envvars - this is a new feature but an alternative approach involving config files might be taken in the future (#1095) [60240d1]

    Fixes

    • GinkgoRecover now supports ignoring panics that match a specific, hidden, interface [301f3e2]

    Maintenance

    • Bump github.com/onsi/gomega from 1.24.0 to 1.24.1 (#1077) [3643823]
    • Bump golang.org/x/tools from 0.2.0 to 0.4.0 (#1090) [f9f856e]
    • Bump nokogiri from 1.13.9 to 1.13.10 in /docs (#1091) [0d7087e]

    2.6.0

    Features

    • ReportBeforeSuite provides access to the suite report before the suite begins.
    • Add junit config option for omitting leafnodetype (#1088) [956e6d2]
    • Add support to customize junit report config to omit spec labels (#1087) [de44005]

    Fixes

    • Fix stack trace pruning so that it has a chance of working on windows [2165648]

    2.5.1

    Fixes

    • skipped tests only show as 'S' when running with -v [3ab38ae]
    • Fix typo in docs/index.md (#1082) [55fc58d]
    • Fix typo in docs/index.md (#1081) [8a14f1f]
    • Fix link notation in docs/index.md (#1080) [2669612]
    • Fix typo in --progress deprecation message (#1076) [b4b7edc]

    Maintenance

    • chore: Included githubactions in the dependabot config (#976) [baea341]
    • Bump golang.org/x/sys from 0.1.0 to 0.2.0 (#1075) [9646297]

    2.5.0

    Ginkgo output now includes a timeline-view of the spec

    This commit changes Ginkgo's default output. Spec details are now presented as a timeline that includes events that occur during the spec lifecycle interleaved with any GinkgoWriter content. This makes is much easier to understand the flow of a spec and where a given failure occurs.

    The --progress, --slow-spec-threshold, --always-emit-ginkgo-writer flags and the SuppressProgressReporting decorator have all been deprecated. Instead the existing -v and -vv flags better capture the level of verbosity to display. However, a new --show-node-events flag is added to include node > Enter and < Exit events in the spec timeline.

    ... (truncated)

    Commits
    • e7e3db7 v2.6.1
    • 301f3e2 GinkgoRecover now supports ignoring panics that match a specific, hidden, int...
    • 60240d1 Override formatter colors from envvars (#1095)
    • 3643823 Bump github.com/onsi/gomega from 1.24.0 to 1.24.1 (#1077)
    • f9f856e Bump golang.org/x/tools from 0.2.0 to 0.4.0 (#1090)
    • 0d7087e Bump nokogiri from 1.13.9 to 1.13.10 in /docs (#1091)
    • 6ad4fae v2.6.0
    • 366815d fix race in internal integration spec
    • 1869212 Refactor and clean up ReportBeforeSuite additions.
    • 52b4b9c ReportBeforeSuite provides the suite report before the suite begins
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 0
  • Bump github.com/onsi/gomega from 1.20.2 to 1.24.2

    Bump github.com/onsi/gomega from 1.20.2 to 1.24.2

    Bumps github.com/onsi/gomega from 1.20.2 to 1.24.2.

    Release notes

    Sourced from github.com/onsi/gomega's releases.

    v1.24.2

    1.24.2

    Fixes

    • Correctly handle assertion failure panics for eventually/consistnetly "g Gomega"s in a goroutine [78f1660]
    • docs:Fix typo "you an" -> "you can" (#607) [3187c1f]
    • fixes issue #600 (#606) [808d192]

    Maintenance

    • Bump golang.org/x/net from 0.2.0 to 0.4.0 (#611) [6ebc0bf]
    • Bump nokogiri from 1.13.9 to 1.13.10 in /docs (#612) [258cfc8]
    • Bump github.com/onsi/ginkgo/v2 from 2.5.0 to 2.5.1 (#609) [e6c3eb9]

    v1.24.1

    No release notes provided.

    v1.24.0

    1.24.0

    Features

    Introducting gcustom - a convenient mechanism for building custom matchers.

    This is an RC release for gcustom. The external API may be tweaked in response to feedback however it is expected to remain mostly stable.

    Maintenance

    • Update BeComparableTo documentation [756eaa0]

    v1.23.0

    1.23.0

    Features

    • Custom formatting on a per-type basis can be provided using format.RegisterCustomFormatter() -- see the docs here

    • Substantial improvement have been made to StopTrying():

      • Users can now use StopTrying().Wrap(err) to wrap errors and StopTrying().Attach(description, object) to attach arbitrary objects to the StopTrying() error
      • StopTrying() is now always interpreted as a failure. If you are an early adopter of StopTrying() you may need to change your code as the prior version would match against the returned value even if StopTrying() was returned. Going forward the StopTrying() api should remain stable.
      • StopTrying() and StopTrying().Now() can both be used in matchers - not just polled functions.
    • TryAgainAfter(duration) is used like StopTrying() but instructs Eventually and Consistently that the poll should be tried again after the specified duration. This allows you to dynamically adjust the polling duration.

    • ctx can now be passed-in as the first argument to Eventually and Consistently.

    Maintenance

    • Bump github.com/onsi/ginkgo/v2 from 2.3.0 to 2.3.1 (#597) [afed901]
    • Bump nokogiri from 1.13.8 to 1.13.9 in /docs (#599) [7c691b3]
    • Bump github.com/google/go-cmp from 0.5.8 to 0.5.9 (#587) [ff22665]

    ... (truncated)

    Changelog

    Sourced from github.com/onsi/gomega's changelog.

    1.24.2

    Fixes

    • Correctly handle assertion failure panics for eventually/consistnetly "g Gomega"s in a goroutine [78f1660]
    • docs:Fix typo "you an" -> "you can" (#607) [3187c1f]
    • fixes issue #600 (#606) [808d192]

    Maintenance

    • Bump golang.org/x/net from 0.2.0 to 0.4.0 (#611) [6ebc0bf]
    • Bump nokogiri from 1.13.9 to 1.13.10 in /docs (#612) [258cfc8]
    • Bump github.com/onsi/ginkgo/v2 from 2.5.0 to 2.5.1 (#609) [e6c3eb9]

    1.24.1

    Fixes

    • maintain backward compatibility for Eventually and Consisntetly's signatures [4c7df5e]
    • fix small typo (#601) [ea0ebe6]

    Maintenance

    • Bump golang.org/x/net from 0.1.0 to 0.2.0 (#603) [1ba8372]
    • Bump github.com/onsi/ginkgo/v2 from 2.4.0 to 2.5.0 (#602) [f9426cb]
    • fix label-filter in test.yml [d795db6]
    • stop running flakey tests and rely on external network dependencies in CI [7133290]

    1.24.0

    Features

    Introducting gcustom - a convenient mechanism for building custom matchers.

    This is an RC release for gcustom. The external API may be tweaked in response to feedback however it is expected to remain mostly stable.

    Maintenance

    • Update BeComparableTo documentation [756eaa0]

    1.23.0

    Features

    • Custom formatting on a per-type basis can be provided using format.RegisterCustomFormatter() -- see the docs here

    • Substantial improvement have been made to StopTrying():

      • Users can now use StopTrying().Wrap(err) to wrap errors and StopTrying().Attach(description, object) to attach arbitrary objects to the StopTrying() error
      • StopTrying() is now always interpreted as a failure. If you are an early adopter of StopTrying() you may need to change your code as the prior version would match against the returned value even if StopTrying() was returned. Going forward the StopTrying() api should remain stable.
      • StopTrying() and StopTrying().Now() can both be used in matchers - not just polled functions.
    • TryAgainAfter(duration) is used like StopTrying() but instructs Eventually and Consistently that the poll should be tried again after the specified duration. This allows you to dynamically adjust the polling duration.

    • ctx can now be passed-in as the first argument to Eventually and Consistently.

    ... (truncated)

    Commits
    • c3aef8b v1.24.2
    • 78f1660 Correctly handle assertion failure panics for eventually/consistnetly "g Gom...
    • 6ebc0bf Bump golang.org/x/net from 0.2.0 to 0.4.0 (#611)
    • 258cfc8 Bump nokogiri from 1.13.9 to 1.13.10 in /docs (#612)
    • e6c3eb9 Bump github.com/onsi/ginkgo/v2 from 2.5.0 to 2.5.1 (#609)
    • 3187c1f docs:Fix typo "you an" -> "you can" (#607)
    • 808d192 fixes issue #600 (#606)
    • 3eef0d7 v1.24.1
    • 4c7df5e maintain backward compatibility for Eventually and Consisntetly's signatures
    • 1ba8372 Bump golang.org/x/net from 0.1.0 to 0.2.0 (#603)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 0
Releases(v0.4.0)
  • v0.4.0(Sep 18, 2022)

  • v0.3.2(Apr 18, 2022)

  • v0.3.1(Sep 19, 2021)

  • v0.3.0(Aug 9, 2021)

    Features

    • Create, update, and delete accounts in shared folders (https://github.com/ansd/lastpass-go/issues/43)
    • Set fields LastModifiedGMT and LastTouch when reading accounts (https://github.com/ansd/lastpass-go/issues/43)

    Breaking

    • Delete() changed its function parameters: Instead of taking accountID string, it now takes account *Account. This allows to easily detect whether the account needs to be deleted from a shared folder (when account.Share is set).
    • Behaviour changed when reading from shared folders: When LastPass CLI fullname is Shared-a/b/c, the new Account field Share will contain Shared-a, field Group will contain b and field Name will contain c. Previously, field Share did not exist and the shared folder name was part of field Group.
    Source code(tar.gz)
    Source code(zip)
  • v0.2.0(Apr 23, 2021)

  • v0.1.1(Jan 8, 2020)

Owner
David Ansari
David Ansari
Clusterpedia-client - clusterpedia-client supports the use of native client-go mode to call the clusterpedia API

clusterpedia-client supports the use of native client-go mode to call the cluste

Calvin Chen 4 Jan 7, 2022
Client-go - Clusterpedia-client supports the use of native client-go mode to call the clusterpedia API

clusterpedia-client supports the use of native client-go mode to call the cluste

clusterpedia.io 9 Dec 5, 2022
Client-server-golang-sqs - Client Server with SQS and golang

Client Server with SQS and golang Multi-threaded client-server demo with Go What

null 0 Feb 14, 2022
Go-http-client: An enhanced http client for Golang

go-http-client An enhanced http client for Golang Documentation on go.dev ?? This package provides you a http client package for your http requests. Y

Furkan Bozdag 52 Jan 7, 2023
Client for the cloud-iso-client

cloud-iso-client Client for the cloud-iso-client. Register an API token Before using this client library, you need to register an API token under your

Virtomize 0 Dec 6, 2021
Nutanix-client-go - Go client for the Nutanix Prism V3 API

nutanix-client-go This repository contains portions of the Nutanix API client code in nutanix/terraform-provider-nutanix. It has been extracted to red

Marvin Beckers 0 Jan 6, 2022
Aoe4-client - Client library for aoe4 leaderboards etc

AOE4 Client Overview This is a go client used to query AOE4 data from either the

Mark Smith 0 Jan 18, 2022
Balabola-go-client - GO client for Yandex balabola service

Balabola GO Client GO client for Yandex balabola service Yandex warning The neur

Konovalov Maxim 0 Jan 29, 2022
Golang client for ethereum json rpc api

Ethrpc Golang client for ethereum JSON RPC API. web3_clientVersion web3_sha3 net_version net_peerCount net_listening eth_protocolVersion eth_syncing e

Andrey 247 Jan 7, 2023
A golang client for the Twitch v3 API - public APIs only (for now)

go-twitch Test CLIENT_ID="<my client ID>" go test -v -cover Usage Example File: package main import ( "log" "os" "github.com/knspriggs/go-twi

Kristian Spriggs 22 Sep 27, 2022
a Go (Golang) MusicBrainz WS2 client library - work in progress

gomusicbrainz a Go (Golang) MusicBrainz WS2 client library - a work in progress. Current state Currently GoMusicBrainz provides methods to perform sea

Michael Wendland 47 Sep 28, 2022
⚡️ SharePoint authentication, HTTP client & fluent API wrapper for Go (Golang)

Gosip - SharePoint authentication, HTTP client & fluent API wrapper for Go (Golang) Main features Unattended authentication using different strategies

Andrew Koltyakov 91 Jan 2, 2023
Golang Mixpanel Client

mixpanel Mixpanel Go Client Donate to 1P8ccYhVt4ByLahuVXiCY6U185gmYA8Rqf Usage import "github.com/dukex/mixpanel" -- documentation on godoc Examples T

Duke 52 Dec 16, 2022
Golang client for PayPal REST API

Go client for PayPal REST API Coverage POST /v1/oauth2/token POST /v1/identity/openidconnect/tokenservice GET /v1/identity/openidconnect/userinfo/?sch

Alex Pliutau 556 Dec 25, 2022
An API client for the Notion API implemented in Golang

An API client for the Notion API implemented in Golang

Anatoly Nosov 354 Dec 30, 2022
The client of NodeStatus / Golang Version

NodeStatus-client-go The client of NodeStatus written in Golang 使用说明 请直接下载release下的对应平台的二进制文件。 运行时需传入客户端对应参数。 假设你的服务端地址是https://tz.mydomain.com,客户端用户名

神楽坂みずき 23 Dec 26, 2022
This is the GoLang ApiDQ API client

ApiDQ API GoLang Client This is the GoLang ApiDQ API client. This library allows using of the actual API version. You can find more info in the docume

Nikita Krasnikov 1 Oct 19, 2021
golang client for illumina's basespace

a REST API client communicate with Illumina's BaseSpace The easist way to get a corresponding token https://developer.basespace.illumina.com/docs/cont

Jingtao 0 Jan 10, 2022
A Golang Client Library for building Cosmos SDK chain clients

Cosmos Client Lib in Go This is the start of ideas around how to implement the cosmos client libraries in a seperate repo How to instantiate and use t

Jack Zampolin 147 Jan 6, 2023