1ChangeLog 2========= 3 44.1.2 (2016-12-15) 5------------------ 6 7* #340: Support for `BYYEARDAY` recurrence when `FREQ=YEARLY`. (@PHPGangsta) 8* #341: Support for `BYWEEKNO` recurrence when `FREQ=YEARLY`. (@PHPGangsta) 9* Updated to the latest windows timezone data mappings. 10* #344: Auto-detecting more Outlook 365-generated timezone identifiers. 11 (@jpirkey) 12* #348: `FreeBusyGenerator` can now accept streams. 13* Support sabre/xml 1.5 and 2.0. 14* #355: Support `DateTimeInterface` in more places where only `DateTime` was 15 supported. (@gharlan). 16* #351: Fixing an inclusive/exclusive problem with `isInTimeRange` and 17 `fastForward` with all-day events. (@strokyl, thanks you are brilliant). 18 19 204.1.1 (2016-07-15) 21------------------ 22 23* #327: Throwing `InvalidDataException` in more cases where invalid iCalendar 24 dates and times were provided. (@rsto) 25* #331: Fix dealing with multiple overridden instances falling on the same 26 date/time (@afedyk-sugarcrm). 27* #333: Fix endless loop on invalid `BYMONTH` values in recurrence. 28 (@PHPGangsta) 29* #339: Fixed a few `validate()` results when repair is off. (@PHPGangsta) 30* #338: Stripping invalid `BYMONTH=` rules during `validate()` (@PHPGangsta) 31* #336: Fix incorrect `BYSECOND=` validation. (@PHPGangsta) 32 33 344.1.0 (2016-04-06) 35------------------ 36 37* #309: When expanding recurring events, the first event should also have a 38 `RECURRENCE-ID` property. 39* #306: iTip REPLYs to the first instance of a recurring event was not handled 40 correctly. 41* Slightly better error message during validation of `N` and `ADR` properties. 42* #312: Correctly extracing timezone in the iTip broker, even when we don't 43 have a master event. (@vkomrakov-sugar). 44* When validating a component's property that must appear once and which could 45 automatically be repaired, make sure we report the change as 'repaired'. 46* Added a PHPUnitAssertions trait. This trait makes it easy to compare two 47 vcards or iCalendar objects semantically. 48* Better error message when parsing objects with an invalid `VALUE` parameter. 49 50 514.0.3 (2016-03-12) 52------------------ 53 54* #300: Added `VCard::getByType()` to quickly get a property with a specific 55 `TYPE` parameter. (@kbond) 56* #302: `UNTIL` was not encoded correctly when converting to jCal. 57 (@GrahamLinagora) 58* #303: `COUNT` is now encoded as an int in jCal instead of a string. (@strokyl) 59* #295: `RRULE` now has more validation and repair rules. 60 61 624.0.2 (2016-01-11) 63------------------ 64 65* #288: Only decode `CHARSET` if we're reading vCard 2.1. If it appears 66 in any other document, we must ignore it. 67 68 694.0.1 (2016-01-04) 70------------------ 71 72* #284: When generating `CANCEL` iTip messages, we now include `DTEND`. 73 (@kewisch) 74 75 764.0.0 (2015-12-11) 77------------------ 78 79* #274: When creating new vCards, the default vCard version is now 4.0. 80* #275: `VEVENT`, `VTODO` and `VCARD` now automatically get a `UID` and 81 `DTSTAMP` property if this was not already specified. 82* `ParseException` now extends `\Exception`. 83* `Sabre\VObject\Reader::read` now has a `$charset` argument. 84* #272: `Sabre\VObject\Recur\EventIterator::$maxInstances` is now 85 `Sabre\VObject\Settings::$maxRecurrences` and is also honored by the 86 FreeBusyGenerator. 87* #278: `expand()` did not work correctly on events with sub-components. 88 89 904.0.0-beta1 (2015-12-02) 91------------------------ 92 93* #258: Support for expanding events that use `RDATE`. (@jabdoa2) 94* #258: Correctly support TZID for events that use `RDATE`. (@jabdoa2) 95* #240: `Component\VCalendar::expand()` now returns a new expanded `VCalendar` 96 object, instead of editing the existing `VCalendar` in-place. This is a BC 97 break. 98* #265: Using the new `InvalidDataException` in place of 99 `InvalidArgumentException` and `LogicException` in all places where we fail 100 because there was something wrong with input data. 101* #227: Always add `VALUE=URI` to `PHOTO` properties. 102* #235: Always add `VALUE=URI` to `URL` properties. 103* It's now possible to override which class is used instead of 104 `Component\VCalendar` or `Component\VCard` during parsing. 105* #263: Lots of small cleanups. (@jakobsack) 106* #220: Automatically stop recurring after 3500 recurrences. 107* #41: Allow user to set different encoding than UTF-8 when decoding vCards. 108* #41: Support the `ENCODING` parameter from vCard 2.1. 109 Both ISO-8859-1 and Windows-1252 are currently supported. 110* #185: Fix encoding/decoding of `TIME` values in jCal/jCard. 111 112 1134.0.0-alpha2 (2015-09-04) 114------------------------- 115 116* Updated windows timezone file to support new mexican timezone. 117* #239: Added a `BirthdayCalendarGenerator`. (@DominikTo) 118* #250: `isInTimeRange()` now considers the timezone for floating dates and 119 times. (@armin-hackmann) 120* Added a duplicate vcard merging tool for the command line. 121* #253: `isInTimeRange()` now correctly handles events that throw the 122 `NoInstancesException` exception. (@migrax, @DominikTo) 123* #254: The parser threw an `E_NOTICE` for certain invalid objects. It now 124 correctly throws a `ParseException`. 125 126 1274.0.0-alpha1 (2015-07-17) 128------------------------- 129 130* sabre/vobject now requires PHP 5.5. 131* #244: PHP7 support. 132* Lots of speedups and reduced memory usage! 133* #160: Support for xCal a.k.a. RFC6321! (@Hywan) 134* #192: Support for xCard a.k.a. RFC6351! (@Hywan) 135* #139: We now accept `DateTimeInterface` wherever it accepted `DateTime` 136 before in arguments. This means that either `DateTime` or 137 `DateTimeImmutable` may be used everywhere. 138* #242: Full support for the `VAVAILABILITY` component, and calculating 139 `VFREEBUSY` based on `VAVAILABILITY` data. 140* #186: Fixing conversion of `UTC-OFFSET` properties when going back and 141 forward between jCal and iCalendar. 142* Properties, Components and Parameters now implement PHP's `JsonSerializable` 143 interface. 144* #139: We now _always_ return `DateTimeImmutable` from any method. This could 145 potentially have big implications if you manipulate Date objects anywhere. 146* #161: Simplified `ElementList` by extending `ArrayIterator`. 147* Removed `RecurrenceIterator` (use Recur\EventIterator instead). 148* Now using php-cs-fixer to automatically enforce and correct CS. 149* #233: The `+00:00` timezone is now recognized as UTC. (@c960657) 150* #237: Added a `destroy()` method to all documents. This method breaks any 151 circular references, allowing PHP to free up memory. 152* #197: Made accessing properties and objects by their name a lot faster. This 153 especially helps objects that have a lot of sub-components or properties, 154 such as large iCalendar objects. 155* #197: The `$children` property on components has been changed from `public` 156 to `protected`. Use the `children()` method instead to get a flat list of 157 objects. 158* #244: The `Float` and `Integer` classes have been renamed to `FloatValue` 159 and `IntegerValue` to allow PHP 7 compatibility. 160 161 1623.5.3 (2016-10-06) 163------------------ 164 165* #331: Fix dealing with multiple overridden instances falling on the same 166 date/time (@afedyk-sugarcrm). 167 168 1693.5.2 (2016-04-24) 170----------------- 171 172* #312: Backported a fix related to iTip processing of events with timezones, 173 without a master event. 174 175 1763.5.1 (2016-04-06) 177------------------ 178 179* #309: When expanding recurring events, the first event should also have a 180 `RECURRENCE-ID` property. 181* #306: iTip REPLYs to the first instance of a recurring event was not handled 182 correctly. 183 184 1853.5.0 (2016-01-11) 186------------------ 187 188* This release supports PHP 7, contrary to 3.4.x versions. 189* BC Break: `Sabre\VObject\Property\Float` has been renamed to 190 `Sabre\VObject\Property\FloatValue`. 191* BC Break: `Sabre\VObject\Property\Integer` has been renamed to 192 `Sabre\VObject\Property\IntegerValue`. 193 194 1953.4.9 (2016-01-11) 196------------------ 197 198* This package now specifies in composer.json that it does not support PHP 7. 199 For PHP 7, use version 3.5.x or 4.x. 200 201 2023.4.8 (2016-01-04) 203------------------ 204 205* #284: When generating `CANCEL` iTip messages, we now include `DTEND`. 206 (@kewisch). 207 208 2093.4.7 (2015-09-05) 210------------------ 211 212* #253: Handle `isInTimeRange` for recurring events that have 0 valid 213 instances. (@DominikTo, @migrax). 214 215 2163.4.6 (2015-08-06) 217------------------ 218 219* #250: Recurring all-day events are incorrectly included in time range 220 requests when not using UTC in the time range. (@armin-hackmann) 221 222 2233.4.5 (2015-06-02) 224------------------ 225 226* #229: Converting vcards from 3.0 to 4.0 that contained a `LANG` property 227 would throw an error. 228 229 2303.4.4 (2015-05-27) 231------------------ 232 233* #228: Fixed a 'party crasher' bug in the iTip broker. This would break 234 scheduling in some cases. 235 236 2373.4.3 (2015-05-19) 238------------------ 239 240* #219: Corrected validation of `EXDATE` properties with more than one value. 241* #212: `BYSETPOS` with values below `-1` was broken and could cause infinite 242 loops. 243* #211: Fix `BYDAY=-5TH` in recurrence iterator. (@lindquist) 244* #216: `ENCODING` parameter is now validated for all document types. 245* #217: Initializing vCard `DATE` objects with a PHP DateTime object will now 246 work correctly. (@thomascube) 247 248 2493.4.2 (2015-02-25) 250------------------ 251 252* #210: iTip: Replying to an event without a master event was broken. 253 254 2553.4.1 (2015-02-24) 256------------------ 257 258* A minor change to ensure that unittests work correctly in the sabre/dav 259 test-suite. 260 261 2623.4.0 (2015-02-23) 263------------------ 264 265* #196: Made parsing recurrence rules a lot faster on big calendars. 266* Updated windows timezone mappings to latest unicode version. 267* #202: Support for parsing and validating `VAVAILABILITY` components. (@Hywan) 268* #195: PHP 5.3 compatibility in 'generatevcards' script. (@rickdenhaan) 269* #205: Improving handling of multiple `EXDATE` when processing iTip changes. 270 (@armin-hackmann) 271* #187: Fixed validator rules for `LAST-MODIFIED` properties. 272* #188: Retain floating times when generating instances using 273 `Recur\EventIterator`. 274* #203: Skip tests for timezones that are not supported on older PHP versions, 275 instead of a hard fail. 276* #204: Dealing a bit better with vCard date-time values that contained 277 milliseconds. (which is normally invalid). (@armin-hackmann) 278 279 2803.3.5 (2015-01-09) 281------------------ 282 283* #168: Expanding calendars now removes objects with recurrence rules that 284 don't have a valid recurrence instance. 285* #177: SCHEDULE-STATUS should not contain a reason phrase, only a status 286 code. 287* #175: Parser can now read and skip the UTF-8 BOM. 288* #179: Added `isFloating` to `DATE-TIME` properties. 289* #179: Fixed jCal serialization of floating `DATE-TIME` properties. 290* #173: vCard converter failed for `X-ABDATE` properties that had no 291 `X-ABLABEL`. 292* #180: Added `PROFILE_CALDAV` and `PROFILE_CARDDAV` to enable validation rules 293 specific for CalDAV/CardDAV servers. 294* #176: A missing `UID` is no longer an error, but a warning for the vCard 295 validator, unless `PROFILE_CARDDAV` is specified. 296 297 2983.3.4 (2014-11-19) 299------------------ 300 301* #154: Converting `ANNIVERSARY` to `X-ANNIVERSARY` and `X-ABDATE` and 302 vice-versa when converting to/from vCard 4. 303* #154: It's now possible to easily select all vCard properties belonging to 304 a single group with `$vcard->{'ITEM1.'}` syntax. (@armin-hackmann) 305* #156: Simpler way to check if a string is UTF-8. (@Hywan) 306* Unittest improvements. 307* #159: The recurrence iterator, freebusy generator and iCalendar DATE and 308 DATE-TIME properties can now all accept a reference timezone when working 309 floating times or all-day events. 310* #159: Master events will no longer get a `RECURRENCE-ID` when expanding. 311* #159: `RECURRENCE-ID` for all-day events will now be correct when expanding. 312* #163: Added a `getTimeZone()` method to `VTIMEZONE` components. 313 314 3153.3.3 (2014-10-09) 316------------------ 317 318* #142: `CANCEL` and `REPLY` messages now include the `DTSTART` from the 319 original event. 320* #143: `SCHEDULE-AGENT` on the `ORGANIZER` property is respected. 321* #144: `PARTSTAT=NEEDS-ACTION` is now set for new invites, if no `PARTSTAT` is 322 set to support the inbox feature of iOS. 323* #147: Bugs related to scheduling all-day events. 324* #148: Ignore events that have attendees but no organizer. 325* #149: Avoiding logging errors during timezone detection. This is a workaround 326 for a PHP bug. 327* Support for "Line Islands Standard Time" windows timezone. 328* #154: Correctly work around vCard parameters that have a value but no name. 329 330 3313.3.2 (2014-09-19) 332------------------ 333 334* Changed: iTip broker now sets RSVP status to false when replies are received. 335* #118: iTip Message now has a `getScheduleStatus()` method. 336* #119: Support for detecting 'significant changes'. 337* #120: Support for `SCHEDULE-FORCE-SEND`. 338* #121: iCal demands parameters containing the + sign to be quoted. 339* #122: Don't generate REPLY messages for events that have been cancelled. 340* #123: Added `SUMMARY` to iTip messages. 341* #130: Incorrect validation rules for `RELATED` (should be `RELATED-TO`). 342* #128: `ATTACH` in iCalendar is `URI` by default, not `BINARY`. 343* #131: RRULE that doesn't provide a single valid instance now throws an 344 exception. 345* #136: Validator rejects *all* control characters. We were missing a few. 346* #133: Splitter objects will throw exceptions when receiving incompatible 347 objects. 348* #127: Attendees who delete recurring event instances events they had already 349 declined earlier will no longer generate another reply. 350* #125: Send CANCEL messages when ORGANIZER property gets deleted. 351 352 3533.3.1 (2014-08-18) 354------------------ 355 356* Changed: It's now possible to pass DateTime objects when using the magic 357 setters on properties. (`$event->DTSTART = new DateTime('now')`). 358* #111: iTip Broker does not process attendee adding events to EXDATE. 359* #112: EventIterator now sets TZID on RECURRENCE-ID. 360* #113: Timezone support during creation of iTip REPLY messages. 361* #114: VTIMEZONE is retained when generating new REQUEST objects. 362* #114: Support for 'MAILTO:' style email addresses (in uppercase) in the iTip 363 broker. This improves evolution support. 364* #115: Using REQUEST-STATUS from REPLY messages and now propegating that into 365 SCHEDULE-STATUS. 366 367 3683.3.0 (2014-08-07) 369------------------ 370 371* We now use PSR-4 for the directory structure. This means that everything 372 that was used to be in the `lib/Sabre/VObject` directory is now moved to 373 `lib/`. If you use composer to load this library, you shouldn't have to do 374 anything about that though. 375* VEVENT now get populated with a DTSTAMP and UID property by default. 376* BC Break: Removed the 'includes.php' file. Use composer instead. 377* #103: Added support for processing [iTip][iTip] messages. This allows a user 378 to parse incoming iTip messages and apply the result on existing calendars, 379 or automatically generate invites/replies/cancellations based on changes that 380 a user made on objects. 381* #75, #58, #18: Fixes related to overriding the first event in recurrences. 382* Added: VCalendar::getBaseComponent to find the 'master' component in a 383 calendar. 384* #51: Support for iterating RDATE properties. 385* Fixed: Issue #101: RecurrenceIterator::nextMonthly() shows events that are 386 excluded events with wrong time 387 388 3893.2.4 (2014-07-14) 390------------------ 391 392* Added: Issue #98. The VCardConverter now takes `X-APPLE-OMIT-YEAR` into 393 consideration when converting between vCard 3 and 4. 394* Fixed: Issue #96. Some support for Yahoo's broken vcards. 395* Fixed: PHP 5.3 support was broken in the cli tool. 396 397 3983.2.3 (2014-06-12) 399------------------ 400 401* Validator now checks if DUE and DTSTART are of the same type in VTODO, and 402 ensures that DUE is always after DTSTART. 403* Removed documentation from source repository, to http://sabre.io/vobject/ 404* Expanded the vobject cli tool validation output to make it easier to find 405 issues. 406* Fixed: vobject repair. It was not working for iCalendar objects. 407 408 4093.2.2 (2014-05-07) 410------------------ 411 412* Minor tweak in unittests to make it run on PHP 5.5.12. Json-prettifying 413 slightly changed which caused the test to fail. 414 415 4163.2.1 (2014-05-03) 417------------------ 418 419* Minor tweak to make the unittests run with the latest hhvm on travis. 420* Updated timezone definitions. 421* Updated copyright links to point to http://sabre.io/ 422 423 4243.2.0 (2014-04-02) 425------------------ 426 427* Now hhvm compatible! 428* The validator can now detect a _lot_ more problems. Many rules for both 429 iCalendar and vCard were added. 430* Added: bin/generate_vcards, a utility to generate random vcards for testing 431 purposes. Patches are welcome to add more data. 432* Updated: Windows timezone mapping to latest version from unicode.org 433* Changed: The timezone maps are now loaded in from external files, in 434 lib/Sabre/VObject/timezonedata. 435* Added: Fixing badly encoded URL's from google contacts vcards. 436* Fixed: Issue #68. Couldn't decode properties ending in a colon. 437* Fixed: Issue #72. RecurrenceIterator should respect timezone in the UNTIL 438 clause. 439* Fixed: Issue #67. BYMONTH limit on DAILY recurrences. 440* Fixed: Issue #26. Return a more descriptive error when coming across broken 441 BYDAY rules. 442* Fixed: Issue #28. Incorrect timezone detection for some timezones. 443* Fixed: Issue #70. Casting a parameter with a null value to string would fail. 444* Added: Support for rfc6715 and rfc6474. 445* Added: Support for DateTime objects in the VCard DATE-AND-OR-TIME property. 446* Added: UUIDUtil, for easily creating unique identifiers. 447* Fixed: Issue #83. Creating new VALUE=DATE objects using php's DateTime. 448* Fixed: Issue #86. Don't go into an infinite loop when php errors are 449 disabled and an invalid file is read. 450 451 4523.1.4 (2014-03-30) 453------------------ 454 455* Fixed: Issue #87: Several compatibility fixes related to timezone handling 456 changes in PHP 5.5.10. 457 458 4593.1.3 (2013-10-02) 460------------------ 461 462* Fixed: Support from properties from draft-daboo-valarm-extensions-04. Issue 463 #56. 464* Fixed: Issue #54. Parsing a stream of multiple vcards separated by more than 465 one newline. Thanks @Vedmak for the patch. 466* Fixed: Serializing vcard 2.1 parameters with no name caused a literal '1' to 467 be inserted. 468* Added: VCardConverter removed properties that are no longer supported in vCard 469 4.0. 470* Added: vCards with a minimum number of values (such as N), but don't have that 471 many, are now automatically padded with empty components. 472* Added: The vCard validator now also checks for a minimum number of components, 473 and has the ability to repair these. 474* Added: Some support for vCard 2.1 in the VCard converter, to upgrade to vCard 475 3.0 or 4.0. 476* Fixed: Issue 60 Use Document::$componentMap when instantiating the top-level 477 VCalendar and VCard components. 478* Fixed: Issue 62: Parsing iCalendar parameters with no value. 479* Added: --forgiving option to vobject utility. 480* Fixed: Compound properties such as ADR were not correctly split up in vCard 481 2.1 quoted printable-encoded properties. 482* Fixed: Issue 64: Encoding of binary properties of converted vCards. Thanks 483 @DominikTo for the patch. 484 485 4863.1.2 (2013-08-13) 487------------------ 488 489* Fixed: Setting correct property group on VCard conversion 490 491 4923.1.1 (2013-08-02) 493------------------ 494 495* Fixed: Issue #53. A regression in RecurrenceIterator. 496 497 4983.1.0 (2013-07-27) 499------------------ 500 501* Added: bad-ass new cli debugging utility (in bin/vobject). 502* Added: jCal and jCard parser. 503* Fixed: URI properties should not escape ; and ,. 504* Fixed: VCard 4 documents now correctly use URI as a default value-type for 505 PHOTO and others. BINARY no longer exists in vCard 4. 506* Added: Utility to convert between 2.1, 3.0 and 4.0 vCards. 507* Added: You can now add() multiple parameters to a property in one call. 508* Added: Parameter::has() for easily checking if a parameter value exists. 509* Added: VCard::preferred() to find a preferred email, phone number, etc for a 510 contact. 511* Changed: All $duration properties are now public. 512* Added: A few validators for iCalendar documents. 513* Fixed: Issue #50. RecurrenceIterator gives incorrect result when exception 514 events are out of order in the iCalendar file. 515* Fixed: Issue #48. Overridden events in the recurrence iterator that were past 516 the UNTIL date were ignored. 517* Added: getDuration for DURATION values such as TRIGGER. Thanks to 518 @SimonSimCity. 519* Fixed: Issue #52. vCard 2.1 parameters with no name may lose values if there's 520 more than 1. Thanks to @Vedmak. 521 522 5233.0.0 (2013-06-21) 524------------------ 525 526* Fixed: includes.php file was still broken. Our tool to generate it had some 527 bugs. 528 529 5303.0.0-beta4 (2013-06-21) 531------------------------ 532 533* Fixed: includes.php was no longer up to date. 534 535 5363.0.0-beta3 (2013-06-17) 537------------------------ 538 539* Added: OPTION_FORGIVING now also allows slashes in property names. 540* Fixed: DateTimeParser no longer fails on dates with years < 1000 & > 4999 541* Fixed: Issue 36: Workaround for the recurrenceiterator and caldav events with 542 a missing base event. 543* Fixed: jCard encoding of TIME properties. 544* Fixed: jCal encoding of REQUEST-STATUS, GEO and PERIOD values. 545 546 5473.0.0-beta2 (2013-06-10) 548------------------------ 549 550* Fixed: Corrected includes.php file. 551* Fixed: vCard date-time parser supported extended-format dates as well. 552* Changed: Properties have been moved to an ICalendar or VCard directory. 553* Fixed: Couldn't parse vCard 3 extended format dates and times. 554* Fixed: Couldn't export jCard DATE values correctly. 555* Fixed: Recursive loop in ICalendar\DateTime property. 556 557 5583.0.0-beta1 (2013-06-07) 559------------------------ 560 561* Added: jsonSerialize() for creating jCal and jCard documents. 562* Added: helper method to parse vCard dates and times. 563* Added: Specialized classes for FLOAT, LANGUAGE-TAG, TIME, TIMESTAMP, 564 DATE-AND-OR-TIME, CAL-ADDRESS, UNKNOWN and UTC-OFFSET properties. 565* Removed: CommaSeparatedText property. Now included into Text. 566* Fixed: Multiple parameters with the same name are now correctly encoded. 567* Fixed: Parameter values containing a comma are now enclosed in double-quotes. 568* Fixed: Iterating parameter values should now fully work as expected. 569* Fixed: Support for vCard 2.1 nameless parameters. 570* Changed: $valueMap, $componentMap and $propertyMap now all use fully-qualified 571 class names, so they are actually overridable. 572* Fixed: Updating DATE-TIME to DATE values now behaves like expected. 573 574 5753.0.0-alpha4 (2013-05-31) 576------------------------- 577 578* Added: It's now possible to send parser options to the splitter classes. 579* Added: A few tweaks to improve component and property creation. 580 581 5823.0.0-alpha3 (2013-05-13) 583------------------------- 584 585* Changed: propertyMap, valueMap and componentMap are now static properties. 586* Changed: Component::remove() will throw an exception when trying to a node 587 that's not a child of said component. 588* Added: Splitter objects are now faster, line numbers are accurately reported 589 and use less memory. 590* Added: MimeDir parser can now continue parsing with the same stream buffer. 591* Fixed: vobjectvalidate.php is operational again. 592* Fixed: \r is properly stripped in text values. 593* Fixed: QUOTED-PRINTABLE is now correctly encoded as well as encoded, for 594 vCards 2.1. 595* Fixed: Parser assumes vCard 2.1, if no version was supplied. 596 597 5983.0.0-alpha2 (2013-05-22) 599------------------------- 600 601* Fixed: vCard URL properties were referencing a non-existant class. 602 603 6043.0.0-alpha1 (2013-05-21) 605------------------------- 606 607* Fixed: Now correctly dealing with escaping of properties. This solves the 608 problem with double-backslashes where they don't belong. 609* Added: Easy support for properties with more than one value, using setParts 610 and getParts. 611* Added: Support for broken 2.1 vCards produced by microsoft. 612* Added: Automatically decoding quoted-printable values. 613* Added: Automatically decoding base64 values. 614* Added: Decoding RFC6868 parameter values (uses ^ as an escape character). 615* Added: Fancy new MimeDir parser that can also parse streams. 616* Added: Automatically mapping many, many properties to a property-class with 617 specialized API's. 618* Added: remove() method for easily removing properties and sub-components 619 components. 620* Changed: Components, Properties and Parameters can no longer be created with 621 Component::create, Property::create and Parameter::create. They must instead 622 be created through the root component. (A VCalendar or VCard object). 623* Changed: API for DateTime properties has slightly changed. 624* Changed: the ->value property is now protected everywhere. Use getParts() and 625 getValue() instead. 626* BC Break: No support for mac newlines (\r). Never came across these anyway. 627* Added: add() method to the Property class. 628* Added: It's now possible to easy set multi-value properties as arrays. 629* Added: When setting date-time properties you can just pass PHP's DateTime 630 object. 631* Added: New components automatically get a bunch of default properties, such as 632 VERSION and CALSCALE. 633* Added: You can add new sub-components much quicker with the magic setters, and 634 add() method. 635 636 6372.1.7 (2015-01-21) 638------------------ 639 640* Fixed: Issue #94, a workaround for bad escaping of ; and , in compound 641 properties. It's not a full solution, but it's an improvement for those 642 stuck in the 2.1 versions. 643 644 6452.1.6 (2014-12-10) 646------------------ 647 648* Fixed: Minor change to make sure that unittests succeed on every PHP version. 649 650 6512.1.5 (2014-06-03) 652------------------ 653 654* Fixed: #94: Better parameter escaping. 655* Changed: Documentation cleanups. 656 657 6582.1.4 (2014-03-30) 659------------------ 660 661* Fixed: Issue #87: Several compatibility fixes related to timezone handling 662 changes in PHP 5.5.10. 663 664 6652.1.3 (2013-10-02) 666------------------ 667 668* Fixed: Issue #55. \r must be stripped from property values. 669* Fixed: Issue #65. Putting quotes around parameter values that contain a colon. 670 671 6722.1.2 (2013-08-02) 673------------------ 674 675* Fixed: Issue #53. A regression in RecurrenceIterator. 676 677 6782.1.1 (2013-07-27) 679------------------ 680 681* Fixed: Issue #50. RecurrenceIterator gives incorrect result when exception 682 events are out of order in the iCalendar file. 683* Fixed: Issue #48. Overridden events in the recurrence iterator that were past 684 the UNTIL date were ignored. 685 686 6872.1.0 (2013-06-17) 688------------------ 689 690* This version is fully backwards compatible with 2.0.\*. However, it contains a 691 few new API's that mimic the VObject 3 API. This allows it to be used a 692 'bridge' version. Specifically, this new version exists so SabreDAV 1.7 and 693 1.8 can run with both the 2 and 3 versions of this library. 694* Added: Property\DateTime::hasTime(). 695* Added: Property\MultiDateTime::hasTime(). 696* Added: Property::getValue(). 697* Added: Document class. 698* Added: Document::createComponent and Document::createProperty. 699* Added: Parameter::getValue(). 700 701 7022.0.7 (2013-03-05) 703------------------ 704 705* Fixed: Microsoft re-uses their magic numbers for different timezones, 706 specifically id 2 for both Sarajevo and Lisbon). A workaround was added to 707 deal with this. 708 709 7102.0.6 (2013-02-17) 711------------------ 712 713* Fixed: The reader now properly parses parameters without a value. 714 715 7162.0.5 (2012-11-05) 717------------------ 718 719* Fixed: The FreeBusyGenerator is now properly using the factory methods for 720 creation of components and properties. 721 722 7232.0.4 (2012-11-02) 724------------------ 725 726* Added: Known Lotus Notes / Domino timezone id's. 727 728 7292.0.3 (2012-10-29) 730------------------ 731 732* Added: Support for 'GMT+????' format in TZID's. 733* Added: Support for formats like SystemV/EST5EDT in TZID's. 734* Fixed: RecurrenceIterator now repairs recurrence rules where UNTIL < DTSTART. 735* Added: Support for BYHOUR in FREQ=DAILY (@hollodk). 736* Added: Support for BYHOUR and BYDAY in FREQ=WEEKLY. 737 738 7392.0.2 (2012-10-06) 740------------------ 741 742* Added: includes.php file, to load the entire library in one go. 743* Fixed: A problem with determining alarm triggers for TODO's. 744 745 7462.0.1 (2012-09-22) 747------------------ 748 749* Removed: Element class. It wasn't used. 750* Added: Basic validation and repair methods for broken input data. 751* Fixed: RecurrenceIterator could infinitely loop when an INTERVAL of 0 was 752 specified. 753* Added: A cli script that can validate and automatically repair vcards and 754 iCalendar objects. 755* Added: A new 'Compound' property, that can automatically split up parts for 756 properties such as N, ADR, ORG and CATEGORIES. 757* Added: Splitter classes, that can split up large objects (such as exports) 758 into individual objects (thanks @DominikTo and @armin-hackmann). 759* Added: VFREEBUSY component, which allows easily checking wether timeslots are 760 available. 761* Added: The Reader class now has a 'FORGIVING' option, which allows it to parse 762 properties with incorrect characters in the name (at this time, it just allows 763 underscores). 764* Added: Also added the 'IGNORE_INVALID_LINES' option, to completely disregard 765 any invalid lines. 766* Fixed: A bug in Windows timezone-id mappings for times created in Greenlands 767 timezone (sorry Greenlanders! I do care!). 768* Fixed: DTEND was not generated correctly for VFREEBUSY reports. 769* Fixed: Parser is at least 25% faster with real-world data. 770 771 7722.0.0 (2012-08-08) 773------------------ 774 775* VObject is now a separate project from SabreDAV. See the SabreDAV changelog 776 for version information before 2.0. 777* New: VObject library now uses PHP 5.3 namespaces. 778* New: It's possible to specify lists of parameters when constructing 779 properties. 780* New: made it easier to construct the FreeBusyGenerator. 781 782[iTip]: http://tools.ietf.org/html/rfc5546 783