-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🎉 2.0.0 #239
Closed
Closed
🎉 2.0.0 #239
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BREAKING CHANGES: - **General**: Constructors can no longer be used with JSON string. Parse the JSON before passing it to the constructor - **General**: A very few type checks have been removed as they became obsolete with Typescript - **General**: Passing Millisenconds is not supported as a valid date anymore, use one of the supported date formats - **General**: Some default values changed from undefined to null - **General**: supported environment set to node >= 10 - **General**: Some error messages were updated, so if your code relies on error message strings, please double check these - **Calendar**: `domain()` was removed - **Calendar**: `clear()` method was removed - **Event**: `repeating.excludeTimezone` was removed and uses the time zone of the event or calendar instead - **Event**: `repeating.wkst` is now `repeating.startOfWeek` - **Event**: `geo()` unsupports string parameter, only `{lat: number, lon: number}` objects are now allowed - **Category**: `Category::name(null)` is not allowed anymore - **Attendee**: `rsvp()` uses booleans now, invalid arguments are casted to boolean
Typescript Refactoring
The release process needs to be revised anyway, so I'm throwing this out for now. Then no mistakes can happen.
# [1.3.0-develop.1](v1.2.1...v1.3.0-develop.1) (2021-02-27) ### Bug Fixes * **package.json:** add temporary version ([0bc117e](0bc117e)) * allow X-attrs to be specified in constructor ([#185](#185)) ([58c1ae5](58c1ae5)) * capitalize byDay even when bySetPos is used ([#205](#205)) ([5440fbc](5440fbc)) * **Typings:** Fix OPT-PARTICIPANT ([b777f9e](b777f9e)), closes [#192](#192) * Fix scale type for CalendarData ([#191](#191)) ([d5421e8](d5421e8)) * Make x key optional in types ([#211](#211)) ([e3c21e2](e3c21e2)) * Type fixes and updates ([#217](#217)) ([d8abe4d](d8abe4d)) ### Features * **Events:** Add appleLocation method ([#170](#170)) ([0956ba2](0956ba2)) * Add missing string input options to interface ([#199](#199)) ([a963178](a963178)) * Add Transparency Method ([bd2901d](bd2901d)) * Increase id entropy - Fixes [#200](#200) ([#202](#202)) ([6711b0a](6711b0a)) * make domain optional ([#209](#209)) ([e3362c9](e3362c9)) * Updated the entire codebase to Typescript ([d013dc0](d013dc0)) * **Events:** use provided timezone when constructing repeating.exclude ([#210](#210)) ([bd84230](bd84230))
# [1.3.0-develop.2](v1.3.0-develop.1...v1.3.0-develop.2) (2021-03-05) ### Features * **Events:** Use uuid-random for random UUIDs (close [#215](#215)) ([a4c19cc](a4c19cc))
# [1.3.0-develop.3](v1.3.0-develop.2...v1.3.0-develop.3) (2021-03-13)
# [1.3.0-develop.4](v1.3.0-develop.3...v1.3.0-develop.4) (2021-03-21) ### Features * Support moment.js, Day.js and Luxon ([#91](#91), BREAKING CHANGE) ([6db24ee](6db24ee))
Added a logoand updated both the badges and the version 2.0 notice.
# [2.0.0-develop.11](v2.0.0-develop.10...v2.0.0-develop.11) (2021-03-26) ### chore * Update package.json ([a3c7037](a3c7037)) ### BREAKING CHANGES * Set minimum node.js version to 12.0.0
This reverts commit a3c7037.
# [2.0.0-develop.12](v2.0.0-develop.11...v2.0.0-develop.12) (2021-03-26) ### Reverts * Revert "chore: Update package.json" ([2ad5716](2ad5716))
BREAKING CHANGE: Some error messages changed, so if you check for error , please double check them now.
# [2.0.0-develop.13](v2.0.0-develop.12...v2.0.0-develop.13) (2021-03-26) ### Code Refactoring * Update error URLs ([2aedf55](2aedf55)) ### BREAKING CHANGES * Some error messages changed, so if you check for error , please double check them now.
# [2.0.0-develop.14](v2.0.0-develop.13...v2.0.0-develop.14) (2021-03-28) ### Bug Fixes * Allow to set null values within object constructors ([8b87183](8b87183))
…velop # Conflicts: # package-lock.json # package.json
# [2.0.0-develop.15](v2.0.0-develop.14...v2.0.0-develop.15) (2021-04-02) ### Bug Fixes * **deps:** Also define libs as devDependency for tests ([c04ae32](c04ae32)) * **deps:** Define supported libs as peerDependencies ([84e2784](84e2784))
# [2.0.0-develop.16](v2.0.0-develop.15...v2.0.0-develop.16) (2021-04-02) ### Bug Fixes * **deps:** Put necessary typings in peerDependencies as well :/ ([14f0f43](14f0f43))
# [2.0.0-develop.17](v2.0.0-develop.16...v2.0.0-develop.17) (2021-04-02)
# [2.0.0-develop.18](v2.0.0-develop.17...v2.0.0-develop.18) (2021-04-09) ### Features * **Event:** Allow `X-APPLE-STRUCTURED-LOCATION` without address ([4e63e29](4e63e29)), closes [#236](#236)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🐛 Bug Fixes
moment
dependency in constructor (8331d4c), closes #234🚧 Code Refactoring
ttl()
method (c6ccd12)🆕 Features
x()
method for custom attributes (5d9d686), closes #183priority()
method (247039f), closes #163X-APPLE-STRUCTURED-LOCATION
without address (4e63e29), closes #236location()
,appleLocation()
andgeo()
(62c1516), closes #187repeating()
(4436785), closes #190description()
andhtmlDescription()
(ce537f8)⚡️ BREAKING CHANGES
htmlDescription()
was removed, usedescription()
instead.ttl()
will now return a number, not amoment.Duration
. You can still usemoment.Duration
to set thettl
value.geo()
andappleLocation()
are not available anymore, uselocation()
instead and pass an location object (with title, radius, etc.)clear()
method is a completely new implementation and, unlike previous versions, will not reset metadata such asname
orprodId
. Only the events will be removed