Skip to content
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

Allow setting GEO by making ICalLocation.title optional #578

Closed
sebbo2002 opened this issue Feb 17, 2024 · 2 comments
Closed

Allow setting GEO by making ICalLocation.title optional #578

sebbo2002 opened this issue Feb 17, 2024 · 2 comments

Comments

@sebbo2002
Copy link
Owner

It is currently not possible to enter a location without specifying a title:

export interface ICalLocation {
title: string;
address?: string;
radius?: number;
geo?: ICalGeo;
}

This means that 'GEO' cannot be set if there is no title. This should be changed. See also #569 and #570. I currently assume that this will be a breaking change, as the return values of the location() getter will change, as title can now be optional.

@sebbo2002 sebbo2002 self-assigned this Feb 17, 2024
@sebbo2002 sebbo2002 mentioned this issue Feb 22, 2024
github-actions bot pushed a commit that referenced this issue Feb 22, 2024
# [7.0.0-develop.1](v6.0.2-develop.13...v7.0.0-develop.1) (2024-02-22)

### Bug Fixes

* fixed GEO missing when supplied (closes [#569](#569)) ([2eeceb8](2eeceb8))
* fixed typo `&&&` to `&&` ([7707b59](7707b59))

### Features

* **Event:** Made `ICalEvent.location.title` optional to allow setting `GEO` without title ([42be230](42be230)), closes [#578](#578)

### BREAKING CHANGES

* **Event:** [ICalEvent.location()](https://sebbo2002.github.io/ical-generator/develop/reference/classes/ICalEvent.html#location)'s `title` field can now be undefined
@sebbo2002
Copy link
Owner Author

🎉 This issue has been resolved in version 7.0.0-develop.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

github-actions bot pushed a commit that referenced this issue Mar 17, 2024
# [7.0.0](v6.0.1...v7.0.0) (2024-03-17)

### Bug Fixes

* **Event:** Run start/end validation only when getting data ([9174a32](9174a32)), closes [#581](#581)
* fixed GEO missing when supplied (closes [#569](#569)) ([2eeceb8](2eeceb8))
* fixed typo `&&&` to `&&` ([7707b59](7707b59))

### Features

* **Alarm:** Add support for `email` alarm type ([5398f09](5398f09)), closes [#576](#576)
* **Event:** Made `ICalEvent.location.title` optional to allow setting `GEO` without title ([42be230](42be230)), closes [#578](#578)

### BREAKING CHANGES

* **Event:** [ICalEvent.location()](https://sebbo2002.github.io/ical-generator/develop/reference/classes/ICalEvent.html#location)'s `title` field can now be undefined
@sebbo2002
Copy link
Owner Author

🎉 This issue has been resolved in version 7.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant