This repository has been archived by the owner on Feb 14, 2022. It is now read-only.
Releases: DecaTec/Portable-WebDAV-Library
Releases · DecaTec/Portable-WebDAV-Library
Portable WebDAV Library v0.8.2.0
- The classes
AbsoluteUri
,CodedUrl
andNoTagList
do not provide public constructors anymore so that the specification cannot be bypassed. Use theTryParse
methods to create an instance of these classes. AbsoluteUri.ToString
: Do not try to parse, de- or encode the URI.
Portable WebDAV Library v0.8.1.0
- New Timeout property for WebDavSession (default timeout value is 100 seconds).
Portable WebDAV Library v0.8.0.0
- When using WebDavClient.DownloadFileWithProgressAsync, the passed Stream does not get disposed automatically. Disposing of this Stream is up to the client calling this method.
- Strongly typed versions of Lock-Token formats as defined in WebDAV specification.
- When using the Portable WebDAV Library on Xamarin, there was a problem when relative URLs (strings) where used (e.g. webDavSession.ListAsync(@"/folder")).
- When using WebDavSession, a base URL (string) can now be specified.
- The 'Translate' header is always set to 'f' for IIS WebDAV serving unmapped file types (see https://msdn.microsoft.com/en-us/library/cc250063.aspx).
- Bugfix: When using WebDavSession with BaseUri and calling methods passing only the relative Uri/URL to a file, these operations always failed.
- Bugfix: When using WebDavSession.UploadFileWithProgressAsync with a URL, there was a stack overflow exception because the method called itself instead of the correct overload.
Portable WebDAV Library v0.7.0.0
- The library now targets .NETStandard 1.1 (.NET Core) and can be used on any platform supporting .NETStandard 1.1.
- Due to .NETStandard support, the library is not separated into two parts (UWP/NetFx) anymore. One library for all the target platforms.
- Breaking change: The whole library is now based on System.Net.Http.HttpClient. Therefore, there are some changes in the API (e.g. method signatures).
- Upload/download with progress is generally supported, even on projects targeting .NET Framework (formerly the NetFx part of the library).
- The xml:lang attribute is now supported for prop elements.
Portable WebDAV Library v0.6.3.0
- Breaking change: The owner element now allows any content. If a URL or e mail address should be provided (as simple string), use the property OwnerHref. This is the same behavior as in previous versions of the library. When child elements, mixed content, text content or attributes should be provided for the owner, use the new property OwnerRaw.
Due to these changes, the owner is not a separate object (WebDavArtifacts) anymore, but represented by the properties OwnerHref and OwnerRaw in the classes ActiveLock and LockInfo. - WebDavClient: All method overloads accepting a URL as string now construct the Uri with UriKind.RelativeOrAbsolute, so relative URLs can be specified.
- Changed formatting of Lock-Token header as defined in RFC 4918.
Portable WebDAV Library v0.6.2.0
- Added missing property 'SupportedLock' as defined in RFC 4918.
- The class LockToken now exposes the internal LockToken value for serialization purposes.
- NetFx: The response headers are now transparently added to the WebDavResponseMessage (i.e. without validation).
- Bugfix: Fix incorrect checks on the existence of the LockToken header in responses.
Portable WebDAV Library v0.6.1.0
- WebDavSession: WebDavSession: new overloads for DownloadFileAsync.
- Bugfix: Fixed problems when URLs were HTML encoded.
- Bugfix: Fixed problems when combining URIs/URLs.
- Workaround when a server returns an invalid ETag header (NetFx only).
Portable WebDAV Library v0.6.0.0
- New overloads for UriHelper.CombineUri supporting a second parameter indicating if duplicated path segments of the second URI should be removed from the resulting URI. E.g. when this parameter is set to true, combining the URIs https://myserver.com/webdav and /webdav/myfile.txt will result in https://myserver.com/webdav/myfile.txt (not https://myserver.com/webdav/webdav/myfile.txt). When this parameter is set to false (or by using the overload omitting this parameter), the URIs simply get combined as they are.
- New overloads for UriHelper.AddTrailingSlash supporting a second parameter indicating if a file is expected in the URI/URL. Before this change, this method did not work with folder names containing a dot ('.').
- New overloads for several methods in UriHelper accepting URLs as string.
- Bugfix: Sometimes WebDavSession.ListAsync also returned the parent (containing) folder (due to wrong combination of URIs).
- Bugfix: Fixed error parsing boolean properties for WebDavSessionListItem.
- WebDavSession.ListAsync: The WebDAV library now uses the original port specified in the request to build the response (if the response comes from a different port internally).
- New method in UriHelper to remove the port from an URI/URL.
- WebDavSession.ListAsync: When a Prop's DisplayName contains unreadable characters, the last part of the URI is used as WebDavSession ListItem's name instead.
Portable WebDAV Library v0.5.3.0
- Bugfix: Fixed error with combining base URI and relative URI for WebDavSession.
Portable WebDAV Library v0.5.2.0
- WebDavSession.ListAsync now uses allprop as default.
- New overloads for WebDavSession.ListAsync where a PropFind can be specified (e.g. PropFind.CreatePropFindWithEmptyPropertiesAll()).
- Updated and improved documentation.