Releases: sabre-io/vobject
Releases · sabre-io/vobject
3.0.0-beta1
- Added: jsonSerialize() for creating jCal and jCard documents.
- Added: helper method to parse vCard dates and times.
- Added: Specialized classes for FLOAT, LANGUAGE-TAG, TIME, TIMESTAMP,
DATE-AND-OR-TIME, CAL-ADDRESS, UNKNOWN and UTC-OFFSET properties. - Removed: CommaSeparatedText property. Now included into Text.
- Fixed: Multiple parameters with the same name are now correctly encoded.
- Fixed: Parameter values containing a comma are now enclosed in double-quotes.
- Fixed: Iterating parameter values should now fully work as expected.
- Fixed: Support for vCard 2.1 nameless parameters.
- Changed: $valueMap, $componentMap and $propertyMap now all use fully-qualified
class names, so they are actually overridable. - Fixed: Updating DATE-TIME to DATE values now behaves like expected.
3.0.0-alpha4
- Added: It's now possible to send parser options to the splitter classes.
- Added: A few tweaks to improve component and property creation.
3.0.0-alpha3
- Changed: propertyMap, valueMap and componentMap are now static properties.
- Changed: Component::remove() will throw an exception when trying to a node
that's not a child of said component. - Added: Splitter objects are now faster, line numbers are accurately reported
and use less memory. - Added: MimeDir parser can now continue parsing with the same stream buffer.
- Fixed: vobjectvalidate.php is operational again.
- Fixed: \r is properly stripped in text values.
- Fixed: QUOTED-PRINTABLE is now correctly encoded as well as encoded, for
vCards 2.1. - Fixed: Parser assumes vCard 2.1, if no version was supplied.
3.0.0-alpha2
- Fixed: vCard URL properties were referencing a non-existant class.
3.0.0-alpha1
- Fixed: Now correctly dealing with escaping of properties. This solves the
problem with double-backslashes where they don't belong. - Added: Easy support for properties with more than one value, using setParts
and getParts. - Added: Support for broken 2.1 vCards produced by microsoft.
- Added: Automatically decoding quoted-printable values.
- Added: Automatically decoding base64 values.
- Added: Decoding RFC6868 parameter values (uses ^ as an escape character).
- Added: Fancy new MimeDir parser that can also parse streams.
- Added: Automatically mapping many, many properties to a property-class with
specialized API's. - Added: remove() method for easily removing properties and sub-components
components. - Changed: Components, Properties and Parameters can no longer be created with
Component::create, Property::create and Parameter::create. They must instead
be created through the root component. (A VCalendar or VCard object). - Changed: API for DateTime properties has slightly changed.
- Changed: the ->value property is now protected everywhere. Use getParts() and
getValue() instead. - BC Break: No support for mac newlines (\r). Never came across these anyway.
- Added: add() method to the Property class.
- Added: It's now possible to easy set multi-value properties as arrays.
- Added: When setting date-time properties you can just pass PHP's DateTime
object. - Added: New components automatically get a bunch of default properties, such as
VERSION and CALSCALE. - Added: You can add new sub-components much quicker with the magic setters, and
add() method.