diff --git a/src/Akavache.Core/Akavache.Core.csproj b/src/Akavache.Core/Akavache.Core.csproj index 6277ffc7d..4d81ae46e 100644 --- a/src/Akavache.Core/Akavache.Core.csproj +++ b/src/Akavache.Core/Akavache.Core.csproj @@ -1,7 +1,7 @@  - netstandard2.0;netstandard2.1;Xamarin.iOS10;Xamarin.Mac20;Xamarin.TVOS10;MonoAndroid10.0;tizen40;net5.0 - $(TargetFrameworks);net461;uap10.0.16299;net5.0-windows + netstandard2.0;netstandard2.1;Xamarin.iOS10;Xamarin.Mac20;Xamarin.TVOS10;MonoAndroid11.0;tizen40;net6.0 + $(TargetFrameworks);net462;uap10.0.16299;net6.0-windows Akavache.Core Akavache An asynchronous, persistent key-value store for desktop and mobile applications on .NET @@ -14,7 +14,7 @@ - + @@ -23,17 +23,12 @@ - - - - - @@ -69,7 +64,4 @@ - - - diff --git a/src/Akavache.Drawing/Akavache.Drawing.csproj b/src/Akavache.Drawing/Akavache.Drawing.csproj index 484b793cc..dc6568695 100644 --- a/src/Akavache.Drawing/Akavache.Drawing.csproj +++ b/src/Akavache.Drawing/Akavache.Drawing.csproj @@ -1,7 +1,7 @@  - netstandard2.0;netstandard2.1;MonoAndroid10.0;Xamarin.iOS10;Xamarin.Mac20;Xamarin.TVOS10;Xamarin.WatchOS10;tizen40; - $(TargetFrameworks);net461;uap10.0.16299;netcoreapp3.1;net5.0-windows + netstandard2.0;netstandard2.1;MonoAndroid11.0;Xamarin.iOS10;Xamarin.Mac20;Xamarin.TVOS10;Xamarin.WatchOS10;tizen40; + $(TargetFrameworks);net462;uap10.0.16299;net6.0-windows Akavache.Drawing Akavache An asynchronous, persistent key-value store for desktop and mobile applications on .NET @@ -12,6 +12,6 @@ - + diff --git a/src/Akavache.Mobile/Akavache.Mobile.csproj b/src/Akavache.Mobile/Akavache.Mobile.csproj index 97d836e88..54ad9abf9 100644 --- a/src/Akavache.Mobile/Akavache.Mobile.csproj +++ b/src/Akavache.Mobile/Akavache.Mobile.csproj @@ -1,8 +1,8 @@  - netstandard2.0;netstandard2.1;Xamarin.iOS10;Xamarin.Mac20;Xamarin.TVOS10;MonoAndroid10.0;tizen40;net5.0 - $(TargetFrameworks);net461;uap10.0.16299 + netstandard2.0;netstandard2.1;Xamarin.iOS10;Xamarin.Mac20;Xamarin.TVOS10;MonoAndroid11.0;tizen40;net6.0 + $(TargetFrameworks);net462;uap10.0.16299 Akavache.Mobile Akavache.Mobile An asynchronous, persistent key-value store for desktop and mobile applications on .NET @@ -12,7 +12,7 @@ - + diff --git a/src/Akavache.Sqlite3/Akavache.Sqlite3.csproj b/src/Akavache.Sqlite3/Akavache.Sqlite3.csproj index 6d9b55516..a0a4f94d8 100644 --- a/src/Akavache.Sqlite3/Akavache.Sqlite3.csproj +++ b/src/Akavache.Sqlite3/Akavache.Sqlite3.csproj @@ -1,8 +1,8 @@  - netstandard2.0;netstandard2.1;Xamarin.iOS10;Xamarin.Mac20;Xamarin.TVOS10;MonoAndroid10.0;tizen40 - $(TargetFrameworks);net461;uap10.0.16299;net5.0 + netstandard2.0;netstandard2.1;Xamarin.iOS10;Xamarin.Mac20;Xamarin.TVOS10;MonoAndroid11.0;tizen40;net6.0 + $(TargetFrameworks);net462;uap10.0.16299 Akavache.Sqlite3 Akavache.Sqlite3 Akavache Sqlite3 @@ -16,7 +16,7 @@ - + diff --git a/src/Akavache.Tests/API/ApiApprovalTests.AkavacheCore.net461.approved.txt b/src/Akavache.Tests/API/ApiApprovalTests.AkavacheCore.net461.approved.txt deleted file mode 100644 index 91077663a..000000000 --- a/src/Akavache.Tests/API/ApiApprovalTests.AkavacheCore.net461.approved.txt +++ /dev/null @@ -1,267 +0,0 @@ -[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/reactiveui/akavache")] -[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Akavache")] -[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Akavache.Drawing")] -[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Akavache.Mobile")] -[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Akavache.Sqlite3")] -[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Akavache.Tests")] -[assembly: System.Runtime.Versioning.TargetFramework(".NETFramework,Version=v4.6.1", FrameworkDisplayName=".NET Framework 4.6.1")] -namespace Akavache -{ - public class AkavacheHttpMixin : Akavache.IAkavacheHttpMixin - { - public AkavacheHttpMixin() { } - public System.IObservable DownloadUrl(Akavache.IBlobCache blobCache, string url, System.Collections.Generic.IDictionary? headers = null, bool fetchAlways = false, System.DateTimeOffset? absoluteExpiration = default) { } - public System.IObservable DownloadUrl(Akavache.IBlobCache blobCache, System.Uri url, System.Collections.Generic.IDictionary? headers = null, bool fetchAlways = false, System.DateTimeOffset? absoluteExpiration = default) { } - public System.IObservable DownloadUrl(Akavache.IBlobCache blobCache, string key, string url, System.Collections.Generic.IDictionary? headers = null, bool fetchAlways = false, System.DateTimeOffset? absoluteExpiration = default) { } - public System.IObservable DownloadUrl(Akavache.IBlobCache blobCache, string key, System.Uri url, System.Collections.Generic.IDictionary? headers = null, bool fetchAlways = false, System.DateTimeOffset? absoluteExpiration = default) { } - } - public static class BlobCache - { - public static string ApplicationName { get; set; } - public static System.DateTimeKind? ForcedDateTimeKind { get; set; } - public static Akavache.ISecureBlobCache InMemory { get; set; } - public static Akavache.IBlobCache LocalMachine { get; set; } - public static Akavache.ISecureBlobCache Secure { get; set; } - public static System.Reactive.Concurrency.IScheduler TaskpoolScheduler { get; set; } - public static Akavache.IBlobCache UserAccount { get; set; } - public static void EnsureInitialized() { } - public static System.Threading.Tasks.Task Shutdown() { } - } - public static class BulkOperationsMixin - { - public static System.IObservable> Get(this Akavache.IBlobCache blobCache, System.Collections.Generic.IEnumerable keys) { } - public static System.IObservable> GetCreatedAt(this Akavache.IBlobCache blobCache, System.Collections.Generic.IEnumerable keys) { } - public static System.IObservable> GetObjects(this Akavache.IBlobCache blobCache, System.Collections.Generic.IEnumerable keys) { } - public static System.IObservable Insert(this Akavache.IBlobCache blobCache, System.Collections.Generic.IDictionary keyValuePairs, System.DateTimeOffset? absoluteExpiration = default) { } - public static System.IObservable InsertObjects(this Akavache.IBlobCache blobCache, System.Collections.Generic.IDictionary keyValuePairs, System.DateTimeOffset? absoluteExpiration = default) { } - public static System.IObservable Invalidate(this Akavache.IBlobCache blobCache, System.Collections.Generic.IEnumerable keys) { } - public static System.IObservable InvalidateObjects(this Akavache.IBlobCache blobCache, System.Collections.Generic.IEnumerable keys) { } - } - public class CacheEntry - { - public CacheEntry(string? typeName, byte[] value, System.DateTimeOffset createdAt, System.DateTimeOffset? expiresAt) { } - public System.DateTimeOffset CreatedAt { get; set; } - public System.DateTimeOffset? ExpiresAt { get; set; } - public string? TypeName { get; set; } - public byte[] Value { get; set; } - } - public enum DataProtectionScope - { - CurrentUser = 0, - } - public static class DependencyResolverMixin - { - public static void InitializeAkavache(this Splat.IMutableDependencyResolver resolver, Splat.IReadonlyDependencyResolver readonlyDependencyResolver) { } - } - public class EncryptionProvider : Akavache.IEncryptionProvider - { - public EncryptionProvider() { } - public System.IObservable DecryptBlock(byte[] block) { } - public System.IObservable EncryptBlock(byte[] block) { } - } - public static class HttpMixinExtensions - { - public static System.IObservable DownloadUrl(this Akavache.IBlobCache blobCache, string url, System.Collections.Generic.IDictionary? headers = null, bool fetchAlways = false, System.DateTimeOffset? absoluteExpiration = default) { } - public static System.IObservable DownloadUrl(this Akavache.IBlobCache blobCache, System.Uri url, System.Collections.Generic.IDictionary? headers = null, bool fetchAlways = false, System.DateTimeOffset? absoluteExpiration = default) { } - public static System.IObservable DownloadUrl(this Akavache.IBlobCache blobCache, string key, string url, System.Collections.Generic.IDictionary? headers = null, bool fetchAlways = false, System.DateTimeOffset? absoluteExpiration = default) { } - public static System.IObservable DownloadUrl(this Akavache.IBlobCache blobCache, string key, System.Uri url, System.Collections.Generic.IDictionary? headers = null, bool fetchAlways = false, System.DateTimeOffset? absoluteExpiration = default) { } - } - public interface IAkavacheHttpMixin - { - System.IObservable DownloadUrl(Akavache.IBlobCache blobCache, string url, System.Collections.Generic.IDictionary? headers = null, bool fetchAlways = false, System.DateTimeOffset? absoluteExpiration = default); - System.IObservable DownloadUrl(Akavache.IBlobCache blobCache, System.Uri url, System.Collections.Generic.IDictionary? headers = null, bool fetchAlways = false, System.DateTimeOffset? absoluteExpiration = default); - System.IObservable DownloadUrl(Akavache.IBlobCache blobCache, string key, string url, System.Collections.Generic.IDictionary? headers = null, bool fetchAlways = false, System.DateTimeOffset? absoluteExpiration = default); - System.IObservable DownloadUrl(Akavache.IBlobCache blobCache, string key, System.Uri url, System.Collections.Generic.IDictionary? headers = null, bool fetchAlways = false, System.DateTimeOffset? absoluteExpiration = default); - } - public interface IBlobCache : System.IDisposable - { - System.DateTimeKind? ForcedDateTimeKind { get; set; } - System.Reactive.Concurrency.IScheduler Scheduler { get; } - System.IObservable Shutdown { get; } - System.IObservable Flush(); - System.IObservable Get(string key); - System.IObservable> GetAllKeys(); - System.IObservable GetCreatedAt(string key); - System.IObservable Insert(string key, byte[] data, System.DateTimeOffset? absoluteExpiration = default); - System.IObservable Invalidate(string key); - System.IObservable InvalidateAll(); - System.IObservable Vacuum(); - } - public interface IBulkBlobCache : Akavache.IBlobCache, System.IDisposable - { - System.IObservable> Get(System.Collections.Generic.IEnumerable keys); - System.IObservable> GetCreatedAt(System.Collections.Generic.IEnumerable keys); - System.IObservable Insert(System.Collections.Generic.IDictionary keyValuePairs, System.DateTimeOffset? absoluteExpiration = default); - System.IObservable Invalidate(System.Collections.Generic.IEnumerable keys); - } - public interface IEncryptionProvider - { - System.IObservable DecryptBlock(byte[] block); - System.IObservable EncryptBlock(byte[] block); - } - public interface IFilesystemProvider - { - System.IObservable CreateRecursive(string path); - System.IObservable Delete(string path); - string? GetDefaultLocalMachineCacheDirectory(); - string? GetDefaultRoamingCacheDirectory(); - string? GetDefaultSecretCacheDirectory(); - System.IObservable OpenFileForReadAsync(string path, System.Reactive.Concurrency.IScheduler scheduler); - System.IObservable OpenFileForWriteAsync(string path, System.Reactive.Concurrency.IScheduler scheduler); - } - public interface IKeyedOperationQueue - { - System.IObservable EnqueueObservableOperation(string key, System.Func> asyncCalculationFunc); - System.IObservable EnqueueOperation(string key, System.Action action); - System.IObservable EnqueueOperation(string key, System.Func calculationFunc); - System.IObservable ShutdownQueue(); - } - public interface IObjectBlobCache : Akavache.IBlobCache, System.IDisposable - { - System.IObservable> GetAllObjects(); - System.IObservable GetObject(string key); - System.IObservable GetObjectCreatedAt(string key); - System.IObservable InsertObject(string key, T value, System.DateTimeOffset? absoluteExpiration = default); - System.IObservable InvalidateAllObjects(); - System.IObservable InvalidateObject(string key); - } - public interface IObjectBulkBlobCache : Akavache.IBlobCache, Akavache.IBulkBlobCache, Akavache.IObjectBlobCache, System.IDisposable - { - System.IObservable> GetObjects(System.Collections.Generic.IEnumerable keys); - System.IObservable InsertObjects(System.Collections.Generic.IDictionary keyValuePairs, System.DateTimeOffset? absoluteExpiration = default); - System.IObservable InvalidateObjects(System.Collections.Generic.IEnumerable keys); - } - public interface ISecureBlobCache : Akavache.IBlobCache, System.IDisposable { } - public class InMemoryBlobCache : Akavache.IBlobCache, Akavache.IObjectBlobCache, Akavache.ISecureBlobCache, Splat.IEnableLogger, System.IDisposable - { - public InMemoryBlobCache() { } - public InMemoryBlobCache(System.Collections.Generic.IEnumerable> initialContents) { } - public InMemoryBlobCache(System.Reactive.Concurrency.IScheduler scheduler) { } - public InMemoryBlobCache(System.Reactive.Concurrency.IScheduler? scheduler, System.Collections.Generic.IEnumerable>? initialContents) { } - public System.DateTimeKind? ForcedDateTimeKind { get; set; } - public System.Reactive.Concurrency.IScheduler Scheduler { get; set; } - public System.IObservable Shutdown { get; } - public void Dispose() { } - protected virtual void Dispose(bool isDisposing) { } - public System.IObservable Flush() { } - public System.IObservable Get(string key) { } - public System.IObservable> GetAllKeys() { } - public System.IObservable> GetAllObjects() { } - public System.IObservable GetCreatedAt(string key) { } - public System.IObservable GetObject(string key) { } - public System.IObservable GetObjectCreatedAt(string key) { } - public System.IObservable Insert(string key, byte[] data, System.DateTimeOffset? absoluteExpiration = default) { } - public System.IObservable InsertObject(string key, T value, System.DateTimeOffset? absoluteExpiration = default) { } - public System.IObservable Invalidate(string key) { } - public System.IObservable InvalidateAll() { } - public System.IObservable InvalidateAllObjects() { } - public System.IObservable InvalidateObject(string key) { } - public System.IObservable Vacuum() { } - public static Akavache.InMemoryBlobCache OverrideGlobals(System.Collections.Generic.IDictionary initialContents, System.Reactive.Concurrency.IScheduler? scheduler = null) { } - public static Akavache.InMemoryBlobCache OverrideGlobals(System.Collections.Generic.IDictionary initialContents, System.Reactive.Concurrency.IScheduler? scheduler = null) { } - public static Akavache.InMemoryBlobCache OverrideGlobals(System.Reactive.Concurrency.IScheduler? scheduler = null, params System.Collections.Generic.KeyValuePair<, >[] initialContents) { } - } - public static class JsonSerializationMixin - { - public static System.IObservable> GetAllObjects(this Akavache.IBlobCache blobCache) { } - public static System.IObservable GetAndFetchLatest(this Akavache.IBlobCache blobCache, string key, System.Func> fetchFunc, System.Func? fetchPredicate = null, System.DateTimeOffset? absoluteExpiration = default, bool shouldInvalidateOnError = false, System.Func? cacheValidationPredicate = null) { } - public static System.IObservable GetAndFetchLatest(this Akavache.IBlobCache blobCache, string key, System.Func> fetchFunc, System.Func? fetchPredicate = null, System.DateTimeOffset? absoluteExpiration = default, bool shouldInvalidateOnError = false, System.Func? cacheValidationPredicate = null) { } - public static System.IObservable GetObject(this Akavache.IBlobCache blobCache, string key) { } - public static System.IObservable GetObjectCreatedAt(this Akavache.IBlobCache blobCache, string key) { } - public static System.IObservable GetOrCreateObject(this Akavache.IBlobCache blobCache, string key, System.Func fetchFunc, System.DateTimeOffset? absoluteExpiration = default) { } - public static System.IObservable GetOrFetchObject(this Akavache.IBlobCache blobCache, string key, System.Func> fetchFunc, System.DateTimeOffset? absoluteExpiration = default) { } - public static System.IObservable GetOrFetchObject(this Akavache.IBlobCache blobCache, string key, System.Func> fetchFunc, System.DateTimeOffset? absoluteExpiration = default) { } - public static System.IObservable InsertAllObjects(this Akavache.IBlobCache blobCache, System.Collections.Generic.IDictionary keyValuePairs, System.DateTimeOffset? absoluteExpiration = default) { } - public static System.IObservable InsertObject(this Akavache.IBlobCache blobCache, string key, T value, System.DateTimeOffset? absoluteExpiration = default) { } - public static System.IObservable InvalidateAllObjects(this Akavache.IBlobCache blobCache) { } - public static System.IObservable InvalidateObject(this Akavache.IBlobCache blobCache, string key) { } - } - public class KeyedOperationQueue : Akavache.IKeyedOperationQueue, Splat.IEnableLogger, System.IDisposable - { - public KeyedOperationQueue(System.Reactive.Concurrency.IScheduler? scheduler = null) { } - public void Dispose() { } - protected virtual void Dispose(bool disposing) { } - public System.IObservable EnqueueObservableOperation(string key, System.Func> asyncCalculationFunc) { } - public System.IObservable EnqueueOperation(string key, System.Action action) { } - public System.IObservable EnqueueOperation(string key, System.Func calculationFunc) { } - public System.IObservable ShutdownQueue() { } - } - public class LoginInfo - { - public LoginInfo(string username, string password) { } - public string Password { get; } - public string UserName { get; } - } - public static class LoginMixin - { - public static System.IObservable EraseLogin(this Akavache.ISecureBlobCache blobCache, string host = "default") { } - public static System.IObservable GetLoginAsync(this Akavache.ISecureBlobCache blobCache, string host = "default") { } - public static System.IObservable SaveLogin(this Akavache.ISecureBlobCache blobCache, string user, string password, string host = "default", System.DateTimeOffset? absoluteExpiration = default) { } - } - public static class ProtectedData - { - public static byte[] Protect(byte[] originalData, byte[]? entropy, Akavache.DataProtectionScope scope = 0) { } - public static byte[] Unprotect(byte[] originalData, byte[]? entropy, Akavache.DataProtectionScope scope = 0) { } - } - public static class RelativeTimeMixin - { - public static System.IObservable DownloadUrl(this Akavache.IBlobCache blobCache, string url, System.TimeSpan expiration, System.Collections.Generic.Dictionary? headers = null, bool fetchAlways = false) { } - public static System.IObservable DownloadUrl(this Akavache.IBlobCache blobCache, System.Uri url, System.TimeSpan expiration, System.Collections.Generic.Dictionary? headers = null, bool fetchAlways = false) { } - public static System.IObservable Insert(this Akavache.IBlobCache blobCache, string key, byte[] data, System.TimeSpan expiration) { } - public static System.IObservable InsertObject(this Akavache.IBlobCache blobCache, string key, T value, System.TimeSpan expiration) { } - public static System.IObservable SaveLogin(this Akavache.ISecureBlobCache blobCache, string user, string password, string host, System.TimeSpan expiration) { } - } - public class SimpleFilesystemProvider : Akavache.IFilesystemProvider - { - public SimpleFilesystemProvider() { } - public System.IObservable CreateRecursive(string path) { } - public System.IObservable Delete(string path) { } - public string GetDefaultLocalMachineCacheDirectory() { } - public string GetDefaultRoamingCacheDirectory() { } - public string GetDefaultSecretCacheDirectory() { } - public System.IObservable OpenFileForReadAsync(string path, System.Reactive.Concurrency.IScheduler scheduler) { } - public System.IObservable OpenFileForWriteAsync(string path, System.Reactive.Concurrency.IScheduler scheduler) { } - protected static string GetAssemblyDirectoryName() { } - } -} -namespace Akavache.Core -{ - public class Registrations - { - public Registrations() { } - public void Register(Splat.IMutableDependencyResolver resolver, Splat.IReadonlyDependencyResolver readonlyDependencyResolver) { } - } -} -namespace Akavache.Internal -{ - [System.Flags] - public enum FileAccess - { - Read = 1, - Write = 2, - ReadWrite = 3, - } - public enum FileMode - { - CreateNew = 1, - Create = 2, - Open = 3, - OpenOrCreate = 4, - Truncate = 5, - Append = 6, - } - [System.Flags] - public enum FileShare - { - None = 0, - Read = 1, - Write = 2, - ReadWrite = 3, - Delete = 4, - Inheritable = 16, - } -} -namespace System -{ - public static class StreamMixins { } -} \ No newline at end of file diff --git a/src/Akavache.Tests/API/ApiApprovalTests.AkavacheCore.net5.0.approved.txt b/src/Akavache.Tests/API/ApiApprovalTests.AkavacheCore.net5.0.approved.txt deleted file mode 100644 index 9433aa13a..000000000 --- a/src/Akavache.Tests/API/ApiApprovalTests.AkavacheCore.net5.0.approved.txt +++ /dev/null @@ -1,269 +0,0 @@ -[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/reactiveui/akavache")] -[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Akavache")] -[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Akavache.Drawing")] -[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Akavache.Mobile")] -[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Akavache.Sqlite3")] -[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Akavache.Tests")] -[assembly: System.Runtime.Versioning.SupportedOSPlatform("Windows7.0")] -[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v5.0", FrameworkDisplayName="")] -[assembly: System.Runtime.Versioning.TargetPlatform("Windows7.0")] -namespace Akavache -{ - public class AkavacheHttpMixin : Akavache.IAkavacheHttpMixin - { - public AkavacheHttpMixin() { } - public System.IObservable DownloadUrl(Akavache.IBlobCache blobCache, string url, System.Collections.Generic.IDictionary? headers = null, bool fetchAlways = false, System.DateTimeOffset? absoluteExpiration = default) { } - public System.IObservable DownloadUrl(Akavache.IBlobCache blobCache, System.Uri url, System.Collections.Generic.IDictionary? headers = null, bool fetchAlways = false, System.DateTimeOffset? absoluteExpiration = default) { } - public System.IObservable DownloadUrl(Akavache.IBlobCache blobCache, string key, string url, System.Collections.Generic.IDictionary? headers = null, bool fetchAlways = false, System.DateTimeOffset? absoluteExpiration = default) { } - public System.IObservable DownloadUrl(Akavache.IBlobCache blobCache, string key, System.Uri url, System.Collections.Generic.IDictionary? headers = null, bool fetchAlways = false, System.DateTimeOffset? absoluteExpiration = default) { } - } - public static class BlobCache - { - public static string ApplicationName { get; set; } - public static System.DateTimeKind? ForcedDateTimeKind { get; set; } - public static Akavache.ISecureBlobCache InMemory { get; set; } - public static Akavache.IBlobCache LocalMachine { get; set; } - public static Akavache.ISecureBlobCache Secure { get; set; } - public static System.Reactive.Concurrency.IScheduler TaskpoolScheduler { get; set; } - public static Akavache.IBlobCache UserAccount { get; set; } - public static void EnsureInitialized() { } - public static System.Threading.Tasks.Task Shutdown() { } - } - public static class BulkOperationsMixin - { - public static System.IObservable> Get(this Akavache.IBlobCache blobCache, System.Collections.Generic.IEnumerable keys) { } - public static System.IObservable> GetCreatedAt(this Akavache.IBlobCache blobCache, System.Collections.Generic.IEnumerable keys) { } - public static System.IObservable> GetObjects(this Akavache.IBlobCache blobCache, System.Collections.Generic.IEnumerable keys) { } - public static System.IObservable Insert(this Akavache.IBlobCache blobCache, System.Collections.Generic.IDictionary keyValuePairs, System.DateTimeOffset? absoluteExpiration = default) { } - public static System.IObservable InsertObjects(this Akavache.IBlobCache blobCache, System.Collections.Generic.IDictionary keyValuePairs, System.DateTimeOffset? absoluteExpiration = default) { } - public static System.IObservable Invalidate(this Akavache.IBlobCache blobCache, System.Collections.Generic.IEnumerable keys) { } - public static System.IObservable InvalidateObjects(this Akavache.IBlobCache blobCache, System.Collections.Generic.IEnumerable keys) { } - } - public class CacheEntry - { - public CacheEntry(string? typeName, byte[] value, System.DateTimeOffset createdAt, System.DateTimeOffset? expiresAt) { } - public System.DateTimeOffset CreatedAt { get; set; } - public System.DateTimeOffset? ExpiresAt { get; set; } - public string? TypeName { get; set; } - public byte[] Value { get; set; } - } - public enum DataProtectionScope - { - CurrentUser = 0, - } - public static class DependencyResolverMixin - { - public static void InitializeAkavache(this Splat.IMutableDependencyResolver resolver, Splat.IReadonlyDependencyResolver readonlyDependencyResolver) { } - } - public class EncryptionProvider : Akavache.IEncryptionProvider - { - public EncryptionProvider() { } - public System.IObservable DecryptBlock(byte[] block) { } - public System.IObservable EncryptBlock(byte[] block) { } - } - public static class HttpMixinExtensions - { - public static System.IObservable DownloadUrl(this Akavache.IBlobCache blobCache, string url, System.Collections.Generic.IDictionary? headers = null, bool fetchAlways = false, System.DateTimeOffset? absoluteExpiration = default) { } - public static System.IObservable DownloadUrl(this Akavache.IBlobCache blobCache, System.Uri url, System.Collections.Generic.IDictionary? headers = null, bool fetchAlways = false, System.DateTimeOffset? absoluteExpiration = default) { } - public static System.IObservable DownloadUrl(this Akavache.IBlobCache blobCache, string key, string url, System.Collections.Generic.IDictionary? headers = null, bool fetchAlways = false, System.DateTimeOffset? absoluteExpiration = default) { } - public static System.IObservable DownloadUrl(this Akavache.IBlobCache blobCache, string key, System.Uri url, System.Collections.Generic.IDictionary? headers = null, bool fetchAlways = false, System.DateTimeOffset? absoluteExpiration = default) { } - } - public interface IAkavacheHttpMixin - { - System.IObservable DownloadUrl(Akavache.IBlobCache blobCache, string url, System.Collections.Generic.IDictionary? headers = null, bool fetchAlways = false, System.DateTimeOffset? absoluteExpiration = default); - System.IObservable DownloadUrl(Akavache.IBlobCache blobCache, System.Uri url, System.Collections.Generic.IDictionary? headers = null, bool fetchAlways = false, System.DateTimeOffset? absoluteExpiration = default); - System.IObservable DownloadUrl(Akavache.IBlobCache blobCache, string key, string url, System.Collections.Generic.IDictionary? headers = null, bool fetchAlways = false, System.DateTimeOffset? absoluteExpiration = default); - System.IObservable DownloadUrl(Akavache.IBlobCache blobCache, string key, System.Uri url, System.Collections.Generic.IDictionary? headers = null, bool fetchAlways = false, System.DateTimeOffset? absoluteExpiration = default); - } - public interface IBlobCache : System.IDisposable - { - System.DateTimeKind? ForcedDateTimeKind { get; set; } - System.Reactive.Concurrency.IScheduler Scheduler { get; } - System.IObservable Shutdown { get; } - System.IObservable Flush(); - System.IObservable Get(string key); - System.IObservable> GetAllKeys(); - System.IObservable GetCreatedAt(string key); - System.IObservable Insert(string key, byte[] data, System.DateTimeOffset? absoluteExpiration = default); - System.IObservable Invalidate(string key); - System.IObservable InvalidateAll(); - System.IObservable Vacuum(); - } - public interface IBulkBlobCache : Akavache.IBlobCache, System.IDisposable - { - System.IObservable> Get(System.Collections.Generic.IEnumerable keys); - System.IObservable> GetCreatedAt(System.Collections.Generic.IEnumerable keys); - System.IObservable Insert(System.Collections.Generic.IDictionary keyValuePairs, System.DateTimeOffset? absoluteExpiration = default); - System.IObservable Invalidate(System.Collections.Generic.IEnumerable keys); - } - public interface IEncryptionProvider - { - System.IObservable DecryptBlock(byte[] block); - System.IObservable EncryptBlock(byte[] block); - } - public interface IFilesystemProvider - { - System.IObservable CreateRecursive(string path); - System.IObservable Delete(string path); - string? GetDefaultLocalMachineCacheDirectory(); - string? GetDefaultRoamingCacheDirectory(); - string? GetDefaultSecretCacheDirectory(); - System.IObservable OpenFileForReadAsync(string path, System.Reactive.Concurrency.IScheduler scheduler); - System.IObservable OpenFileForWriteAsync(string path, System.Reactive.Concurrency.IScheduler scheduler); - } - public interface IKeyedOperationQueue - { - System.IObservable EnqueueObservableOperation(string key, System.Func> asyncCalculationFunc); - System.IObservable EnqueueOperation(string key, System.Action action); - System.IObservable EnqueueOperation(string key, System.Func calculationFunc); - System.IObservable ShutdownQueue(); - } - public interface IObjectBlobCache : Akavache.IBlobCache, System.IDisposable - { - System.IObservable> GetAllObjects(); - System.IObservable GetObject(string key); - System.IObservable GetObjectCreatedAt(string key); - System.IObservable InsertObject(string key, T value, System.DateTimeOffset? absoluteExpiration = default); - System.IObservable InvalidateAllObjects(); - System.IObservable InvalidateObject(string key); - } - public interface IObjectBulkBlobCache : Akavache.IBlobCache, Akavache.IBulkBlobCache, Akavache.IObjectBlobCache, System.IDisposable - { - System.IObservable> GetObjects(System.Collections.Generic.IEnumerable keys); - System.IObservable InsertObjects(System.Collections.Generic.IDictionary keyValuePairs, System.DateTimeOffset? absoluteExpiration = default); - System.IObservable InvalidateObjects(System.Collections.Generic.IEnumerable keys); - } - public interface ISecureBlobCache : Akavache.IBlobCache, System.IDisposable { } - public class InMemoryBlobCache : Akavache.IBlobCache, Akavache.IObjectBlobCache, Akavache.ISecureBlobCache, Splat.IEnableLogger, System.IDisposable - { - public InMemoryBlobCache() { } - public InMemoryBlobCache(System.Collections.Generic.IEnumerable> initialContents) { } - public InMemoryBlobCache(System.Reactive.Concurrency.IScheduler scheduler) { } - public InMemoryBlobCache(System.Reactive.Concurrency.IScheduler? scheduler, System.Collections.Generic.IEnumerable>? initialContents) { } - public System.DateTimeKind? ForcedDateTimeKind { get; set; } - public System.Reactive.Concurrency.IScheduler Scheduler { get; set; } - public System.IObservable Shutdown { get; } - public void Dispose() { } - protected virtual void Dispose(bool isDisposing) { } - public System.IObservable Flush() { } - public System.IObservable Get(string key) { } - public System.IObservable> GetAllKeys() { } - public System.IObservable> GetAllObjects() { } - public System.IObservable GetCreatedAt(string key) { } - public System.IObservable GetObject(string key) { } - public System.IObservable GetObjectCreatedAt(string key) { } - public System.IObservable Insert(string key, byte[] data, System.DateTimeOffset? absoluteExpiration = default) { } - public System.IObservable InsertObject(string key, T value, System.DateTimeOffset? absoluteExpiration = default) { } - public System.IObservable Invalidate(string key) { } - public System.IObservable InvalidateAll() { } - public System.IObservable InvalidateAllObjects() { } - public System.IObservable InvalidateObject(string key) { } - public System.IObservable Vacuum() { } - public static Akavache.InMemoryBlobCache OverrideGlobals(System.Collections.Generic.IDictionary initialContents, System.Reactive.Concurrency.IScheduler? scheduler = null) { } - public static Akavache.InMemoryBlobCache OverrideGlobals(System.Collections.Generic.IDictionary initialContents, System.Reactive.Concurrency.IScheduler? scheduler = null) { } - public static Akavache.InMemoryBlobCache OverrideGlobals(System.Reactive.Concurrency.IScheduler? scheduler = null, params System.Collections.Generic.KeyValuePair<, >[] initialContents) { } - } - public static class JsonSerializationMixin - { - public static System.IObservable> GetAllObjects(this Akavache.IBlobCache blobCache) { } - public static System.IObservable GetAndFetchLatest(this Akavache.IBlobCache blobCache, string key, System.Func> fetchFunc, System.Func? fetchPredicate = null, System.DateTimeOffset? absoluteExpiration = default, bool shouldInvalidateOnError = false, System.Func? cacheValidationPredicate = null) { } - public static System.IObservable GetAndFetchLatest(this Akavache.IBlobCache blobCache, string key, System.Func> fetchFunc, System.Func? fetchPredicate = null, System.DateTimeOffset? absoluteExpiration = default, bool shouldInvalidateOnError = false, System.Func? cacheValidationPredicate = null) { } - public static System.IObservable GetObject(this Akavache.IBlobCache blobCache, string key) { } - public static System.IObservable GetObjectCreatedAt(this Akavache.IBlobCache blobCache, string key) { } - public static System.IObservable GetOrCreateObject(this Akavache.IBlobCache blobCache, string key, System.Func fetchFunc, System.DateTimeOffset? absoluteExpiration = default) { } - public static System.IObservable GetOrFetchObject(this Akavache.IBlobCache blobCache, string key, System.Func> fetchFunc, System.DateTimeOffset? absoluteExpiration = default) { } - public static System.IObservable GetOrFetchObject(this Akavache.IBlobCache blobCache, string key, System.Func> fetchFunc, System.DateTimeOffset? absoluteExpiration = default) { } - public static System.IObservable InsertAllObjects(this Akavache.IBlobCache blobCache, System.Collections.Generic.IDictionary keyValuePairs, System.DateTimeOffset? absoluteExpiration = default) { } - public static System.IObservable InsertObject(this Akavache.IBlobCache blobCache, string key, T value, System.DateTimeOffset? absoluteExpiration = default) { } - public static System.IObservable InvalidateAllObjects(this Akavache.IBlobCache blobCache) { } - public static System.IObservable InvalidateObject(this Akavache.IBlobCache blobCache, string key) { } - } - public class KeyedOperationQueue : Akavache.IKeyedOperationQueue, Splat.IEnableLogger, System.IDisposable - { - public KeyedOperationQueue(System.Reactive.Concurrency.IScheduler? scheduler = null) { } - public void Dispose() { } - protected virtual void Dispose(bool disposing) { } - public System.IObservable EnqueueObservableOperation(string key, System.Func> asyncCalculationFunc) { } - public System.IObservable EnqueueOperation(string key, System.Action action) { } - public System.IObservable EnqueueOperation(string key, System.Func calculationFunc) { } - public System.IObservable ShutdownQueue() { } - } - public class LoginInfo - { - public LoginInfo(string username, string password) { } - public string Password { get; } - public string UserName { get; } - } - public static class LoginMixin - { - public static System.IObservable EraseLogin(this Akavache.ISecureBlobCache blobCache, string host = "default") { } - public static System.IObservable GetLoginAsync(this Akavache.ISecureBlobCache blobCache, string host = "default") { } - public static System.IObservable SaveLogin(this Akavache.ISecureBlobCache blobCache, string user, string password, string host = "default", System.DateTimeOffset? absoluteExpiration = default) { } - } - public static class ProtectedData - { - public static byte[] Protect(byte[] originalData, byte[]? entropy, Akavache.DataProtectionScope scope = 0) { } - public static byte[] Unprotect(byte[] originalData, byte[]? entropy, Akavache.DataProtectionScope scope = 0) { } - } - public static class RelativeTimeMixin - { - public static System.IObservable DownloadUrl(this Akavache.IBlobCache blobCache, string url, System.TimeSpan expiration, System.Collections.Generic.Dictionary? headers = null, bool fetchAlways = false) { } - public static System.IObservable DownloadUrl(this Akavache.IBlobCache blobCache, System.Uri url, System.TimeSpan expiration, System.Collections.Generic.Dictionary? headers = null, bool fetchAlways = false) { } - public static System.IObservable Insert(this Akavache.IBlobCache blobCache, string key, byte[] data, System.TimeSpan expiration) { } - public static System.IObservable InsertObject(this Akavache.IBlobCache blobCache, string key, T value, System.TimeSpan expiration) { } - public static System.IObservable SaveLogin(this Akavache.ISecureBlobCache blobCache, string user, string password, string host, System.TimeSpan expiration) { } - } - public class SimpleFilesystemProvider : Akavache.IFilesystemProvider - { - public SimpleFilesystemProvider() { } - public System.IObservable CreateRecursive(string path) { } - public System.IObservable Delete(string path) { } - public string GetDefaultLocalMachineCacheDirectory() { } - public string GetDefaultRoamingCacheDirectory() { } - public string GetDefaultSecretCacheDirectory() { } - public System.IObservable OpenFileForReadAsync(string path, System.Reactive.Concurrency.IScheduler scheduler) { } - public System.IObservable OpenFileForWriteAsync(string path, System.Reactive.Concurrency.IScheduler scheduler) { } - protected static string GetAssemblyDirectoryName() { } - } -} -namespace Akavache.Core -{ - public class Registrations - { - public Registrations() { } - public void Register(Splat.IMutableDependencyResolver resolver, Splat.IReadonlyDependencyResolver readonlyDependencyResolver) { } - } -} -namespace Akavache.Internal -{ - [System.Flags] - public enum FileAccess - { - Read = 1, - Write = 2, - ReadWrite = 3, - } - public enum FileMode - { - CreateNew = 1, - Create = 2, - Open = 3, - OpenOrCreate = 4, - Truncate = 5, - Append = 6, - } - [System.Flags] - public enum FileShare - { - None = 0, - Read = 1, - Write = 2, - ReadWrite = 3, - Delete = 4, - Inheritable = 16, - } -} -namespace System -{ - public static class StreamMixins { } -} \ No newline at end of file diff --git a/src/Akavache.Tests/API/ApiApprovalTests.AkavacheCore.netcoreapp3.1.approved.txt b/src/Akavache.Tests/API/ApiApprovalTests.AkavacheCore.net6.0.approved.txt similarity index 99% rename from src/Akavache.Tests/API/ApiApprovalTests.AkavacheCore.netcoreapp3.1.approved.txt rename to src/Akavache.Tests/API/ApiApprovalTests.AkavacheCore.net6.0.approved.txt index ec9d1125c..706038571 100644 --- a/src/Akavache.Tests/API/ApiApprovalTests.AkavacheCore.netcoreapp3.1.approved.txt +++ b/src/Akavache.Tests/API/ApiApprovalTests.AkavacheCore.net6.0.approved.txt @@ -4,7 +4,7 @@ [assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Akavache.Mobile")] [assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Akavache.Sqlite3")] [assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Akavache.Tests")] -[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName="")] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v6.0", FrameworkDisplayName="")] namespace Akavache { public class AkavacheHttpMixin : Akavache.IAkavacheHttpMixin diff --git a/src/Akavache.Tests/API/ApiApprovalTests.AkavacheDrawing.net461.approved.txt b/src/Akavache.Tests/API/ApiApprovalTests.AkavacheDrawing.net461.approved.txt deleted file mode 100644 index c1f5cc76a..000000000 --- a/src/Akavache.Tests/API/ApiApprovalTests.AkavacheDrawing.net461.approved.txt +++ /dev/null @@ -1,22 +0,0 @@ -[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/reactiveui/akavache")] -[assembly: System.Runtime.Versioning.TargetFramework(".NETFramework,Version=v4.6.1", FrameworkDisplayName=".NET Framework 4.6.1")] -namespace Akavache -{ - public static class BitmapImageMixin - { - public static System.IObservable LoadImage(this Akavache.IBlobCache blobCache, string key, float? desiredWidth = default, float? desiredHeight = default) { } - public static System.IObservable LoadImageFromUrl(this Akavache.IBlobCache blobCache, string url, bool fetchAlways = false, float? desiredWidth = default, float? desiredHeight = default, System.DateTimeOffset? absoluteExpiration = default) { } - public static System.IObservable LoadImageFromUrl(this Akavache.IBlobCache blobCache, System.Uri url, bool fetchAlways = false, float? desiredWidth = default, float? desiredHeight = default, System.DateTimeOffset? absoluteExpiration = default) { } - public static System.IObservable LoadImageFromUrl(this Akavache.IBlobCache blobCache, string key, string url, bool fetchAlways = false, float? desiredWidth = default, float? desiredHeight = default, System.DateTimeOffset? absoluteExpiration = default) { } - public static System.IObservable LoadImageFromUrl(this Akavache.IBlobCache blobCache, string key, System.Uri url, bool fetchAlways = false, float? desiredWidth = default, float? desiredHeight = default, System.DateTimeOffset? absoluteExpiration = default) { } - public static System.IObservable ThrowOnBadImageBuffer(byte[] compressedImage) { } - } -} -namespace Akavache.Drawing -{ - public class Registrations - { - public Registrations() { } - public void Register(Splat.IMutableDependencyResolver resolver, Splat.IReadonlyDependencyResolver readonlyDependencyResolver) { } - } -} \ No newline at end of file diff --git a/src/Akavache.Tests/API/ApiApprovalTests.AkavacheDrawing.net5.0.approved.txt b/src/Akavache.Tests/API/ApiApprovalTests.AkavacheDrawing.net5.0.approved.txt deleted file mode 100644 index be66aea3a..000000000 --- a/src/Akavache.Tests/API/ApiApprovalTests.AkavacheDrawing.net5.0.approved.txt +++ /dev/null @@ -1,24 +0,0 @@ -[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/reactiveui/akavache")] -[assembly: System.Runtime.Versioning.SupportedOSPlatform("Windows7.0")] -[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v5.0", FrameworkDisplayName="")] -[assembly: System.Runtime.Versioning.TargetPlatform("Windows7.0")] -namespace Akavache -{ - public static class BitmapImageMixin - { - public static System.IObservable LoadImage(this Akavache.IBlobCache blobCache, string key, float? desiredWidth = default, float? desiredHeight = default) { } - public static System.IObservable LoadImageFromUrl(this Akavache.IBlobCache blobCache, string url, bool fetchAlways = false, float? desiredWidth = default, float? desiredHeight = default, System.DateTimeOffset? absoluteExpiration = default) { } - public static System.IObservable LoadImageFromUrl(this Akavache.IBlobCache blobCache, System.Uri url, bool fetchAlways = false, float? desiredWidth = default, float? desiredHeight = default, System.DateTimeOffset? absoluteExpiration = default) { } - public static System.IObservable LoadImageFromUrl(this Akavache.IBlobCache blobCache, string key, string url, bool fetchAlways = false, float? desiredWidth = default, float? desiredHeight = default, System.DateTimeOffset? absoluteExpiration = default) { } - public static System.IObservable LoadImageFromUrl(this Akavache.IBlobCache blobCache, string key, System.Uri url, bool fetchAlways = false, float? desiredWidth = default, float? desiredHeight = default, System.DateTimeOffset? absoluteExpiration = default) { } - public static System.IObservable ThrowOnBadImageBuffer(byte[] compressedImage) { } - } -} -namespace Akavache.Drawing -{ - public class Registrations - { - public Registrations() { } - public void Register(Splat.IMutableDependencyResolver resolver, Splat.IReadonlyDependencyResolver readonlyDependencyResolver) { } - } -} \ No newline at end of file diff --git a/src/Akavache.Tests/API/ApiApprovalTests.AkavacheDrawing.netcoreapp3.1.approved.txt b/src/Akavache.Tests/API/ApiApprovalTests.AkavacheDrawing.net6.0.approved.txt similarity index 94% rename from src/Akavache.Tests/API/ApiApprovalTests.AkavacheDrawing.netcoreapp3.1.approved.txt rename to src/Akavache.Tests/API/ApiApprovalTests.AkavacheDrawing.net6.0.approved.txt index 8359d8e3a..6fa5f0336 100644 --- a/src/Akavache.Tests/API/ApiApprovalTests.AkavacheDrawing.netcoreapp3.1.approved.txt +++ b/src/Akavache.Tests/API/ApiApprovalTests.AkavacheDrawing.net6.0.approved.txt @@ -1,5 +1,5 @@ [assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/reactiveui/akavache")] -[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v3.1", FrameworkDisplayName="")] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName="")] namespace Akavache { public static class BitmapImageMixin diff --git a/src/Akavache.Tests/API/ApiApprovalTests.AkavacheProject.net461.approved.txt b/src/Akavache.Tests/API/ApiApprovalTests.AkavacheProject.net461.approved.txt deleted file mode 100644 index 6126282ea..000000000 --- a/src/Akavache.Tests/API/ApiApprovalTests.AkavacheProject.net461.approved.txt +++ /dev/null @@ -1,19 +0,0 @@ -[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/reactiveui/akavache")] -[assembly: System.Runtime.Versioning.TargetFramework(".NETFramework,Version=v4.6.1", FrameworkDisplayName=".NET Framework 4.6.1")] -namespace Akavache -{ - public class Registrations - { - public Registrations() { } - public void Register(Splat.IMutableDependencyResolver resolver, Splat.IReadonlyDependencyResolver readonlyDependencyResolver) { } - public static void Start(string applicationName) { } - } -} -namespace Akavache.Sqlite3 -{ - public static class LinkerPreserve { } - public class SQLitePersistentBlobCache : Akavache.Sqlite3.SqlRawPersistentBlobCache - { - public SQLitePersistentBlobCache(string databaseFile, System.Reactive.Concurrency.IScheduler? scheduler = null) { } - } -} \ No newline at end of file diff --git a/src/Akavache.Tests/API/ApiApprovalTests.AkavacheProject.net5.0.approved.txt b/src/Akavache.Tests/API/ApiApprovalTests.AkavacheProject.net6.0.approved.txt similarity index 94% rename from src/Akavache.Tests/API/ApiApprovalTests.AkavacheProject.net5.0.approved.txt rename to src/Akavache.Tests/API/ApiApprovalTests.AkavacheProject.net6.0.approved.txt index 119672135..0504468d0 100644 --- a/src/Akavache.Tests/API/ApiApprovalTests.AkavacheProject.net5.0.approved.txt +++ b/src/Akavache.Tests/API/ApiApprovalTests.AkavacheProject.net6.0.approved.txt @@ -1,5 +1,5 @@ [assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/reactiveui/akavache")] -[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v5.0", FrameworkDisplayName="")] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v6.0", FrameworkDisplayName="")] namespace Akavache { public class Registrations diff --git a/src/Akavache.Tests/API/ApiApprovalTests.AkavacheProject.netcoreapp3.1.approved.txt b/src/Akavache.Tests/API/ApiApprovalTests.AkavacheProject.netcoreapp3.1.approved.txt deleted file mode 100644 index c247d23bb..000000000 --- a/src/Akavache.Tests/API/ApiApprovalTests.AkavacheProject.netcoreapp3.1.approved.txt +++ /dev/null @@ -1,19 +0,0 @@ -[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/reactiveui/akavache")] -[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName="")] -namespace Akavache -{ - public class Registrations - { - public Registrations() { } - public void Register(Splat.IMutableDependencyResolver resolver, Splat.IReadonlyDependencyResolver readonlyDependencyResolver) { } - public static void Start(string applicationName) { } - } -} -namespace Akavache.Sqlite3 -{ - public static class LinkerPreserve { } - public class SQLitePersistentBlobCache : Akavache.Sqlite3.SqlRawPersistentBlobCache - { - public SQLitePersistentBlobCache(string databaseFile, System.Reactive.Concurrency.IScheduler? scheduler = null) { } - } -} \ No newline at end of file diff --git a/src/Akavache.Tests/Akavache.Tests.csproj b/src/Akavache.Tests/Akavache.Tests.csproj index 475024d62..41c56e951 100644 --- a/src/Akavache.Tests/Akavache.Tests.csproj +++ b/src/Akavache.Tests/Akavache.Tests.csproj @@ -1,8 +1,7 @@  - netcoreapp3.1 - $(TargetFrameworks);net5.0-windows + net6.0 $(NoWarn);CA1307;CA2000;CA1062 latest @@ -15,11 +14,11 @@ - + - + all diff --git a/src/Akavache/Akavache.csproj b/src/Akavache/Akavache.csproj index 94ca2fa56..a3329295c 100644 --- a/src/Akavache/Akavache.csproj +++ b/src/Akavache/Akavache.csproj @@ -1,8 +1,8 @@  - netstandard2.0;netstandard2.1;Xamarin.iOS10;Xamarin.Mac20;Xamarin.TVOS10;MonoAndroid10.0;tizen40;net5.0 - $(TargetFrameworks);net461;uap10.0.16299 + netstandard2.0;netstandard2.1;Xamarin.iOS10;Xamarin.Mac20;Xamarin.TVOS10;MonoAndroid10.0;tizen40;net6.0 + $(TargetFrameworks);net462;uap10.0.16299 Akavache Akavache An asynchronous, persistent key-value store for desktop and mobile applications on .NET @@ -13,7 +13,7 @@ - + diff --git a/src/Directory.build.props b/src/Directory.build.props index d3ccc09dd..76e34f0d0 100644 --- a/src/Directory.build.props +++ b/src/Directory.build.props @@ -22,6 +22,8 @@ $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb CS8600;CS8602;CS8603;CS8604;CS8605;CS8606;CS8607;CS8608;CS8609;CS8610;CS8611;CS8612;CS8613;CS8614;CS8615;CS8616;CS8617;CS8618;CS8619;CS8620;CS8621;CS8622;CS8623;CS8624;CS8625;CS8626;CS8627;CS8628;CS8629;CS8630;CS8634;CS8766;CS8767 + True + latest @@ -38,8 +40,7 @@ - - + diff --git a/tests/NuGetInstallationIntegrationTests/Android/Resources/Resource.Designer.cs b/tests/NuGetInstallationIntegrationTests/Android/Resources/Resource.Designer.cs index c15d4ab62..0db386eae 100644 --- a/tests/NuGetInstallationIntegrationTests/Android/Resources/Resource.Designer.cs +++ b/tests/NuGetInstallationIntegrationTests/Android/Resources/Resource.Designer.cs @@ -14,7 +14,7 @@ namespace Android { - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Android.Build.Tasks", "1.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Android.Build.Tasks", "12.1.0.11")] public partial class Resource { diff --git a/tests/NuGetInstallationIntegrationTests/XamarinFormsApp/XamarinFormsApp.Android/Resources/Resource.Designer.cs b/tests/NuGetInstallationIntegrationTests/XamarinFormsApp/XamarinFormsApp.Android/Resources/Resource.Designer.cs index 05e27b366..29d4af405 100644 --- a/tests/NuGetInstallationIntegrationTests/XamarinFormsApp/XamarinFormsApp.Android/Resources/Resource.Designer.cs +++ b/tests/NuGetInstallationIntegrationTests/XamarinFormsApp/XamarinFormsApp.Android/Resources/Resource.Designer.cs @@ -14,7 +14,7 @@ namespace XamarinFormsApp.Droid { - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Android.Build.Tasks", "1.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Android.Build.Tasks", "12.1.0.11")] public partial class Resource { diff --git a/version.json b/version.json index a593e85e6..32a504710 100644 --- a/version.json +++ b/version.json @@ -1,5 +1,5 @@ { - "version": "7.3", + "version": "8.1", "publicReleaseRefSpec": [ "^refs/heads/main$", // we release out of master "^refs/heads/develop$", // we release out of develop