1 1.7.0-alpha (2012-??-??)
2 * BC Break: The calendarobjects database table has a bunch of new fields,
3 and a migration script is required to ensure everything will keep
4 working. Read the wiki for more details.
5 * BC Break: The iCalendar interface now has a new method: calendarQuery.
6 * BC Break: In this version a number of classes have been deleted, that
7 have been previously deprecated. Namely:
8 - Sabre_DAV_Directory (now: Sabre_DAV_Collection)
9 - Sabre_DAV_SimpleDirectory (now: Sabre_DAV_SimpleCollection)
10 - Sabre_VObject_Element_DateTime (now: Sabre_VObject_Property_DateTime)
11 - Sabre_VObject_Element_MultiDateTime (now .._Property_MultiDateTime)
12 * BC Break: Sabre_CalDAV_Schedule_IMip::sendMessage now has an extra
13 argument. If you extended this class, you should fix this method. It's
14 only used for informational purposes.
15 * Changed: Responsibility for dealing with the calendar-query is now moved
16 from the CalDAV plugin to the CalDAV backends. This allows for heavy
18 * Changed: The CalDAV PDO backend is now a lot faster for common calendar
20 * Fixed: Marking both the text/calendar and text/x-vcard as UTF-8 encoded.
21 * Fixed: Workaround for the SOGO connector, as it doesn't understand
22 receiving "text/x-vcard; charset=utf-8" for a contenttype.
23 * Added: Sabre_DAV_Client now throws more specific exceptions in cases
24 where we already has an exception class.
25 * Added: Sabre_DAV_PartialUpdate. This plugin allows you to use the PATCH
26 method to update parts of a file.
28 1.6.3-stable (2012-??-??)
29 * Added: It's now possible to specify in Sabre_DAV_Client which type of
30 authentication is to be used.
31 * Fixed: Issue 206: Sabre_DAV_Client PUT requests are fixed.
32 * Fixed: Issue 205: Parsing an iCalendar 0-second date interval.
33 * Fixed: Issue 112: Stronger validation of iCalendar objects. Now making
34 sure every iCalendar object only contains 1 component, and disallowing
35 vcards, forcing every component to have a UID.
36 * Fixed: Basic validation for vcards in the CardDAV plugin.
37 * Fixed: Issue 213: Workaround for an Evolution bug, that prevented it
39 * Fixed: Issue 211: A time-limit query on a non-relative alarm trigger in
40 a recurring event could result in an endless loop.
41 * Fixed: All uri fields are now a maximum of 200 characters. The Bynari
42 outlook plugin used much longer strings so this should improve
44 * Fixed: Added a workaround for a bug in KDE 4.8.2 contact syncing. See
45 https://bugs.kde.org/show_bug.cgi?id=300047
47 1.6.2-stable (2012-04-16)
48 * Fixed: Sabre_VObject_Node::$parent should have been public.
49 * Fixed: Recurrence rules of events are now taken into consideration when
50 doing time-range queries on alarms.
51 * Fixed: Added a workaround for the fact that php's DateInterval cannot
52 parse weeks and days at the same time.
53 * Added: Sabre_DAV_Server::$exposeVersion, allowing you to hide SabreDAV's
54 version number from various outputs.
55 * Fixed: DTSTART values would be incorrect when expanding events.
56 * Fixed: DTSTART and DTEND would be incorrect for expansion of WEEKLY
58 * Fixed: Issue 203: A problem with overridden events hitting the exact
59 date and time of a subsequent event in the recurrence set.
60 * Fixed: There was a problem with recurrence rules, for example the 5th
61 tuesday of the month, if this day did not exist.
62 * Added: New HTTP status codes from draft-nottingham-http-new-status-04.
64 1.6.1-stable (2012-03-05)
65 * Added: createFile and put() can now return an ETag.
66 * Added: Sending back an ETag on for operations on CardDAV backends. This
67 should help with OS X 10.6 Addressbook compatibility.
68 * Fixed: Fixed a bug where an infinite loop could occur in the recurrence
69 iterator if the recurrence was YEARLY, with a BYMONTH rule, and either
70 BYDAY or BYMONTHDAY match the first day of the month.
71 * Fixed: Events that are excluded using EXDATE are still counted in the
72 COUNT= parameter in the RRULE property.
73 * Added: Support for time-range filters on VALARM components.
74 * Fixed: Correctly filtering all-day events.
75 * Fixed: Sending back correct mimetypes from the browser plugin (thanks
77 * Fixed: Issue 195: Sabre_CardDAV pear package had an incorrect dependency.
78 * Fixed: Calendardata would be destroyed when performing a MOVE request.
80 1.6.0-stable (2012-02-22)
81 * BC Break: Now requires PHP 5.3
82 * BC Break: Any node that implemented Sabre_DAVACL_IACL must now also
83 implement the getSupportedPrivilegeSet method. See website for details.
84 * BC Break: Moved functions from Sabre_CalDAV_XMLUtil to
85 Sabre_VObject_DateTimeParser.
86 * BC Break: The Sabre_DAVACL_IPrincipalCollection now has two new methods:
87 'searchPrincipals' and 'updatePrincipal'.
88 * BC Break: Sabre_DAV_ILockable is removed and all related per-node
89 locking functionality.
90 * BC Break: Sabre_DAV_Exception_FileNotFound is now deprecated in favor of
91 Sabre_DAV_Exception_NotFound. The former will be removed in a later
93 * BC Break: Removed Sabre_CalDAV_ICalendarUtil, use Sabre_VObject instead.
94 * BC Break: Sabre_CalDAV_Server is now deprecated, check out the
95 documentation on how to setup a caldav server with just
97 * BC Break: Default Principals PDO backend now needs a new field in the
98 'principals' table. See the website for details.
99 * Added: Ability to create new calendars and addressbooks from within the
101 * Added: Browser plugin: icons for various nodes.
102 * Added: Support for FREEBUSY reports!
103 * Added: Support for creating principals with admin-level privileges.
104 * Added: Possibility to let server send out invitation emails on behalf of
105 CalDAV client, using Sabre_CalDAV_Schedule_IMip.
106 * Changed: beforeCreateFile event now passes data argument by reference.
107 * Changed: The 'propertyMap' property from Sabre_VObject_Reader, must now
108 be specified in Sabre_VObject_Property::$classMap.
109 * Added: Ability for plugins to tell the ACL plugin which principal
110 plugins are searchable.
111 * Added: [DAVACL] Per-node overriding of supported privileges. This allows
112 for custom privileges where needed.
113 * Added: [DAVACL] Public 'principalSearch' method on the DAVACL plugin,
114 which allows for easy searching for principals, based on their
116 * Added: Sabre_VObject_Component::getComponents() to return a list of only
117 components and not properties.
118 * Added: An includes.php file in every sub-package (CalDAV, CardDAV, DAV,
119 DAVACL, HTTP, VObject) as an alternative to the autoloader. This often
121 * Added: Support for the 'Me card', which allows Addressbook.app users
122 specify which vcard is their own.
123 * Added: Support for updating principal properties in the DAVACL principal
125 * Changed: Major refactoring in the calendar-query REPORT code. Should
126 make things more flexible and correct.
127 * Changed: The calendar-proxy-[read|write] principals will now only appear
128 in the tree, if they actually exist in the Principal backend. This should
129 reduce some problems people have been having with this.
130 * Changed: Sabre_VObject_Element_* classes are now renamed to
131 Sabre_VObject_Property. Old classes are retained for backwards
132 compatibility, but this will be removed in the future.
133 * Added: Sabre_VObject_FreeBusyGenerator to generate free-busy reports
134 based on lists of events.
135 * Added: Sabre_VObject_RecurrenceIterator to find all the dates and times
136 for recurring events.
137 * Fixed: Issue 97: Correctly handling RRULE for the calendar-query REPORT.
138 * Fixed: Issue 154: Encoding of VObject parameters with no value was
140 * Added: Support for {DAV:}acl-restrictions property from RFC3744.
141 * Added: The contentlength for calendar objects can now be supplied by a
142 CalDAV backend, allowing for more optimizations.
143 * Fixed: Much faster implementation of Sabre_DAV_URLUtil::encodePath.
144 * Fixed: {DAV:}getcontentlength may now be not specified.
145 * Fixed: Issue 66: Using rawurldecode instead of urldecode to decode paths
146 from clients. This means that + will now be treated as a literal rather
147 than a space, and this should improve compatibility with the Windows
149 * Added: Sabre_DAV_Exception_PaymentRequired exception, to emit HTTP 402
151 * Added: Some mysql unique constraints to example files.
152 * Fixed: Correctly formatting HTTP dates.
153 * Fixed: Issue 94: Sending back Last-Modified header for 304 responses.
154 * Added: Sabre_VObject_Component_VEvent, Sabre_VObject_Component_VJournal,
155 Sabre_VObject_Component_VTodo and Sabre_VObject_Component_VCalendar.
156 * Changed: Properties are now also automatically mapped to their
157 appropriate classes, if they are created using the add() or __set()
159 * Changed: Cloning VObject objects now clones the entire tree, rather than
160 just the default shallow copy.
161 * Added: Support for recurrence expansion in the CALDAV:calendar-multiget
162 and CALDAV:calendar-query REPORTS.
163 * Changed: CalDAV PDO backend now sorts calendars based on the internal
164 'calendarorder' field.
165 * Added: Issue 181: Carddav backends may no optionally not supply the carddata in
166 getCards, if etag and size are specified. This may speed up certain
168 * Added: More arguments to beforeWriteContent and beforeCreateFile (see
169 WritingPlugins wiki document).
170 * Added: Hook for iCalendar validation. This allows us to validate
171 iCalendar objects when they're uploaded. At the moment we're just
173 * Added: VObject now support Windows Timezone names correctly (thanks
175 * Added: If a timezonename could not be detected, we fall back on the
176 default PHP timezone.
177 * Added: Now a Composer package (thanks willdurand).
178 * Fixed: Support for \N as a newline character in the VObject reader.
179 * Added: afterWriteContent, afterCreateFile and afterUnbind events.
180 * Added: Postgresql example files. Not part of the unittests though, so
181 use at your own risk.
182 * Fixed: Issue 182: Removed backticks from sql queries, so it will work
185 1.5.9-stable (2012-04-16)
186 * Fixed: Issue with parsing timezone identifiers that were surrounded by
187 quotes. (Fixes emClient compatibility).
189 1.5.8-stable (2012-02-22)
190 * Fixed: Issue 95: Another timezone parsing issue, this time in
193 1.5.7-stable (2012-02-19)
194 * Fixed: VObject properties are now always encoded before components.
195 * Fixed: Sabre_DAVACL had issues with multiple levels of privilege
197 * Changed: Added 'GuessContentType' plugin to fileserver.php example.
198 * Fixed: The Browser plugin will now trigger the correct events when
200 * Fixed: The ICSExportPlugin now considers ACL's.
201 * Added: Made it optional to supply carddata from an Addressbook backend
202 when requesting getCards. This can make some operations much faster, and
203 could result in much lower memory use.
204 * Fixed: Issue 187: Sabre_DAV_UUIDUtil was missing from includes file.
205 * Fixed: Issue 191: beforeUnlock was triggered twice.
207 1.5.6-stable (2012-01-07)
208 * Fixed: Issue 174: VObject could break UTF-8 characters.
209 * Fixed: pear package installation issues.
211 1.5.5-stable (2011-12-16)
212 * Fixed: CalDAV time-range filter workaround for recurring events.
213 * Fixed: Bug in Sabre_DAV_Locks_Backend_File that didn't allow multiple
214 files to be locked at the same time.
216 1.5.4-stable (2011-10-28)
217 * Fixed: GuessContentType plugin now supports mixed case file extensions.
218 * Fixed: DATE-TIME encoding was wrong in VObject. (we used 'DATETIME').
219 * Changed: Sending back HTTP 204 after a PUT request on an existing resource
220 instead of HTTP 200. This should fix Evolution CardDAV client
222 * Fixed: Issue 95: Parsing X-LIC-LOCATION if it's available.
223 * Added: All VObject elements now have a reference to their parent node.
225 1.5.3-stable (2011-09-28)
226 * Fixed: Sabre_DAV_Collection was missing from the includes file.
227 * Fixed: Issue 152. iOS 1.4.2 apparantly requires HTTP/1.1 200 OK to be in
229 * Fixed: Issue 153: Support for files with mixed newline styles in
231 * Fixed: Issue 159: Automatically converting any vcard and icalendardata
233 * Added: Sabre_DAV_SimpleFile class for easy static file creation.
234 * Added: Issue 158: Support for the CARDDAV:supported-address-data
237 1.5.2-stable (2011-09-21)
238 * Fixed: carddata and calendardata MySQL fields are now of type
239 'mediumblob'. 'TEXT' was too small sometimes to hold all the data.
240 * Fixed: {DAV:}supported-report-set is now correctly reporting the reports
242 * Added: Sabre_VObject_Property::add() to add duplicate parameters to
244 * Added: Issue 151: Sabre_CalDAV_ICalendar and Sabre_CalDAV_ICalendarObject
246 * Fixed: Issue 140: Not returning 201 Created if an event cancelled the
248 * Fixed: Issue 150: Faster URLUtil::encodePath() implementation.
249 * Fixed: Issue 144: Browser plugin could interfere with
250 TemporaryFileFilterPlugin if it was loaded first.
251 * Added: It's not possible to specify more 'alternate uris' in principal
254 1.5.1-stable (2011-08-24)
255 * Fixed: Issue 137. Hiding action interface in HTML browser for
257 * Fixed: addressbook-query is now correctly returned from the
258 {DAV:}supported-report-set property.
259 * Fixed: Issue 142: Bugs in groupwareserver.php example.
260 * Fixed: Issue 139: Rejecting PUT requests with Content-Range.
262 1.5.0-stable (2011-08-12)
263 * Added: CardDAV support.
264 * Added: An experimental WebDAV client.
265 * Added: MIME-Directory grouping support in the VObject library. This is
266 very useful for people attempting to parse vcards.
267 * BC Break: Adding parameters with the VObject libraries now overwrites
268 the previous parameter, rather than just add it. This makes more sense
269 for 99% of the cases.
270 * BC Break: lib/Sabre.autoload.php is now removed in favor of
271 lib/Sabre/autoload.php.
272 * Deprecated: Sabre_DAV_Directory is now deprecated and will be removed in
273 a future version. Use Sabre_DAV_Collection instead.
274 * Deprecated: Sabre_DAV_SimpleDirectory is now deprecated and will be
275 removed in a future version. Use Sabre_DAV_SimpleCollection instead.
276 * Fixed: Problem with overriding tablenames for the CalDAV backend.
277 * Added: Clark-notation parser to XML utility.
278 * Added: unset() support to VObject components.
279 * Fixed: Refactored CalDAV property fetching to be faster and simpler.
280 * Added: Central string-matcher for CalDAV and CardDAV plugins.
281 * Added: i;unicode-casemap support
282 * Fixed: VObject bug: wouldn't parse parameters if they weren't specified
284 * Fixed: VObject bug: Parameters now behave more like Properties.
285 * Fixed: VObject bug: Parameters with no value are now correctly parsed.
286 * Changed: If calendars don't specify which components they allow, 'all'
287 components are assumed (e.g.: VEVENT, VTODO, VJOURNAL).
288 * Changed: Browser plugin now uses POST variable 'sabreAction' instead of
289 'action' to reduce the chance of collisions.
291 1.4.4-stable (2011-07-07)
292 * Fixed: Issue 131: Custom CalDAV backends could break in certain cases.
293 * Added: The option to override the default tablename all PDO backends
295 * Fixed: Issue 124: 'File' authentication backend now takes realm into
297 * Fixed: Sabre_DAV_Property_HrefList now properly deserializes. This
298 allows users to update the {DAV:}group-member-set property.
299 * Added: Helper functions for DateTime-values in Sabre_VObject package.
300 * Added: VObject library can now automatically map iCalendar properties to
303 1.4.3-stable (2011-04-25)
304 * Fixed: Issue 123: Added workaround for Windows 7 UNLOCK bug.
305 * Fixed: datatype of lastmodified field in mysql.calendars.sql. Please
306 change the DATETIME field to an INT to ensure this field will work
308 * Change: Sabre_DAV_Property_Principal is now renamed to
309 Sabre_DAVACL_Property_Principal.
310 * Added: API level support for ACL HTTP method.
311 * Fixed: Bug in serializing {DAV:}acl property.
312 * Added: deserializer for {DAV:}resourcetype property.
313 * Added: deserializer for {DAV:}acl property.
314 * Added: deserializer for {DAV:}principal property.
316 1.4.2-beta (2011-04-01)
317 * Added: It's not possible to disable listing of nodes that are denied
319 * Fixed: Changed a few properties in CalDAV classes from private to
321 * Fixed: Issue 119: Terrible things could happen when relying on
322 guessBaseUri, the server was running on the root of the domain and a user
323 tried to access a file ending in .php. This is a slight BC break.
324 * Fixed: Issue 118: Lock tokens in If headers without a uri should be
325 treated as the request uri, not 'all relevant uri's.
326 * Fixed: Issue 120: PDO backend was incorrectly fetching too much locks in
327 cases where there were similar named locked files in a directory.
329 1.4.1-beta (2011-02-26)
330 * Fixed: Sabre_DAV_Locks_Backend_PDO returned too many locks.
331 * Fixed: Sabre_HTTP_Request::getHeader didn't return Content-Type when
332 running on apache, so a few workarounds were added.
333 * Change: Slightly changed CalDAV Backend API's, to allow for heavy
334 optimizations. This is non-bc breaking.
336 1.4.0-beta (2011-02-12)
337 * Added: Partly RFC3744 ACL support.
338 * Added: Calendar-delegation (caldav-proxy) support.
339 * BC break: In order to fix Issue 99, a new argument had to be added to
340 Sabre_DAV_Locks_Backend_*::getLocks classes. Consult the classes for
342 * Deprecated: Sabre_DAV_Locks_Backend_FS is now deprecated and will be
343 removed in a later version. Use PDO or the new File class instead.
344 * Deprecated: The Sabre_CalDAV_ICalendarUtil class is now marked
345 deprecated, and will be removed in a future version. Please use
346 Sabre_VObject instead.
347 * Removed: All principal-related functionality has been removed from the
348 Sabre_DAV_Auth_Plugin, and moved to the Sabre_DAVACL_Plugin.
349 * Added: VObject library, for easy vcard/icalendar parsing using a natural
351 * Added: Ability to automatically generate full .ics feeds off calendars.
352 To use: Add the Sabre_CalDAV_ICSExportPlugin, and add ?export to your
354 * Added: Plugins can now specify a pluginname, for easy access using
355 Sabre_DAV_Server::getPlugin().
356 * Added: beforeGetProperties event.
357 * Added: updateProperties event.
358 * Added: Principal listings and calendar-access can now be done privately,
359 disallowing users from accessing or modifying other users' data.
360 * Added: You can now pass arrays to the Sabre_DAV_Server constructor. If
361 it's an array with node-objects, a Root collection will automatically be
362 created, and the nodes are used as top-level children.
363 * Added: The principal base uri is now customizable. It used to be
364 hardcoded to 'principals/[user]'.
365 * Added: getSupportedReportSet method in ServerPlugin class. This allows
366 you to easily specify which reports you're implementing.
367 * Added: A '..' link to the HTML browser.
368 * Fixed: Issue 99: Locks on child elements were ignored when their parent
370 * Fixed: Issue 90: lockdiscovery property and LOCK response now include a
371 {DAV}lockroot element.
372 * Fixed: Issue 96: support for 'default' collation in CalDAV text-match
374 * Fixed: Issue 102: Ensuring that copy and move with identical source and
375 destination uri's fails.
376 * Fixed: Issue 105: Supporting MKCALENDAR with no body.
377 * Fixed: Issue 109: Small fixes in Sabre_HTTP_Util.
378 * Fixed: Issue 111: Properly catching the ownername in a lock (if it's a
380 * Fixed: Sabre_DAV_ObjectTree::nodeExist always returned false for the
382 * Added: Global way to easily supply new resourcetypes for certain node
384 * Fixed: Issue 59: Allowing the user to override the authentication realm
385 in Sabre_CalDAV_Server.
386 * Update: Issue 97: Looser time-range checking if there's a recurrence
387 rule in an event. This fixes 'missing recurring events'.
390 * Added: childExists method to Sabre_DAV_ICollection. This is an api
391 break, so if you implement Sabre_DAV_ICollection directly, add the method.
392 * Changed: Almost all HTTP method implementations now take a uri argument,
393 including events. This allows for internal rerouting of certain calls.
394 If you have custom plugins, make sure they use this argument. If they
395 don't, they will likely still work, but it might get in the way of
397 * Changed: All getETag methods MUST now surround the etag with
398 double-quotes. This was a mistake made in all previous SabreDAV
399 versions. If you don't do this, any If-Match, If-None-Match and If:
400 headers using Etags will work incorrectly. (Issue 85).
401 * Added: Sabre_DAV_Auth_Backend_AbstractBasic class, which can be used to
402 easily implement basic authentication.
403 * Removed: Sabre_DAV_PermissionDenied class. Use Sabre_DAV_Forbidden
405 * Removed: Sabre_DAV_IDirectory interface, use Sabre_DAV_ICollection
407 * Added: Browser plugin now uses {DAV:}displayname if this property is
409 * Added: Cache layer in the ObjectTree.
410 * Added: Tree classes now have a delete and getChildren method.
411 * Fixed: If-Modified-Since and If-Unmodified-Since would be incorrect if
412 the date is an exact match.
413 * Fixed: Support for multiple ETags in If-Match and If-None-Match headers.
414 * Fixed: Improved baseUrl handling.
415 * Fixed: Issue 67: Non-seekable stream support in ::put()/::get().
416 * Fixed: Issue 65: Invalid dates are now ignored.
417 * Updated: Refactoring in Sabre_CalDAV to make everything a bit more
419 * Fixed: Issue 88, Issue 89: Fixed compatibility for running SabreDAV on
421 * Fixed: Issue 86: Fixed Content-Range top-boundary from 'file size' to
425 * Fixed: Issue 62: Guessing baseUrl fails when url contains a
427 * Added: Apache configuration sample for CGI/FastCGI setups.
428 * Fixed: Issue 64: Only returning calendar-data when it was actually
432 * Fixed: Issue 57: Supporting quotes around etags in If-Match and
436 * Updated: SabreDAV now attempts to guess the BaseURI if it's not set.
437 * Updated: Better compatibility with BitKinex
438 * Fixed: Issue 56: Incorrect behaviour for If-None-Match headers and GET
440 * Fixed: Issue with certain encoded paths in Browser Plugin.
443 * Fixed: Issue 50, patch by Mattijs Hoitink.
444 * Fixed: Issue 51, Adding windows 7 lockfiles to TemporaryFileFilter.
445 * Fixed: Issue 38, Allowing custom filters to be added to
447 * Fixed: Issue 53, ETags in the If: header were always failing. This
448 behaviour is now corrected.
449 * Added: Apache Authentication backend, in case authentication through
450 .htaccess is desired.
451 * Updated: Small improvements to example files.
454 * Fixed: Browser plugin now displays international characters.
455 * Changed: More properties in CalDAV classes are now protected instead of
458 1.2.0beta3 (2010-05-14)
459 * Fixed: Custom properties were not properly sent back for allprops
461 * Fixed: Issue 49, incorrect parsing of PROPPATCH, affecting Office 2007.
462 * Changed: Removed CalDAV items from includes.php, and added a few missing
465 1.2.0beta2 (2010-05-04)
466 * Fixed: Issue 46: Fatal error for some non-existent nodes.
467 * Updated: some example sql to include email address.
468 * Added: 208 and 508 statuscodes from RFC5842.
469 * Added: Apache2 configuration examples
471 1.2.0beta1 (2010-04-28)
472 * Fixed: redundant namespace declaration in resourcetypes.
473 * Fixed: 2 locking bugs triggered by litmus when no Sabre_DAV_ILockable
475 * Changed: using http://sabredav.org/ns for all custom xml properties.
476 * Added: email address property to principals.
477 * Updated: CalendarObject validation.
479 1.2.0alpha4 (2010-04-24)
480 * Added: Support for If-Range, If-Match, If-None-Match, If-Modified-Since,
482 * Changed: Brand new build system. Functionality is split up between
483 Sabre, Sabre_HTTP, Sabre_DAV and Sabre_CalDAV packages. In addition to
484 that a new non-pear package will be created with all this functionality
486 * Changed: Autoloader moved to Sabre/autoload.php.
487 * Changed: The Allow: header is now more accurate, with appropriate HTTP
489 * Changed: Now throwing back Sabre_DAV_Exception_MethodNotAllowed on a few
490 places where Sabre_DAV_Exception_NotImplemented was used.
492 1.2.0alpha3 (2010-04-20)
493 * Update: Complete rewrite of property updating. Now easier to use and
495 * Fixed: Issue 16, automatically adding trailing / to baseUri.
496 * Added: text/plain is used for .txt files in GuessContentType plugin.
497 * Added: support for principal-property-search and
498 principal-search-property-set reports.
499 * Added: Issue 31: Hiding exception information by default. Can be turned
500 on with the Sabre_DAV_Server::$debugExceptions property.
502 1.2.0alpha2 (2010-04-08)
503 * Added: Calendars are now private and can only be read by the owner.
504 * Fixed: double namespace declaration in multistatus responses.
505 * Added: MySQL database dumps. MySQL is now also supported next to SQLite.
506 * Added: expand-properties REPORT from RFC 3253.
507 * Added: Sabre_DAV_Property_IHref interface for properties exposing urls.
508 * Added: Issue 25: Throwing error on broken Finder behaviour.
509 * Changed: Authentication backend is now aware of current user.
511 1.2.0alpha1 (2010-03-31)
512 * Fixed: Issue 26: Workaround for broken GVFS behaviour with encoded
514 * Fixed: Issue 34: Incorrect Lock-Token response header for LOCK. Fixes
515 Office 2010 compatibility.
516 * Added: Issue 35: SabreDAV version to header to OPTIONS response to ease
518 * Fixed: Issue 36: Incorrect variable name, throwing error in some
520 * Fixed: Issue 37: Incorrect smultron regex in temporary filefilter.
521 * Fixed: Issue 33: Converting ISO-8859-1 characters to UTF-8.
522 * Fixed: Issue 39 & Issue 40: Basename fails on non-utf-8 locales.
523 * Added: More unittests.
524 * Added: SabreDAV version to all error responses.
525 * Added: URLUtil class for decoding urls.
526 * Changed: Now using pear.sabredav.org pear channel.
527 * Changed: Sabre_DAV_Server::getCopyAndMoveInfo is now a public method.
529 1.1.2-alpha (2010-03-18)
530 * Added: RFC5397 - current-user-principal support.
531 * Fixed: Issue 27: encoding entities in property responses.
532 * Added: naturalselection script now allows the user to specify a 'minimum
533 number of bytes' for deletion. This should reduce load due to less
535 * Added: Full support for the calendar-query report.
536 * Added: More unittests.
537 * Added: Support for complex property deserialization through the static
538 ::unserialize() method.
539 * Added: Support for modifying calendar-component-set
540 * Fixed: Issue 29: Added TIMEOUT_INFINITE constant
542 1.1.1-alpha (2010-03-11)
543 * Added: RFC5689 - Extended MKCOL support.
544 * Fixed: Evolution support for CalDAV.
545 * Fixed: PDO-locks backend was pretty much completely broken. This is
547 * Added: support for ctags.
548 * Fixed: Comma's between HTTP methods in 'Allow' method.
549 * Changed: default argument for Sabre_DAV_Locks_Backend_FS. This means a
550 datadirectory must always be specified from now on.
551 * Changed: Moved Sabre_DAV_Server::parseProps to
552 Sabre_DAV_XMLUtil::parseProperties.
553 * Changed: Sabre_DAV_IDirectory is now Sabre_DAV_ICollection.
554 * Changed: Sabre_DAV_Exception_PermissionDenied is now
555 Sabre_DAV_Exception_Forbidden.
556 * Changed: Sabre_CalDAV_ICalendarCollection is removed.
557 * Added: Sabre_DAV_IExtendedCollection.
558 * Added: Many more unittests.
559 * Added: support for calendar-timezone property.
561 1.1.0-alpha (2010-03-01)
562 * Note: This version is forked from version 1.0.5, so release dates may be
564 * Added: CalDAV - RFC 4791
565 * Removed: Sabre_PHP_Exception. PHP has a built-in ErrorException for
567 * Added: PDO authentication backend.
568 * Added: Example sql for auth, caldav, locks for sqlite.
569 * Added: Sabre_DAV_Browser_GuessContentType plugin
570 * Changed: Authentication plugin refactored, making it possible to
571 implement non-digest authentication.
572 * Fixed: Better error display in browser plugin.
573 * Added: Support for {DAV:}supported-report-set
574 * Added: XML utility class with helper functions for the WebDAV protocol.
575 * Added: Tons of unittests
576 * Added: PrincipalCollection and Principal classes
577 * Added: Sabre_DAV_Server::getProperties for easy property retrieval
578 * Changed: {DAV:}resourceType defaults to 0
579 * Changed: Any non-null resourceType now gets a / appended to the href
580 value. Before this was just for {DAV:}collection's, but this is now also
581 the case for for example {DAV:}principal.
582 * Changed: The Href property class can now optionally create non-relative
584 * Changed: Sabre_HTTP_Response now returns false if headers are already
585 sent and header-methods are called.
586 * Fixed: Issue 19: HEAD requests on Collections
587 * Fixed: Issue 21: Typo in Sabre_DAV_Property_Response
588 * Fixed: Issue 18: Doesn't work with Evolution Contacts
590 1.0.15-stable (2010-05-28)
591 * Added: Issue 31: Hiding exception information by default. Can be turned
592 on with the Sabre_DAV_Server::$debugExceptions property.
593 * Added: Moved autoload from lib/ to lib/Sabre/autoload.php. This is also
594 the case in the upcoming 1.2.0, so it will improve future compatibility.
596 1.0.14-stable (2010-04-15)
597 * Fixed: double namespace declaration in multistatus responses.
599 1.0.13-stable (2010-03-30)
600 * Fixed: Issue 40: Last references to basename/dirname
602 1.0.12-stable (2010-03-30)
603 * Fixed: Issue 37: Incorrect smultron regex in temporary filefilter.
604 * Fixed: Issue 26: Workaround for broken GVFS behaviour with encoded
606 * Fixed: Issue 33: Converting ISO-8859-1 characters to UTF-8.
607 * Fixed: Issue 39: Basename fails on non-utf-8 locales.
608 * Added: More unittests.
609 * Added: SabreDAV version to all error responses.
610 * Added: URLUtil class for decoding urls.
611 * Updated: Now using pear.sabredav.org pear channel.
613 1.0.11-stable (2010-03-23)
614 * Non-public release. This release is identical to 1.0.10, but it is used
615 to test releasing packages to pear.sabredav.org.
617 1.0.10-stable (2010-03-22)
618 * Fixed: Issue 34: Invalid Lock-Token header response.
619 * Added: Issue 35: Addign SabreDAV version to HTTP OPTIONS responses.
621 1.0.9-stable (2010-03-19)
622 * Fixed: Issue 27: Entities not being encoded in PROPFIND responses.
623 * Fixed: Issue 29: Added missing TIMEOUT_INFINITE constant.
625 1.0.8-stable (2010-03-03)
626 * Fixed: Issue 21: typos causing errors
627 * Fixed: Issue 23: Comma's between methods in Allow header.
628 * Added: Sabre_DAV_ICollection interface, to aid in future compatibility.
629 * Added: Sabre_DAV_Exception_Forbidden exception. This will replace
630 Sabre_DAV_Exception_PermissionDenied in the future, and can already be
631 used to ensure future compatibility.
633 1.0.7-stable (2010-02-24)
634 * Fixed: Issue 19 regression for MS Office
636 1.0.6-stable (2010-02-23)
637 * Fixed: Issue 19: HEAD requests on Collections
639 1.0.5-stable (2010-01-22)
640 * Fixed: Fatal error when a malformed url was used for unlocking, in
641 conjuction with Sabre.autoload.php due to a incorrect filename.
642 * Fixed: Improved unittests and build system
644 1.0.4-stable (2010-01-11)
645 * Fixed: needed 2 different releases. One for googlecode and one for
646 pearfarm. This is to retain the old method to install SabreDAV until
647 pearfarm becomes the standard installation method.
649 1.0.3-stable (2010-01-11)
650 * Added: RFC4709 support (davmount)
652 * Added: naturalselection. A tool to keep cache directories below a
654 * Changed: Now using pearfarm.org channel server.
656 1.0.1-stable (2009-12-22)
657 * Fixed: Issue 15: typos in examples
658 * Fixed: Minor pear installation issues
660 1.0.0-stable (2009-11-02)
661 * Added: SimpleDirectory class. This class allows creating static
662 directory structures with ease.
663 * Changed: Custom complex properties and exceptions now get an instance of
664 Sabre_DAV_Server as their first argument in serialize()
665 * Changed: Href complex property now prepends server's baseUri
666 * Changed: delete before an overwriting copy/move is now handles by server
667 class instead of tree classes
668 * Changed: events must now explicitly return false to stop execution.
669 Before, execution would be stopped by anything loosely evaluating to
671 * Changed: the getPropertiesForPath method now takes a different set of
672 arguments, and returns a different response. This allows plugin
673 developers to return statuses for properties other than 200 and 404. The
674 hrefs are now also always calculated relative to the baseUri, and not
675 the uri of the request.
676 * Changed: generatePropFindResponse is renamed to generateMultiStatus, and
677 now takes a list of properties similar to the response of
678 getPropertiesForPath. This was also needed to improve flexibility for
680 * Changed: Auth plugins are no longer included. They were not yet stable
681 quality, so they will probably be reintroduced in a later version.
682 * Changed: PROPPATCH also used generateMultiStatus now.
683 * Removed: unknownProperties event. This is replaced by the
684 afterGetProperties event, which should provide more flexibility.
685 * Fixed: Only calling getSize() on IFile instances in httpHead()
686 * Added: beforeBind event. This is invoked upon file or directory creation
687 * Added: beforeWriteContent event, this is invoked by PUT and LOCK on an
689 * Added: beforeUnbind event. This is invoked right before deletion of any
691 * Added: afterGetProperties event. This event can be used to make
692 modifications to property responses.
693 * Added: beforeLock and beforeUnlock events.
694 * Added: afterBind event.
695 * Fixed: Copy and Move could fail in the root directory. This is now
697 * Added: Plugins can now be retrieved by their classname. This is useful
698 for inter-plugin communication.
699 * Added: The Auth backend can now return usernames and user-id's.
700 * Added: The Auth backend got a getUsers method
701 * Added: Sabre_DAV_FSExt_Directory now returns quota info
703 0.12.1-beta (2009-09-11)
704 * Fixed: UNLOCK bug. Unlock didn't work at all
706 0.12-beta (2009-09-10)
707 * Updated: Browser plugin now shows multiple {DAV:}resourcetype values
709 * Added: Experimental PDO backend for Locks Manager
710 * Fixed: Sending Content-Length: 0 for every empty response. This
711 improves NGinx compatibility.
712 * Fixed: Last modification time is reported in UTC timezone. This improves
713 Finder compatibility.
715 0.11-beta (2009-08-11)
716 * Updated: Now in Beta
717 * Updated: Pear package no longer includes docs/ directory. These just
718 contained rfc's, which are publically available. This reduces the
719 package from ~800k to ~60k
720 * Added: generatePropfindResponse now takes a baseUri argument
721 * Added: ResourceType property can now contain multiple resourcetypes.
724 0.10-alpha (2009-08-03)
725 * Added: Plugin to automatically map GET requests to non-files to
726 PROPFIND (Sabre_DAV_Browser_MapGetToPropFind). This should allow
727 easier debugging of complicated WebDAV setups.
728 * Added: Sabre_DAV_Property_Href class. For future use.
729 * Added: Ability to choose to use auth-int, auth or both for HTTP Digest
730 authentication. (Issue 11)
731 * Changed: Made more methods in Sabre_DAV_Server public.
732 * Fixed: TemporaryFileFilter plugin now intercepts HTTP LOCK requests
733 to non-existent files. (Issue 12)
734 * Added: Central list of defined xml namespace prefixes. This can reduce
735 Bandwidth and legibility for xml bodies with user-defined namespaces.
736 * Added: now a PEAR-compatible package again, thanks to Michael Gauthier
737 * Changed: moved default copy and move logic from ObjectTree to Tree class
739 0.9-alpha (2009-07-21)
740 * Changed: Major refactoring, removed most of the logic from the Tree
741 objects. The Server class now directly works with the INode, IFile
742 and IDirectory objects. If you created your own Tree objects,
743 this will most likely break in this release.
744 * Changed: Moved all the Locking logic from the Tree and Server classes
745 into a separate plugin.
746 * Changed: TemporaryFileFilter is now a plugin.
747 * Added: Comes with an autoloader script. This can be used instead of
748 the includer script, and is preferred by some people.
749 * Added: AWS Authentication class.
750 * Added: simpleserversetup.py script. This will quickly get a fileserver
752 * Added: When subscribing to events, it is now possible to supply a
753 priority. This is for example needed to ensure that the Authentication
754 Plugin is used before any other Plugin.
755 * Added: 22 new tests.
756 * Added: Users-manager plugin for .htdigest files. Experimental and
758 * Added: RFC 2324 HTTP 418 status code
759 * Fixed: Exclusive locks could in some cases be picked up as shared locks
760 * Fixed: Digest auth for non-apache servers had a bug (still not actually
763 0.8-alpha (2009-05-30)
764 * Changed: Renamed all exceptions! This is a compatibility break. Every
765 Exception now follows Sabre_DAV_Exception_FileNotFound convention
766 instead of Sabre_DAV_FileNotFoundException.
767 * Added: Browser plugin now allows uploading and creating directories
768 straight from the browser.
769 * Added: 12 more unittests
770 * Fixed: Locking bug, which became prevalent on Windows Vista.
771 * Fixed: Netdrive support
772 * Fixed: TemporaryFileFilter filtered out too many files. Fixed some
774 * Fixed: Added README and ChangeLog to package
776 0.7-alpha (2009-03-29)
777 * Added: System to return complex properties from PROPFIND.
778 * Added: support for {DAV:}supportedlock.
779 * Added: support for {DAV:}lockdiscovery.
780 * Added: 6 new tests.
781 * Added: New plugin system.
782 * Added: Simple HTML directory plugin, for browser access.
783 * Added: Server class now sends back standard pre-condition error xml
784 bodies. This was new since RFC4918.
785 * Added: Sabre_DAV_Tree_Aggregrate, which can 'host' multiple Tree objects
787 * Added: simple basis for HTTP REPORT method. This method is not used yet,
788 but can be used by plugins to add reports.
789 * Changed: ->getSize is only called for files, no longer for collections.
791 * Changed: Sabre_DAV_FilterTree is now Sabre_DAV_Tree_Filter
792 * Changed: Sabre_DAV_TemporaryFileFilter is now called
793 Sabre_DAV_Tree_TemporaryFileFilter.
794 * Changed: removed functions (get(/set)HTTPRequest(/Response)) from Server
795 class, and using a public property instead.
796 * Fixed: bug related to parsing proppatch and propfind requests. Didn't
797 show up in most clients, but it needed fixing regardless. (r255)
798 * Fixed: auth-int is now properly supported within HTTP Digest.
799 * Fixed: Using application/xml for a mimetype vs. text/xml as per RFC4918
801 * Fixed: TemporaryFileFilter now lets through GET's if they actually
802 exist on the backend. (r274)
803 * FIxed: Some methods didn't get passed through in the FilterTree (r283).
804 * Fixed: LockManager is now slightly more complex, Tree classes slightly
807 0.6-alpha (2009-02-16)
808 * Added: Now uses streams for files, instead of strings.
809 This means it won't require to hold entire files in memory, which can be
810 an issue if you're dealing with big files. Note that this breaks
811 compatibility for put() and createFile methods.
812 * Added: HTTP Digest Authentication helper class.
813 * Added: Support for HTTP Range header
814 * Added: Support for ETags within If: headers
815 * Added: The API can now return ETags and override the default Content-Type
816 * Added: starting with basic framework for unittesting, using PHPUnit.
817 * Added: 49 unittests.
818 * Added: Abstraction for the HTTP request.
819 * Updated: Using Clark Notation for tags in properties. This means tags
820 are serialized as {namespace}tagName instead of namespace#tagName
821 * Fixed: HTTP_BasicAuth class now works as expected.
822 * Fixed: DAV_Server uses / for a default baseUrl.
823 * Fixed: Last modification date is no longer ignored in PROPFIND.
824 * Fixed: PROPFIND now sends back information about the requestUri even
825 when "Depth: 1" is specified.
827 0.5-alpha (2009-01-14)
828 * Added: Added a very simple example for implementing a mapping to PHP
829 file streams. This should allow easy implementation of for example a
831 * Added: HTTP Basic Authentication helper class.
832 * Added: Sabre_HTTP_Response class. This centralizes HTTP operations and
833 will be a start towards the creating of a testing framework.
834 * Updated: Backwards compatibility break: all require_once() statements
836 from all the files. It is now recommended to use autoloading of
837 classes, or just including lib/Sabre.includes.php. This fix was made
838 to allow easier integration into applications not using this standard
840 * Updated: Better in-file documentation.
841 * Updated: Sabre_DAV_Tree can now work with Sabre_DAV_LockManager.
842 * Updated: Fixes a shared-lock bug.
843 * Updated: Removed ?> from the bottom of each php file.
844 * Updated: Split up some operations from Sabre_DAV_Server to
846 * Fixed: examples are now actually included in the pear package.
848 0.4-alpha (2008-11-05)
849 * Passes all litmus tests!
850 * Added: more examples
851 * Added: Custom property support
852 * Added: Shared lock support
853 * Added: Depth support to locks
854 * Added: Locking on unmapped urls (non-existent nodes)
855 * Fixed: Advertising as WebDAV class 3 support
857 0.3-alpha (2008-06-29)
858 * Fully working in MS Windows clients.
859 * Added: temporary file filter: support for smultron files.
860 * Added: Phing build scripts
861 * Added: PEAR package
862 * Fixed: MOVE bug identified using finder.
863 * Fixed: Using gzuncompress instead of gzdecode in the temporary file
864 filter. This seems more common.
866 0.2-alpha (2008-05-27)
867 * Somewhat working in Windows clients
868 * Added: Working PROPPATCH method (doesn't support custom properties yet)
869 * Added: Temporary filename handling system
870 * Added: Sabre_DAV_IQuota to return quota information
871 * Added: PROPFIND now reads the request body and only supplies the
874 0.1-alpha (2008-04-04)
876 * Passes litmus: basic, http and copymove test.
877 * Fully working in Finder and DavFSv2
879 Project started: 2007-12-13