1
0
mirror of https://github.com/rlanvin/php-rrule.git synced 2025-02-17 06:54:15 +01:00
php-rrule/CHANGELOG.md

161 lines
6.6 KiB
Markdown
Raw Normal View History

2016-03-23 12:04:41 +02:00
# Changelog
2016-03-11 11:20:11 +02:00
2018-06-29 10:45:10 +01:00
## Unreleased
2016-03-11 11:20:11 +02:00
2018-06-29 10:45:10 +01:00
- n/a
## [1.6.2] - 2018-09-18
### Fixed
- Fix typo in NL translation [#53](https://github.com/rlanvin/php-rrule/issues/53)
## [1.6.1] - 2018-04-13
### Fixed
- Null check to prevent 0 (false) values being lost when exporting to RFC string [#50](https://github.com/rlanvin/php-rrule/pull/50)
- Fix warning in `humanReadable()` [#44](https://github.com/rlanvin/php-rrule/pull/44)
- Fix typo in NL translation [#46](https://github.com/rlanvin/php-rrule/pull/46)
2017-10-11 13:23:40 +01:00
## [1.6.0] - 2017-10-11
### Added
2017-10-11 11:06:43 +01:00
- German translation [#38](https://github.com/rlanvin/php-rrule/pull/38)
2017-10-11 13:23:40 +01:00
- Add `include_until` option to `humanReadable` to omit the "until" part of the rule [#36](https://github.com/rlanvin/php-rrule/pull/36)
2017-05-15 10:14:37 +01:00
2017-10-11 11:06:43 +01:00
## [1.5.1] - 2017-05-15
### Fixed
- Throw exception when passing a float instead of an int (e.g. INTERVAL=1.5) instead of casting silently
2017-05-15 10:14:37 +01:00
- Variable name typo [#34](https://github.com/rlanvin/php-rrule/issues/34)
2017-05-07 20:33:11 +01:00
## [1.5.0] - 2017-05-07
### Added
- Add `explicit_infinite` and `include_start` options to `humanReadable` to respectivity omit "forever" and the start date from the sentence.
- RSet constructor now accepts a string to build a RSET from a RFC string [#26](https://github.com/rlanvin/php-rrule/issues/26)
- New factory method `RRule::createFromRfcString()` to build either a RRule or a RSet from a string
- Add a `$limit` parameter to `getOccurrences()` and `getOccurrencesBetween()` to make working with infinite rule easier
- Add a `$dtstart` parameter to `RRule` and `RSet` constsructor to specify dtstart when working with a RFC string without DTSTART.
### Fixed
- When creating a RRule, the RFC parser will not accept multiple DTSTART or RRULE lines
### Deprecated
- `RRule::parseRfcString` is deprecated. Note: it wasn't part of the documentation in the first place, but just in case someone is using it, it's not removed yet.
## [1.4.2] - 2017-03-29
### Fixed
- `humanReadable()` fails if the RRule was created from a RFC string containing the timezone (e.g. `DTSTART;TZID=America/New_York:19970901T090000`)
2017-02-03 00:43:28 +02:00
## [1.4.1] - 2017-02-02
### Fixed
- `RRule::offsetGet` and `RSet::offsetGet` throw `InvalidArgumentException` for illegal offset types [#22](https://github.com/rlanvin/php-rrule/issues/22)
2017-01-22 22:25:38 +02:00
- Update exception message for UNTIL parse error [#23](https://github.com/rlanvin/php-rrule/pull/23)
- Fix parser handling of UNTIL when DTSTART is not provided [#25](https://github.com/rlanvin/php-rrule/issues/25)
- Accept invalid RFC strings generated by the JS lib but triggers a Notice message [#25](https://github.com/rlanvin/php-rrule/issues/25)
- Rework `RRule::i18nLoad()` to accept locales such as `en_sg` and use `Locale::parseLocale` when possible [#24](https://github.com/rlanvin/php-rrule/issues/24)
2017-03-29 14:27:26 +01:00
- Fix `humanReadable` fails with `intl` enabled when the timezone is "Z" [#24](https://github.com/rlanvin/php-rrule/issues/24)
2016-11-11 20:44:31 +02:00
## [1.4.0] - 2016-11-11
2016-11-11 20:38:59 +02:00
2016-08-31 15:35:15 +03:00
### Added
2016-08-31 15:56:39 +03:00
- Add `RRule::getRule()` method to return original rule array [#17](https://github.com/rlanvin/php-rrule/pull/17)
- Add `RSet::getRRules()`, `RSet::getExRules()`, `RSet::getDates()` and `RSet::getExDates()`
2016-11-11 20:38:59 +02:00
- Tests for PHP 7.0
2016-08-31 15:35:15 +03:00
### Fixed
- Fix a bug in `rfcString` when using a frequency constant (instead of a string) to create the rule [#16](https://github.com/rlanvin/php-rrule/pull/16)
2016-11-11 20:38:59 +02:00
- Fix a undefined index bug in RFC parser
2016-08-31 15:35:15 +03:00
2016-08-09 15:13:42 +03:00
## [1.3.1] - 2016-08-09
### Added
- Italian translation (it) [#14](https://github.com/rlanvin/php-rrule/pull/14)
### Fixed
- Fixed a bug when combining values with an integer modifier and regular values in `BYDAY` (example `1MO,FR`)
2016-08-09 15:13:42 +03:00
- Fixed RRule created with a timestamp start date generates an invalid RFC string [#15](https://github.com/rlanvin/php-rrule/issues/15)
2016-07-08 12:04:09 +03:00
## [1.3.0] - 2016-07-08
2016-06-30 17:01:32 +03:00
### Added
- Spanish translation (es) [#12](https://github.com/rlanvin/php-rrule/pull/12)
- `$include_timezone` parameter to `RRule::rfcString()` to produce a RFC string without timezone information
### Fixed
- `RRule::parseRfcString()` is strictier and will not accept invalid `DTSTART` and `UNTIL` formats (use the array syntax in the constructor with `DateTime` objects if you need to create rules with complex combinations of timezones). [#13](https://github.com/rlanvin/php-rrule/issues/13)
2016-04-09 18:37:43 +03:00
## [1.2.0] - 2016-04-09
2016-03-31 15:42:10 +03:00
### Added
2016-04-03 16:41:30 +03:00
- Support for fallback locale when using `RRule::humanReadable()` [#11](https://github.com/rlanvin/php-rrule/pull/11)
2016-06-30 17:01:32 +03:00
- Dutch translation (nl) [#9](https://github.com/rlanvin/php-rrule/pull/9)
2016-03-31 15:42:10 +03:00
2016-04-03 16:41:30 +03:00
### Fixed
2016-04-09 18:37:43 +03:00
- Fixed fatal error Locale class not found when intl extension is not loaded [#10](https://github.com/rlanvin/php-rrule/issues/10)
2016-04-03 16:41:30 +03:00
2016-03-30 12:19:05 +03:00
## [1.1.0] - 2016-03-30
2016-03-23 12:07:50 +02:00
### Added
- New class `RRule\RSet` (recurrence set) that can combine multiple RRULE, EXRULE, RDATE and EXDATE. [#7](https://github.com/rlanvin/php-rrule/issues/7)
- New interface `RRule\RRuleInterface` to unify `RRule` and `RSet`
- New methods: `isFinite()`, `isInfinite()`
### Fixed
2016-03-21 21:55:40 +02:00
- Fix bug preventing the iteration of multiple instances of RRule at the same time
2017-01-06 16:42:00 +02:00
- Fix `occursAt` failing when the date passed was a different timezone [#8](https://github.com/rlanvin/php-rrule/pull/8)
- Fix bug at WEEKLY frequency with a partially filled cache in some circumstances
- Fix various reference bugs causing corruption of the cache in some circumstances (related to DateTime object being mutable)
2016-03-21 21:55:40 +02:00
2016-03-23 17:23:09 +02:00
### Removed
- The alias `RRule::occursOn` has been removed (use `occursAt` instead)
2016-03-11 11:20:11 +02:00
## [1.0.1] - 2016-03-11
### Fixed
2016-03-11 11:57:57 +02:00
- Ensure the results are returned in the same timezone as DTSTART. [#6](https://github.com/rlanvin/php-rrule/issues/6)
- LogicException namespacing bug. [#3](https://github.com/rlanvin/php-rrule/issues/3)
2016-03-11 11:20:11 +02:00
## 1.0.0 - 2016-03-02
### Added
- First release, everything before that was unversioned (`dev-master` was used).
2018-06-29 10:45:10 +01:00
[Unreleased]: https://github.com/rlanvin/php-rrule/compare/v1.6.2...HEAD
[1.6.2]: https://github.com/rlanvin/php-rrule/compare/v1.6.1...v1.6.2
[1.6.1]: https://github.com/rlanvin/php-rrule/compare/v1.6.0...v1.6.1
2017-10-11 13:23:40 +01:00
[1.6.0]: https://github.com/rlanvin/php-rrule/compare/v1.5.1...v1.6.0
2017-05-15 10:14:37 +01:00
[1.5.1]: https://github.com/rlanvin/php-rrule/compare/v1.5.0...v1.5.1
2017-05-07 20:33:11 +01:00
[1.5.0]: https://github.com/rlanvin/php-rrule/compare/v1.4.2...v1.5.0
2017-03-29 14:27:26 +01:00
[1.4.2]: https://github.com/rlanvin/php-rrule/compare/v1.4.1...v1.4.2
2017-02-03 00:43:28 +02:00
[1.4.1]: https://github.com/rlanvin/php-rrule/compare/v1.4.0...v1.4.1
2016-11-11 20:43:55 +02:00
[1.4.0]: https://github.com/rlanvin/php-rrule/compare/v1.3.1...v1.4.0
2016-08-09 15:13:42 +03:00
[1.3.1]: https://github.com/rlanvin/php-rrule/compare/v1.3.0...v1.3.1
2016-07-08 12:04:09 +03:00
[1.3.0]: https://github.com/rlanvin/php-rrule/compare/v1.2.0...v1.3.0
2016-04-09 18:37:43 +03:00
[1.2.0]: https://github.com/rlanvin/php-rrule/compare/v1.1.0...v1.2.0
2016-03-30 12:19:05 +03:00
[1.1.0]: https://github.com/rlanvin/php-rrule/compare/v1.0.1...v1.1.0
2016-04-03 16:41:30 +03:00
[1.0.1]: https://github.com/rlanvin/php-rrule/compare/v1.0.0...v1.0.1