Repository navigation
Releases: dav-apps/davClassLibrary
Releases · dav-apps/davClassLibrary
Release list
v1.3.2
Changelog
- Update davClassLibrary/DataAccess/SyncManager.cs
- Fix swapped file path and content type arguments when uploading updated files
- Use named arguments for file uploads to avoid argument mix-ups
- Skip creating file objects when the local file is missing
- Handle failed uploads without an error object to prevent null reference exceptions
- Update davClassLibrary/Controllers/TableObjectsController.cs
- Validate file paths before uploading files
- Return a failed upload result for missing or unreadable files instead of throwing an exception
- Add davClassLibrary.Tests/DataAccess/UploadFailure.spec.cs
- Verify that missing files fail without making a network request
- Verify that synchronization uploads the correct file contents and MIME type
- Verify that transport failures do not cause a secondary null reference exception
v1.3.1
Changelog
- Update davClassLibrary/DataAccess/ApiManager.cs
- Add DownloadPublicFile to download public files without an authorization header
- Keep authenticated downloads separate from public downloads
- Update davClassLibrary/DataAccess/SyncManager.cs
- Fix profile image downloads by using DownloadPublicFile for public image URLs
- Add davClassLibrary.Tests/DataAccess/ApiManager.spec.cs
- Verify that public downloads omit the access token and authenticated downloads use the current token
- Update davClassLibrary/davClassLibrary.csproj
- Update System.Text.Encoding.CodePages from 10.0.10 to 10.0.12
v1.3
Changelog
- General
- Migrate API communication from REST to GraphQL
- Add GraphQL nuget packages, remove Websockets package & update all other packages
- Update davClassLibrary/Dav.cs
- Rename TableIds to TableNames & ParallelTableIds to ParallelTableNames
- Remove websocket connection handling
- Update davClassLibrary/Controllers/CheckoutSessionsController.cs
- Replace REST API implementation with GraphQL
- Rename CreateCheckoutSession to CreateSubscriptionCheckoutSession
- Update davClassLibrary/Controllers/SessionsController.cs
- Replace REST API implementation with GraphQL
- Remove CreateSession method
- Update RenewSession and DeleteSession methods for GraphQL
- Update davClassLibrary/Controllers/TableObjectsController.cs
- Replace REST API implementation with GraphQL
- Replace GetTableObject with RetrieveTableObject
- Update CreateTableObject, UpdateTableObject and DeleteTableObject methods for GraphQL
- Replace SetTableObjectFile with UploadTableObjectFile
- Remove GetTableObjectFile method
- Update davClassLibrary/Controllers/TablesController.cs
- Replace REST API implementation with GraphQL
- Replace GetTable with RetrieveTable using table names
- Update davClassLibrary/Controllers/UsersController.cs
- Replace REST API implementation with GraphQL
- Replace GetUser with RetrieveUser
- Remove GetProfileImageOfUser method
- Remove davClassLibrary/Controllers/WebsocketConnectionsController.cs
- Add davClassLibrary/DataAccess/ApiManager.cs
- Add HTTP and GraphQL client management
- Add DownloadFile method
- Update davClassLibrary/DataAccess/SettingsManager.cs
- Remove fallback support for old jwt and username settings keys
- Update davClassLibrary/DataAccess/SyncManager.cs
- Migrate synchronization from REST to GraphQL
- Change table synchronization from table ids to table names
- Remove websocket synchronization for real-time table object changes
- Update table object create, update, delete and file synchronization for GraphQL
- Add davClassLibrary/Models/Resources.cs
- Add GraphQL resource models
- Update davClassLibrary/Types.cs
- Add GraphQL response types
- Update davClassLibrary/ErrorCodes.cs
- Replace numeric API error codes with GraphQL string error codes
- Update davClassLibrary/Utils.cs
- Add GraphQL API error handling
- Rename SortTableIds to SortTableNames and change it to use string table names
- Update davClassLibrary.Tests/DataAccess/SyncManager.spec.cs
- Update all tests for changes in controller methods
- Update davClassLibrary.Tests/Utils.spec.cs
- Update all tests for SortTableIds for change to SortTableNames