Skip to content

v0.8.0

Compare
Choose a tag to compare
@github-actions github-actions released this 15 Feb 20:15
· 339 commits to main since this release
9387294

0.8.0 (2023-02-15)

Breaking Changes

  • Ensure all methods return a response. (#129) (75b528f)

* feat!: CreateCache and DeleteCache return a response.
* feat!: ListCaches() returns an interface and has a ListCacheSuccess struct.

There's an argument to be made that it's silly to make the user check the
type of ListCaches() since it's *probably* only going to ever be one type,
but that's the pattern for this interface.

As per the Valentines Day Name Massacre.

* refactor: Extract basic types to their own file.
* refactor: Consolidate requests and responses into one file per method.
* refactor: Move the ScsDataClient into momento, make it private.
* refactor: Move the common request code into scsDataClient
* feat!: Remove the ScsClient interface.
* feat!: Change the return type from NewSimpleCacheClient to a pointer.
* fix: Only convert unknown response type errors to unknown.
* feat!: Rename pubsub methods and repsonses to conform to the TypeAction style.
* feat!: Remove exposing that Subscription is an interface.
* chore: Add a utility for converting the collectionTtl to GRPC args.
* refactor: Change the control receivers to a value.
* test: Remove the local server pubsub test, avoids a duplicate client.
* chore: Add a template file for making more requesters.
* retain the list example, even if lists aren't implemented yet

Feature

  • adds interface for SimpleCacheClient (#125) (90bd07e)
  • Change back to returning responses as pointers (#121) (bbf9d78)

Bug Fixes

  • Ensure tests clean up their caches. (#120) (37bc3ba)
  • make sure context is the first argumnet when it's passed (#123) (b80765e)
  • refactor list operations (#122) (4e4f3e2)
  • Set the output when generating the contributing file. (#118) (9ff180f)

Documentation

Code Refactoring

  • common.go -> requester.co (#128) (403479f)
  • Remove old pubsub and sorted set requests and responses. (#117) (df08ae7)

Chores

  • standardize receivers for request type functions (#130) (9387294)
  • updates examples to latest sdk version (#109) (9bc6a86)