Releases: sabre-io/vobject
Releases · sabre-io/vobject
4.0.0
- #274: When creating new vCards, the default vCard version is now 4.0.
- #275:
VEVENT
,VTODO
andVCARD
now automatically get aUID
and
DTSTAMP
property if this was not already specified. ParseException
now extends\Exception
.Sabre\VObject\Reader::read
now has a$charset
argument.- #272:
Sabre\VObject\Recur\EventIterator::$maxInstances
is now
Sabre\VObject\Settings::$maxRecurrences
and is also honored by the
FreeBusyGenerator. - #278:
expand()
did not work correctly on events with sub-components.
4.0.0-beta1
- #258: Support for expanding events that use
RDATE
. (@jabdoa2) - #258: Correctly support TZID for events that use
RDATE
. (@jabdoa2) - #240:
Component\VCalendar::expand()
now returns a new expandedVCalendar
object, instead of editing the existingVCalendar
in-place. This is a BC
break. - #265: Using the new
InvalidDataException
in place of
InvalidArgumentException
andLogicException
in all places where we fail
because there was something wrong with input data. - #227: Always add
VALUE=URI
toPHOTO
properties. - #235: Always add
VALUE=URI
toURL
properties. - It's now possible to override which class is used instead of
Component\VCalendar
orComponent\VCard
during parsing. - #263: Lots of small cleanups. (@jakobsack)
- #220: Automatically stop recurring after 3500 recurrences.
- #41: Allow user to set different encoding than UTF-8 when decoding vCards.
- #41: Support the
ENCODING
parameter from vCard 2.1.
Both ISO-8859-1 and Windows-1252 are currently supported. - #185: Fix encoding/decoding of
TIME
values in jCal/jCard.
4.0.0-alpha2
- Updated windows timezone file to support new mexican timezone.
- #239: Added a
BirthdayCalendarGenerator
. (@DominikTo) - #250:
isInTimeRange()
now considers the timezone for floating dates and
times. (@armin-hackmann) - Added a duplicate vcard merging tool for the command line.
- #253:
isInTimeRange()
now correctly handles events that throw the
NoInstancesException
exception. (@migrax, @DominikTo) - #254: The parser threw an
E_NOTICE
for certain invalid objects. It now
correctly throws aParseException
.
3.4.7
3.4.6
4.0.0-alpha1
- sabre/vobject now requires PHP 5.5.
- #244: PHP7 support.
- Lots of speedups and reduced memory usage!
- #160: Support for xCal a.k.a. RFC6321! (@Hywan)
- #192: Support for xCard a.k.a. RFC6351! (@Hywan)
- #139: We now accept
DateTimeInterface
wherever it acceptedDateTime
before in arguments. This means that eitherDateTime
or
DateTimeImmutable
may be used everywhere. - #242: Full support for the
VAVAILABILITY
component, and calculating
VFREEBUSY
based onVAVAILABILITY
data. - #186: Fixing conversion of
UTC-OFFSET
properties when going back and
forward between jCal and iCalendar. - Properties, Components and Parameters now implement PHP's
JsonSerializable
interface. - #139: We now always return
DateTimeImmutable
from any method. This could
potentially have big implications if you manipulate Date objects anywhere. - #161: Simplified
ElementList
by extendingArrayIterator
. - Removed
RecurrenceIterator
(use Recur\EventIterator instead). - Now using php-cs-fixer to automatically enforce and correct CS.
- #233: The
+00:00
timezone is now recognized as UTC. (@c960657) - #237: Added a
destroy()
method to all documents. This method breaks any
circular references, allowing PHP to free up memory. - #197: Made accessing properties and objects by their name a lot faster. This
especially helps objects that have a lot of sub-components or properties,
such as large iCalendar objects. - #197: The
$children
property on components has been changed frompublic
toprotected
. Use thechildren()
method instead to get a flat list of
objects. - #244: The
Float
andInteger
classes have been renamed toFloatValue
andIntegerValue
to allow PHP 7 compatibility.
3.4.5
3.4.4
3.4.3
- #219: Corrected validation of
EXDATE
properties with more than one value. - #212:
BYSETPOS
with values below-1
was broken and could cause infinite
loops. - #211: Fix
BYDAY=-5TH
in recurrence iterator. (@lindquist) - #216:
ENCODING
parameter is now validated for all document types. - #217: Initializing vCard
DATE
objects with a PHP DateTime object will now
work correctly. (@thomascube)