Skip to content

Latest commit

 

History

History
238 lines (147 loc) · 7.17 KB

CHANGELOG.md

File metadata and controls

238 lines (147 loc) · 7.17 KB

v2.1.0

potential breaking changes

  • typescript target changed to es2018 due to named capturing groups errors

v2.0.10

improvements

  • fixed #191 where authFunction is not properly assigned in constructor.
  • updated deps.

v2.0.9

improvements

  • fixed #181 where a null check is missing.
  • fixed doc example, thanks to #175
  • added docs related to smart calendar syncing #138

v2.0.8

improvements etag of DAVObject is now optional fixing #158

v2.0.7

features new option headersToExclude on all possible functions, allow precise control on request headers, fixing #166

improvements updated dependencies

v2.0.6

improvements

updated dependencies, fixing #159

v2.0.5

features

DAVClient supports digest auth and custom auth, please go to authHelpers page in docs for more details.

fetchCalendars now supports projectedProps, previously customProps passed in will not get projected to fetched result properly. with this object map you can map your custom prop to fetched result thanks to @m0dch3n

improvements

calendarMultiGet will not send <filter/> element if custom filters are null or undefined thanks to @jelmer

docs improvement thanks to @MathisFrenais

typescript type improvement thanks to @zomars

v2.0.4

features

  • new option useMultiGet for fetchCalendarObjects and fetchVCards which controls the underlying fetching function to better support fetching from providers which does not support multiGet functions

improvements

  • improved documentation
  • improved typescript types
  • updated deps
  • added .mjs,.cjs,.min.mjs and .min.cjs versions

v2.0.3

improvements

  • added support for davical
  • fixed a bug related to expand #116
  • updated deps

v2.0.2

improvements

  • fixed dependency issues #103
  • updated deps

v2.0.1

improvements

  • Add missing attribute to makeCalendar method #93, Thanks to @nibdo
  • updated dependencies

v2.0.0

features

  • etag param on updateObject is now optional, since some caldav servers will throw error if we use If-Match headers.

improvements

  • fixed collection query not handling empty result properly.
  • createObject requests now send If-None-Match: * to avoid accidental overwrite.
  • depth header and others are now able be to overwritten by user specified headers.
  • tested with zoho

v2.0.0-rc.3

  • fixed urlFilter not really filtering the urls, only filtering on pathname of urls.
  • fixed a bug where fetching on empty calendars/addressBooks returning calendar/addressBook itself as result.

v2.0.0-rc.2

improvements

  • fixed wrong namespace issue
  • fixed a bug where supportedReportSet was using incorrect depth, which resulted more data fetched than needed.
  • added tests for supportedReportSet

docs

  • added doc for freeBusyQuery

v2.0.0-rc.1

improvements

  • fixed wrong namespace issue

v2.0.0-rc.0

breaking

  • removed DAVFilter and DAVProp, now all function uses ElementCompact as prop and filter directly generated from xml-js instead.
  • removed related formatProp, formatFilter and mergeObjectDupKeyArray function since they are not needed (These functions were marked as internal so they really shouldn't be causing breaking change).
  • removed DAVNamespaceShorthandMap and added DAVNamespaceShort as a replacement.
  • renamed parameter vCardUrlFilter of function fetchVCards to urlFilter for consistent naming.
  • collectionQuery now accepts DAVNamespaceShort instead of DAVNamespace.

features

  • added freeBusyQuery for CALDAV, note this feature is not working with many caldav providers.
  • added expand for fetchCalendarObjects so it can now.
  • added prop and filter overriding feature to functions where overriding is possible.

improvements

  • now fetchCalendar fetch calendarColor by default.

docs

  • added a helper to convert xml between tsdav compatible js objects.
  • added migration helper to help convert old DAVProp and DAVFilter into new ElementCompact.
  • fixed theming issues to create a more consistent light theme.
  • added sitemap for docs for better seo.
  • archived version 1.x docs.

v1.1.6

improvements

  • Added vCardUrlFilter to fetchVCards to allow vCard Urls to be filtered before fetching
  • tested with baikal

v1.1.5

improvements

  • fixed import error when using with node
  • tested with nextcloud

v1.1.4

features

Added fastmail cloud providers support.

improvements

  • Fixed a bug which prevents calendar objects from being fetched.
  • Fixed a bug which prevents display name of calendars from being fetched.

v1.1.3

improvements

  • Fixed esm and browser support problems #19
  • Added rollup as bundler to allow CDN support #32
  • dist builds are now committed and now comes with four versions:
    • tsdav.cjs.js commonjs version which can be used with node 10 or later.
    • tsdav.esm.js esm version which can be used in pure esm packages with node 12 or later.
    • tsdav.js version which can be used in both browser and node, contains polyfills and with dependencies bundled in, which makes the file size larger.
    • tsdav.min.js minified version of tsdav.js.

v1.1.2

improvements

  • Fixed a bug which prevents from addressBookMultiGet working #18
  • Fixed supportedReportSet undefined error
  • ctag obtained from isCollectionDirty should now correctly be string instead of number
  • updated all dependencies
  • tests are now restructured to integration and unit tests, allowing much better extensibility.
  • test requests are now mocked, allowing testing the whole stack without external dependencies
  • fixed multiple errors in documentation

v1.1.1

improvements

  • Fixed spread params for new way of creating dav client, thanks to @molaux
  • Ensure service discovery redirect maintains the proper port, thanks to @n8io
  • Fixed a time range issue with new time range format

v1.1.0

breaking changes

  • DAVClient is no longer a type returned by createDAVClient, instead it's a class that can be instantiated.
  • timeRange in fetchCalendarObjects is now validated against ISO_8601 standard and invalid format will throw an error.
  • typescript target changed to es2015, if you are on node >= 10 and browsers that are not IE and have been updated since 2015, you should be fine. support for es5 output is not possible with added esm support.

features

  • added a new way to create DAVClient by new DAVClient(...params).
  • added support for esm.
improvements
  • typescript checks are now with strict enabled, which means better types and less bugs.
  • added more exports, now all internal functions are exported.
  • multiple documentation improvements.

v1.0.6

Fixed a bug where timeRange filter sometimes might be in the wrong format.

v1.0.3

Fixed a bug where calendar objects with http in its id would cause operations on it to fail.