comparison vendor/sabre/vobject/ChangeLog.md @ 7:430dbd5346f7

vendor sabre as distributed
author Charlie Root
date Sat, 13 Jan 2018 09:06:10 -0500
parents
children
comparison
equal deleted inserted replaced
6:cec75ba50afc 7:430dbd5346f7
1 ChangeLog
2 =========
3
4 3.3.5 (2015-01-09)
5 ------------------
6
7 * #168: Expanding calendars now removes objects with recurrence rules that
8 don't have a valid recurrence instance.
9 * #177: SCHEDULE-STATUS should not contain a reason phrase, only a status
10 code.
11 * #175: Parser can now read and skip the UTF-8 BOM.
12 * #179: Added `isFloating` to `DATE-TIME` properties.
13 * #179: Fixed jCal serialization of floating `DATE-TIME` properties.
14 * #173: vCard converter failed for `X-ABDATE` properties that had no
15 `X-ABLABEL`.
16
17
18 3.3.4 (2014-11-19)
19 ------------------
20
21 * #154: Converting `ANNIVERSARY` to `X-ANNIVERSARY` and `X-ABDATE` and
22 vice-versa when converting to/from vCard 4.
23 * #154: It's now possible to easily select all vCard properties belonging to
24 a single group with `$vcard->{'ITEM1.'}` syntax. (@armin-hackmann)
25 * #156: Simpler way to check if a string is UTF-8. (@Hywan)
26 * Unittest improvements.
27 * #159: The recurrence iterator, freebusy generator and iCalendar DATE and
28 DATE-TIME properties can now all accept a reference timezone when working
29 floating times or all-day events.
30 * #159: Master events will no longer get a `RECURRENCE-ID` when expanding.
31 * #159: `RECURRENCE-ID` for all-day events will now be correct when expanding.
32 * #163: Added a `getTimeZone()` method to `VTIMEZONE` components.
33
34
35 3.3.3 (2014-10-09)
36 ------------------
37
38 * #142: `CANCEL` and `REPLY` messages now include the `DTSTART` from the
39 original event.
40 * #143: `SCHEDULE-AGENT` on the `ORGANIZER` property is respected.
41 * #144: `PARTSTAT=NEEDS-ACTION` is now set for new invites, if no `PARTSTAT` is
42 set to support the inbox feature of iOS.
43 * #147: Bugs related to scheduling all-day events.
44 * #148: Ignore events that have attendees but no organizer.
45 * #149: Avoiding logging errors during timezone detection. This is a workaround
46 for a PHP bug.
47 * Support for "Line Islands Standard Time" windows timezone.
48 * #154: Correctly work around vCard parameters that have a value but no name.
49
50
51 3.3.2 (2014-09-19)
52 ------------------
53
54 * Changed: iTip broker now sets RSVP status to false when replies are received.
55 * #118: iTip Message now has a `getScheduleStatus()` method.
56 * #119: Support for detecting 'significant changes'.
57 * #120: Support for `SCHEDULE-FORCE-SEND`.
58 * #121: iCal demands parameters containing the + sign to be quoted.
59 * #122: Don't generate REPLY messages for events that have been cancelled.
60 * #123: Added `SUMMARY` to iTip messages.
61 * #130: Incorrect validation rules for `RELATED` (should be `RELATED-TO`).
62 * #128: `ATTACH` in iCalendar is `URI` by default, not `BINARY`.
63 * #131: RRULE that doesn't provide a single valid instance now throws an
64 exception.
65 * #136: Validator rejects *all* control characters. We were missing a few.
66 * #133: Splitter objects will throw exceptions when receiving incompatible
67 objects.
68 * #127: Attendees who delete recurring event instances events they had already
69 declined earlier will no longer generate another reply.
70 * #125: Send CANCEL messages when ORGANIZER property gets deleted.
71
72
73 3.3.1 (2014-08-18)
74 ------------------
75
76 * Changed: It's now possible to pass DateTime objects when using the magic
77 setters on properties. (`$event->DTSTART = new DateTime('now')`).
78 * #111: iTip Broker does not process attendee adding events to EXDATE.
79 * #112: EventIterator now sets TZID on RECURRENCE-ID.
80 * #113: Timezone support during creation of iTip REPLY messages.
81 * #114: VTIMEZONE is retained when generating new REQUEST objects.
82 * #114: Support for 'MAILTO:' style email addresses (in uppercase) in the iTip
83 broker. This improves evolution support.
84 * #115: Using REQUEST-STATUS from REPLY messages and now propegating that into
85 SCHEDULE-STATUS.
86
87
88 3.3.0 (2014-08-07)
89 ------------------
90
91 * We now use PSR-4 for the directory structure. This means that everything
92 that was used to be in the `lib/Sabre/VObject` directory is now moved to
93 `lib/`. If you use composer to load this library, you shouldn't have to do
94 anything about that though.
95 * VEVENT now get populated with a DTSTAMP and UID property by default.
96 * BC Break: Removed the 'includes.php' file. Use composer instead.
97 * #103: Added support for processing [iTip][iTip] messages. This allows a user
98 to parse incoming iTip messages and apply the result on existing calendars,
99 or automatically generate invites/replies/cancellations based on changes that
100 a user made on objects.
101 * #75, #58, #18: Fixes related to overriding the first event in recurrences.
102 * Added: VCalendar::getBaseComponent to find the 'master' component in a
103 calendar.
104 * #51: Support for iterating RDATE properties.
105 * Fixed: Issue #101: RecurrenceIterator::nextMonthly() shows events that are
106 excluded events with wrong time
107
108
109 3.2.4 (2014-07-14)
110 ------------------
111
112 * Added: Issue #98. The VCardConverter now takes `X-APPLE-OMIT-YEAR` into
113 consideration when converting between vCard 3 and 4.
114 * Fixed: Issue #96. Some support for Yahoo's broken vcards.
115 * Fixed: PHP 5.3 support was broken in the cli tool.
116
117
118 3.2.3 (2014-06-12)
119 ------------------
120
121 * Validator now checks if DUE and DTSTART are of the same type in VTODO, and
122 ensures that DUE is always after DTSTART.
123 * Removed documentation from source repository, to http://sabre.io/vobject/
124 * Expanded the vobject cli tool validation output to make it easier to find
125 issues.
126 * Fixed: vobject repair. It was not working for iCalendar objects.
127
128
129 3.2.2 (2014-05-07)
130 ------------------
131
132 * Minor tweak in unittests to make it run on PHP 5.5.12. Json-prettifying
133 slightly changed which caused the test to fail.
134
135
136 3.2.1 (2014-05-03)
137 ------------------
138
139 * Minor tweak to make the unittests run with the latest hhvm on travis.
140 * Updated timezone definitions.
141 * Updated copyright links to point to http://sabre.io/
142
143
144 3.2.0 (2014-04-02)
145 ------------------
146
147 * Now hhvm compatible!
148 * The validator can now detect a _lot_ more problems. Many rules for both
149 iCalendar and vCard were added.
150 * Added: bin/generate_vcards, a utility to generate random vcards for testing
151 purposes. Patches are welcome to add more data.
152 * Updated: Windows timezone mapping to latest version from unicode.org
153 * Changed: The timezone maps are now loaded in from external files, in
154 lib/Sabre/VObject/timezonedata.
155 * Added: Fixing badly encoded URL's from google contacts vcards.
156 * Fixed: Issue #68. Couldn't decode properties ending in a colon.
157 * Fixed: Issue #72. RecurrenceIterator should respect timezone in the UNTIL
158 clause.
159 * Fixed: Issue #67. BYMONTH limit on DAILY recurrences.
160 * Fixed: Issue #26. Return a more descriptive error when coming across broken
161 BYDAY rules.
162 * Fixed: Issue #28. Incorrect timezone detection for some timezones.
163 * Fixed: Issue #70. Casting a parameter with a null value to string would fail.
164 * Added: Support for rfc6715 and rfc6474.
165 * Added: Support for DateTime objects in the VCard DATE-AND-OR-TIME property.
166 * Added: UUIDUtil, for easily creating unique identifiers.
167 * Fixed: Issue #83. Creating new VALUE=DATE objects using php's DateTime.
168 * Fixed: Issue #86. Don't go into an infinite loop when php errors are
169 disabled and an invalid file is read.
170
171
172 3.1.4 (2014-03-30)
173 ------------------
174
175 * Fixed: Issue #87: Several compatibility fixes related to timezone handling
176 changes in PHP 5.5.10.
177
178
179 3.1.3 (2013-10-02)
180 ------------------
181
182 * Fixed: Support from properties from draft-daboo-valarm-extensions-04. Issue
183 #56.
184 * Fixed: Issue #54. Parsing a stream of multiple vcards separated by more than
185 one newline. Thanks @Vedmak for the patch.
186 * Fixed: Serializing vcard 2.1 parameters with no name caused a literal '1' to
187 be inserted.
188 * Added: VCardConverter removed properties that are no longer supported in vCard
189 4.0.
190 * Added: vCards with a minimum number of values (such as N), but don't have that
191 many, are now automatically padded with empty components.
192 * Added: The vCard validator now also checks for a minimum number of components,
193 and has the ability to repair these.
194 * Added: Some support for vCard 2.1 in the VCard converter, to upgrade to vCard
195 3.0 or 4.0.
196 * Fixed: Issue 60 Use Document::$componentMap when instantiating the top-level
197 VCalendar and VCard components.
198 * Fixed: Issue 62: Parsing iCalendar parameters with no value.
199 * Added: --forgiving option to vobject utility.
200 * Fixed: Compound properties such as ADR were not correctly split up in vCard
201 2.1 quoted printable-encoded properties.
202 * Fixed: Issue 64: Encoding of binary properties of converted vCards. Thanks
203 @DominikTo for the patch.
204
205
206 3.1.2 (2013-08-13)
207 ------------------
208
209 * Fixed: Setting correct property group on VCard conversion
210
211
212 3.1.1 (2013-08-02)
213 ------------------
214
215 * Fixed: Issue #53. A regression in RecurrenceIterator.
216
217
218 3.1.0 (2013-07-27)
219 ------------------
220
221 * Added: bad-ass new cli debugging utility (in bin/vobject).
222 * Added: jCal and jCard parser.
223 * Fixed: URI properties should not escape ; and ,.
224 * Fixed: VCard 4 documents now correctly use URI as a default value-type for
225 PHOTO and others. BINARY no longer exists in vCard 4.
226 * Added: Utility to convert between 2.1, 3.0 and 4.0 vCards.
227 * Added: You can now add() multiple parameters to a property in one call.
228 * Added: Parameter::has() for easily checking if a parameter value exists.
229 * Added: VCard::preferred() to find a preferred email, phone number, etc for a
230 contact.
231 * Changed: All $duration properties are now public.
232 * Added: A few validators for iCalendar documents.
233 * Fixed: Issue #50. RecurrenceIterator gives incorrect result when exception
234 events are out of order in the iCalendar file.
235 * Fixed: Issue #48. Overridden events in the recurrence iterator that were past
236 the UNTIL date were ignored.
237 * Added: getDuration for DURATION values such as TRIGGER. Thanks to
238 @SimonSimCity.
239 * Fixed: Issue #52. vCard 2.1 parameters with no name may lose values if there's
240 more than 1. Thanks to @Vedmak.
241
242
243 3.0.0 (2013-06-21)
244 ------------------
245
246 * Fixed: includes.php file was still broken. Our tool to generate it had some
247 bugs.
248
249
250 3.0.0-beta4 (2013-06-21)
251 ------------------------
252
253 * Fixed: includes.php was no longer up to date.
254
255
256 3.0.0-beta3 (2013-06-17)
257 ------------------------
258
259 * Added: OPTION_FORGIVING now also allows slashes in property names.
260 * Fixed: DateTimeParser no longer fails on dates with years < 1000 & > 4999
261 * Fixed: Issue 36: Workaround for the recurrenceiterator and caldav events with
262 a missing base event.
263 * Fixed: jCard encoding of TIME properties.
264 * Fixed: jCal encoding of REQUEST-STATUS, GEO and PERIOD values.
265
266
267 3.0.0-beta2 (2013-06-10)
268 ------------------------
269
270 * Fixed: Corrected includes.php file.
271 * Fixed: vCard date-time parser supported extended-format dates as well.
272 * Changed: Properties have been moved to an ICalendar or VCard directory.
273 * Fixed: Couldn't parse vCard 3 extended format dates and times.
274 * Fixed: Couldn't export jCard DATE values correctly.
275 * Fixed: Recursive loop in ICalendar\DateTime property.
276
277
278 3.0.0-beta1 (2013-06-07)
279 ------------------------
280
281 * Added: jsonSerialize() for creating jCal and jCard documents.
282 * Added: helper method to parse vCard dates and times.
283 * Added: Specialized classes for FLOAT, LANGUAGE-TAG, TIME, TIMESTAMP,
284 DATE-AND-OR-TIME, CAL-ADDRESS, UNKNOWN and UTC-OFFSET properties.
285 * Removed: CommaSeparatedText property. Now included into Text.
286 * Fixed: Multiple parameters with the same name are now correctly encoded.
287 * Fixed: Parameter values containing a comma are now enclosed in double-quotes.
288 * Fixed: Iterating parameter values should now fully work as expected.
289 * Fixed: Support for vCard 2.1 nameless parameters.
290 * Changed: $valueMap, $componentMap and $propertyMap now all use fully-qualified
291 class names, so they are actually overridable.
292 * Fixed: Updating DATE-TIME to DATE values now behaves like expected.
293
294
295 3.0.0-alpha4 (2013-05-31)
296 -------------------------
297
298 * Added: It's now possible to send parser options to the splitter classes.
299 * Added: A few tweaks to improve component and property creation.
300
301
302 3.0.0-alpha3 (2013-05-13)
303 -------------------------
304
305 * Changed: propertyMap, valueMap and componentMap are now static properties.
306 * Changed: Component::remove() will throw an exception when trying to a node
307 that's not a child of said component.
308 * Added: Splitter objects are now faster, line numbers are accurately reported
309 and use less memory.
310 * Added: MimeDir parser can now continue parsing with the same stream buffer.
311 * Fixed: vobjectvalidate.php is operational again.
312 * Fixed: \r is properly stripped in text values.
313 * Fixed: QUOTED-PRINTABLE is now correctly encoded as well as encoded, for
314 vCards 2.1.
315 * Fixed: Parser assumes vCard 2.1, if no version was supplied.
316
317
318 3.0.0-alpha2 (2013-05-22)
319 -------------------------
320
321 * Fixed: vCard URL properties were referencing a non-existant class.
322
323
324 3.0.0-alpha1 (2013-05-21)
325 -------------------------
326
327 * Fixed: Now correctly dealing with escaping of properties. This solves the
328 problem with double-backslashes where they don't belong.
329 * Added: Easy support for properties with more than one value, using setParts
330 and getParts.
331 * Added: Support for broken 2.1 vCards produced by microsoft.
332 * Added: Automatically decoding quoted-printable values.
333 * Added: Automatically decoding base64 values.
334 * Added: Decoding RFC6868 parameter values (uses ^ as an escape character).
335 * Added: Fancy new MimeDir parser that can also parse streams.
336 * Added: Automatically mapping many, many properties to a property-class with
337 specialized API's.
338 * Added: remove() method for easily removing properties and sub-components
339 components.
340 * Changed: Components, Properties and Parameters can no longer be created with
341 Component::create, Property::create and Parameter::create. They must instead
342 be created through the root component. (A VCalendar or VCard object).
343 * Changed: API for DateTime properties has slightly changed.
344 * Changed: the ->value property is now protected everywhere. Use getParts() and
345 getValue() instead.
346 * BC Break: No support for mac newlines (\r). Never came across these anyway.
347 * Added: add() method to the Property class.
348 * Added: It's now possible to easy set multi-value properties as arrays.
349 * Added: When setting date-time properties you can just pass PHP's DateTime
350 object.
351 * Added: New components automatically get a bunch of default properties, such as
352 VERSION and CALSCALE.
353 * Added: You can add new sub-components much quicker with the magic setters, and
354 add() method.
355
356
357 2.1.6 (2014-12-10)
358 ------------------
359
360 * Fixed: Minor change to make sure that unittests succeed on every PHP version.
361
362
363 2.1.5 (2014-06-03)
364 ------------------
365
366 * Fixed: #94: Better parameter escaping.
367 * Changed: Documentation cleanups.
368
369
370 2.1.4 (2014-03-30)
371 ------------------
372
373 * Fixed: Issue #87: Several compatibility fixes related to timezone handling
374 changes in PHP 5.5.10.
375
376
377 2.1.3 (2013-10-02)
378 ------------------
379
380 * Fixed: Issue #55. \r must be stripped from property values.
381 * Fixed: Issue #65. Putting quotes around parameter values that contain a colon.
382
383
384 2.1.2 (2013-08-02)
385 ------------------
386
387 * Fixed: Issue #53. A regression in RecurrenceIterator.
388
389
390 2.1.1 (2013-07-27)
391 ------------------
392
393 * Fixed: Issue #50. RecurrenceIterator gives incorrect result when exception
394 events are out of order in the iCalendar file.
395 * Fixed: Issue #48. Overridden events in the recurrence iterator that were past
396 the UNTIL date were ignored.
397
398
399 2.1.0 (2013-06-17)
400 ------------------
401
402 * This version is fully backwards compatible with 2.0.\*. However, it contains a
403 few new API's that mimic the VObject 3 API. This allows it to be used a
404 'bridge' version. Specifically, this new version exists so SabreDAV 1.7 and
405 1.8 can run with both the 2 and 3 versions of this library.
406 * Added: Property\DateTime::hasTime().
407 * Added: Property\MultiDateTime::hasTime().
408 * Added: Property::getValue().
409 * Added: Document class.
410 * Added: Document::createComponent and Document::createProperty.
411 * Added: Parameter::getValue().
412
413
414 2.0.7 (2013-03-05)
415 ------------------
416
417 * Fixed: Microsoft re-uses their magic numbers for different timezones,
418 specifically id 2 for both Sarajevo and Lisbon). A workaround was added to
419 deal with this.
420
421
422 2.0.6 (2013-02-17)
423 ------------------
424
425 * Fixed: The reader now properly parses parameters without a value.
426
427
428 2.0.5 (2012-11-05)
429 ------------------
430
431 * Fixed: The FreeBusyGenerator is now properly using the factory methods for
432 creation of components and properties.
433
434
435 2.0.4 (2012-11-02)
436 ------------------
437
438 * Added: Known Lotus Notes / Domino timezone id's.
439
440
441 2.0.3 (2012-10-29)
442 ------------------
443
444 * Added: Support for 'GMT+????' format in TZID's.
445 * Added: Support for formats like SystemV/EST5EDT in TZID's.
446 * Fixed: RecurrenceIterator now repairs recurrence rules where UNTIL < DTSTART.
447 * Added: Support for BYHOUR in FREQ=DAILY (@hollodk).
448 * Added: Support for BYHOUR and BYDAY in FREQ=WEEKLY.
449
450
451 2.0.2 (2012-10-06)
452 ------------------
453
454 * Added: includes.php file, to load the entire library in one go.
455 * Fixed: A problem with determining alarm triggers for TODO's.
456
457
458 2.0.1 (2012-09-22)
459 ------------------
460
461 * Removed: Element class. It wasn't used.
462 * Added: Basic validation and repair methods for broken input data.
463 * Fixed: RecurrenceIterator could infinitely loop when an INTERVAL of 0 was
464 specified.
465 * Added: A cli script that can validate and automatically repair vcards and
466 iCalendar objects.
467 * Added: A new 'Compound' property, that can automatically split up parts for
468 properties such as N, ADR, ORG and CATEGORIES.
469 * Added: Splitter classes, that can split up large objects (such as exports)
470 into individual objects (thanks @DominikTO and @armin-hackmann).
471 * Added: VFREEBUSY component, which allows easily checking wether timeslots are
472 available.
473 * Added: The Reader class now has a 'FORGIVING' option, which allows it to parse
474 properties with incorrect characters in the name (at this time, it just allows
475 underscores).
476 * Added: Also added the 'IGNORE_INVALID_LINES' option, to completely disregard
477 any invalid lines.
478 * Fixed: A bug in Windows timezone-id mappings for times created in Greenlands
479 timezone (sorry Greenlanders! I do care!).
480 * Fixed: DTEND was not generated correctly for VFREEBUSY reports.
481 * Fixed: Parser is at least 25% faster with real-world data.
482
483
484 2.0.0 (2012-08-08)
485 ------------------
486
487 * VObject is now a separate project from SabreDAV. See the SabreDAV changelog
488 for version information before 2.0.
489 * New: VObject library now uses PHP 5.3 namespaces.
490 * New: It's possible to specify lists of parameters when constructing
491 properties.
492 * New: made it easier to construct the FreeBusyGenerator.
493
494 [iTip]: http://tools.ietf.org/html/rfc5546