Skip to content

merge to latest #1

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

Merged
merged 24 commits into from
May 1, 2023
Merged

merge to latest #1

merged 24 commits into from
May 1, 2023

Conversation

menahem770
Copy link
Owner

No description provided.

DannyVarod and others added 24 commits July 9, 2019 14:35
)

* Support cache attribute on generic method without generic parameter

* Add generic arguments to CacheKey

* fixes

* Add test for generic return value
* Adding readme for postsharp

* update text

Co-authored-by: Avital Ofstein <[email protected]>
…edCache (#43)

* wip

* OnSyncProviderFailure

* cleanup

* restored TestHost.WebApi

* new feature - GeneralInvalidationChannel

* added unit tests and added disposal of new connection

* cleanup

* singleton redis connection per connection-name

* cleanup

* added automatic InvalidateOnUpdate to Notifier Policy options

* fixed InvalidateOnUpdate integration test

* Refactoring and New Tests

* Notifier.InvalidOnUpdate -> LayeredCache.InvalidateLevel1OnLevel2Update

* Added - InMemoryScopedCache

* InMemoryScopedCache

* Added - RedisScopedCache, LayeredScopedCache

* added GetScopedCache

* Added CacheableActionFilter for NETCore + safeguard

* cleanups

* fixed and aligned NETCore CacheableActionFilterAttribute

https://docs.microsoft.com/en-us/aspnet/core/mvc/controllers/filters?view=aspnetcore-3.1#ifilterfactory-implemented-on-an-attribute

* fixed valueTimestamp in LayeredScoped and on GetOrAdd scenarios

* fixed MinimumValueTimestamp check

* Bug fix (LayeredScopedCache) and cleanups

* Bug fix in InMemorySerializedCache.Set

* some cleanups and added missing ConfigureAwait

* wip

* Some Refactoring

* ScopedContext is now internal class

* bug fix and additional unit tests

* bug fix in RedisScopedCache

* Completed IScopedCache UnitTests Coverage

* fixed Mocks.NoNotifier - NotImplementedExceptions

* removed ConfigureAwait(false) from all unit tests

* bug fix - LayeredScopedCache validation

and removed duplicated tests and cleanups

* Upgraded WebApiExtended.Swashbuckle csproj

* bug fixs and new features (see description)

-	Warning on invalid input in headers
o	In addition, now demoting to CacheMethod.None instead of just removing CacheMethod.Get
-	Rename – InvalidateLevel1OnLevel2Update  InvalidateLevel1OnLevel2Upsert
o	Fix – LayeredScopedCache constructor regarding level1notifier initialization (copy fix from LayeredCache)
-	Add IgnoreMinimumValueTimestamp (0b_0001_0000)  to CacheMethod 
-	Change GeneralInvalidation channel message to be used as CacheName Regex (.* for all, sc(\d*)_notificationHub_.+ for all NotificationHubDomain, …)
-	Swagger helper for Core
-	Some refactoring (IsValid, IsInScope, …)

* 2 bug fixes + new unit tests

SyncProvider Failure Policy and LayeredScoped TryGet

* wip

* Finishes: ICacheState, MongoDBCache, ReleaseNotes, ...

* bug fix, CacheDirectives context was not immutable

b200206-1038

* Added load priority

* updated History.md

* ConfigNode Name is now case insensitive

* added IScopedCache implementation to NoCache

* cache/notifiers/connectionstrings are now case insensitive

* InvalidateLevel1OnLevel2Upsert is now disabled for NoCache cache type

* cleanups and additional tests

* New CacheExtensions, LayeredCache more resilient (ClearCache, isactive)

* PR Amit

* cleanup (duplicated endpoint)

* added InvalidateLevel1OnLevel2Upsert to LayeredScopedCache

* added DefaultCacheDirectives to CacheableActionFilterAttribute

Co-authored-by: Avi Malka <[email protected]>
Co-authored-by: ybqwerty <[email protected]>
Bumps [System.IO.Pipelines](https://github.com/dotnet/corefx) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/dotnet/corefx/releases)
- [Commits](https://github.com/dotnet/corefx/commits)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Also increased PostSharp version to support net5

Co-authored-by: Yagel <[email protected]>
same change as in CacheAttribute init now in CacheListAttribute
dispose of previous inner (in-memory) cache when calling ClearAll()
…ort-net6

Upgrade Postsharp and support net6
use PSerializable for support .Net 6.0
in versions 5.0.3 + 5.0.4  - [Serializable] was changed to [PSerializable].
those chanes to be considerd as breaking changes.
please do not use versions 5.0.3 and 5.0.4.
if you do want the to use the [PSerializable]. please upgrade to version > 6.0.0
reverting changes done in CacheAttribute and CacheListAttribute.
    changing [Serializable] to [PSerializable] in classs:
    CacheAttribute and CacheListAttribute.
    those changes were published on versions 5.0.3(deprecated) and 5.0.4(deprecated) as patch changes, but should have been marked as major.
changing [Serializable] to [PSerializable] in classs:
    CacheAttribute and CacheListAttribute.
    those changes were published on versions 5.0.3 and 5.0.4 as patch changes, but should have been marked as major.
@menahem770 menahem770 merged commit c276926 into menahem770:master May 1, 2023
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.

9 participants