Fullcalendar CDN 404 - breaking changes in v5.1.0

Hi @George,
Sorry to interrupt you and the team’s very well-deserved break.

I am trying to use the calendar element in a project but am finding that the code it adds to the Head section doesn’t work. When adding a calendar the following is added:

<script src="https://unpkg.com/@fullcalendar/core/main.min.js"></script>

<script src="https://unpkg.com/@fullcalendar/core/locales-all.min.js"></script>

<script src="https://unpkg.com/@fullcalendar/interaction/main.min.js"></script>

<script src="https://unpkg.com/@fullcalendar/daygrid/main.min.js"></script>

<script src="dmxAppConnect/dmxCalendar/dmxCalendar.js" defer=""></script>

<link rel="stylesheet" href="https://unpkg.com/@fullcalendar/daygrid/main.min.css" />`

Unfortunately, when loading the page, the scripts are not loading (returning 404 from unpkg). Looking at unpkg, they don’t seem to list the min versions of the files in the referenced repositories:
e.g. for core

I adjusted to pull the non-min versions but it looks like there were some significant changes to FullCalendar in June when v5.1.0 was released. As you link to the latest version, it looks no longer compatible without adjustments (min or non-min).

May I suggest, while you adjust for the breaking changes, you tie to the 4.4.2 version when adding to the Head:
<link rel="stylesheet" href="https://unpkg.com/@fullcalendar/core@4.4.2/main.min.css" /> <script src="https://unpkg.com/@fullcalendar/core@4.4.2/main.min.js"></script> <script src="https://unpkg.com/@fullcalendar/core@4.4.2/locales-all.min.js"></script> <script src="https://unpkg.com/@fullcalendar/interaction@4.4.2/main.min.js"></script> <script src="https://unpkg.com/@fullcalendar/daygrid@4.4.2/main.min.js"></script> <link rel="stylesheet" href="https://unpkg.com/@fullcalendar/daygrid@4.4.2/main.min.css" />

See:

1 Like

Thanks @George,
I didn’t see that post. Sorry for bothering you.

This is fixed in Wappler 3.0.2

1 Like

This topic was automatically closed after 2 days. New replies are no longer allowed.