npm ical-generator 2.0.0
v2.0.0

latest releases: 7.2.0-develop.3, 7.2.0-develop.2, 7.2.0-develop.1...
3 years ago

2.0.0 (2021-04-28)

Bug Fixes

  • package.json: add temporary version (0bc117e)
  • Allow to set null values within object constructors (8b87183)
  • deps: Also define libs as devDependency for tests (c04ae32)
  • deps: Define supported libs as peerDependencies (84e2784)
  • Make peer dependencies optional (b384ac7), closes #244
  • Tools: Prevent formatDate() from using global timezones prefixed with a slash (85ab7b2)
  • deps: Put necessary typings in peerDependencies as well :/ (14f0f43)
  • Event: Remove moment dependency in constructor (8331d4c), closes #234

Code Refactoring

  • Calendar: Remove moment.Duration from ttl() method (c6ccd12)
  • Update error URLs (2aedf55)

Features

  • Event: Add priority() method (247039f), closes #163
  • Attendee: Add x() method for custom attributes (5d9d686), closes #183
  • Calendar: add new clear method (1ebefcb), closes #188
  • Add ReleaseBot (2fba164)
  • Calendar: Add support for external VTimezone generator (f4bc8e0), closes #122
  • Event: Allow X-APPLE-STRUCTURED-LOCATION without address (4e63e29), closes #236
  • Event: Make organizer.email optional (8450492), closes #137
  • Event: Merge location(), appleLocation() and geo() (62c1516), closes #187
  • Merge event's description() and htmlDescription() (ce537f8)
  • Support moment.js, Day.js and Luxon (#91, BREAKING CHANGE) (6db24ee)
  • Event: Support RRule objects and raw strings in repeating() (4436785), closes #190
  • Updated the entire codebase to Typescript (d013dc0)
  • Events: Use uuid-random for random UUIDs (close #215) (a4c19cc)

BREAKING CHANGES

  • Some error messages changed, so if you check for error , please double check them now.
  • htmlDescription() was removed, use description() instead.
  • Calendar: ttl() will now return a number, not a moment.Duration. You can still use moment.Duration to set the ttl value.
  • Event: geo() and appleLocation() are not available anymore, use location() instead and pass an location object (with title, radius, etc.)
  • Calendar: Calendar's clear() method is a completely new implementation and, unlike previous versions, will not reset metadata such as name or prodId. Only the events will be removed

Don't miss a new ical-generator release

NewReleases is sending notifications on new releases.