Skip to content

v4.1.0

Latest
Compare
Choose a tag to compare
@hawkeye64 hawkeye64 released this 02 Feb 20:07
· 6 commits to dev since this release

QCalendar v4.1.0

Features

  • feat(ui): full conversion to typescript, including build

This was not an easy feat and took over a week at 10 hours a day. I am by no means a TS expert. If you see anything wrong, or incorrect behavior, please create an issue (or PR) right away. All code for QCalendar, the build system, the docs and examples, and all test code was converted to typescript.

  • feat(ui): updated types

Types are now, for the most part, generated by tsc.

  • fix(ui): Uncaught ResizeObserver loop completed with undelivered notifications.

The internal ResizeObserver directive now uses a debounce method when lots of size notifications need to be sent. This prevents the dev console message: "Uncaught ResizeObserver loop completed with undelivered notifications." from occurring.

  • feat(ui): [QCalendarTask] - new "subtask" slot for children of a task

If you are using QCalendarTask and using the "#task" slot, be aware of the new "#subtask" slot specifically for children. This helps with a separation of concerns as well as making the consuming code more readable and easier to use. Check out the examples for a breakdown.

Fixes

  • fix(ui): [Timestamp] missing export on "isLeapYear"
  • fix(ui): [QCalendarScheduler] - use "flat" instead of "flatMap"
  • fix(ui): [build] - version not syncing correctly to app-ext

Breaking

  • feat(ui): remove "getWeekdaySkips" as this was problematic. Code now uses "props.weekdays" array directly.

This only breaks if you use the "getWeekdaySkips" directly from the Timestamp library (which is highly unlikely). Internally, the code now uses the "props.weekdays" as the single source of truth.


Installing

$ pnpm add @quasar/quasar-ui-qcalendar
# or
$ yarn add @quasar/quasar-ui-qcalendar
# or
$ quasar ext add @quasar/qcalendar

Documentation

QCalendar v4 documentation is now hosted by Netlify. Visit the documentation for more information. The documentation is incomplete and is currently being updated. Please feel free to help out by PR-ing deficiencies.

Donations

QCalendar is an open-source MIT-licensed project made possible due to the generous contributions by sponsors and backers. If you are interested in supporting this project, please consider:

Full Changelog: v4.0.8...v4.1.0