Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Faking it #22

Open
wants to merge 31 commits into
base: master
Choose a base branch
from
Open

Faking it #22

wants to merge 31 commits into from

Conversation

jeffrymorris
Copy link
Contributor

No description provided.

brantburnett and others added 30 commits January 23, 2021 13:39
Adds the Couchbase.Extensions.Compression.Snappier project for enabling
Snappy compression in the Couchbase .NET SDK using the Snappier
package.
Motivation
----------
Provide a standardized, yet flexible, approach for running multiple
operations in parallel which is simpler and more performant than other
options using Tasks.

Modifications
-------------
Create the Couchbase.Extensions.MultiOp package with a variety of tests.
Snappy compression with Snappier
Implement Couchbase.Extensions.MultiOp
Motivation
----------
DocumentNotFoundException is not always being consistently handled per
the IDistributedCache expected behaviors.

Modifications
-------------
Return null for all cases of Get where the document is not found, and
updated nullable ref attributes to reflect the possibility.

Ignore missing documents on all cases of Remove.

Add related tests.

Results
-------
Behaviors are now consistent with expectations for IDistributedCache.

Fixes #90
Add .net5.0 as a target framework and update dependencies to latest
Motivation
----------
Previous changes to handle DocumentNotFoundException when getting from
the cache missed the static extension methods.

Modifications
-------------
Handle the DocumentNotFoundException in the static extension methods,
returning default/null on a cache miss.

Add nullable annotations indicating the potential null return value,
which required moving up to C# 9.

Results
-------
Strongly-typed gets from the cache now return null instead of throwing
an exception, correctly matching the interface spec for
IDistributedCache.
Handle doc not found in typed caching extensions
Motivation
----------
Improvements for release 3.2.5 release including upgrading obsolete
csproj attributes. Note that we switching from 2.0.0 to 3.2.5 to sync
with the SDK versioning.

Modifications
-------------
 - Remove deprecated PackageIconUrl and PackageLicenseUrl
 - Add PackageIcon and PackageLicenseExpression
 - Bump version to 3.2.5
Update Couchbase.Extensions.Caching.csproj for 3.2.5
Motivation
----------
Provides support for Session State using the 3rd iteration of the SDK

Modifications
-------------
 - Update CouchbaseSession to use CouchbaseCache 3.x
 - Add unit tests
 - Remove "fakes" that are no longer used
Support for SDK3 based Session State
upgraded session project with Couchbase Client and DI 3.3.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants