🎥 Get started with Daily
Please check our our documentation site to get started. If you're building a web app with our daily-js
front-end JavaScript library, you may be particularly interested in:
⚠ Upcoming changes that may require action
Dynamic updates to previous daily-js
versions will end
Today, if you're using daily-js
in call object mode, you may have noticed that certain bug fixes and updates are applied automatically to your client code, regardless of the version of daily-js
you're using. Sometimes, these dynamic updates can introduce slight changes to the behavior of the API.
We’ve received feedback from developers who are looking for more stability and want more control over when these fixes and updates end up in their client implementations.
So, starting in an upcoming version of daily-js
, bug fixes and updates will no longer be automatically applied to previous versions of daily-js
, reducing unexpected changes for users of our library.
Going forward, if you’re using a numbered version of daily-js
in call object mode, you will need to periodically update to the latest version in order to receive any of the latest fixes or improvements*.
If you're using daily-js
to embed Daily Prebuilt, there's no change; you'll continue to get the latest embedded Daily Prebuilt experience (though you might choose to regularly update daily-js
to take advantage of its latest API improvements*).
*Note: Daily commits to supporting previous daily-js
versions released up to 6 months ago, so you'll want to at least update to stay within that support window.
avoidEval
will become true
by default
Today you can opt in to making daily-js
behave in a CSP-friendly way by specifying dailyConfig: { avoidEval: true }
wherever you provide your call options. You can read more about this option and how to set up your CSP (Content Security Policy) in this guide.
Starting in an upcoming version of daily-js
, avoidEval
will switch to defaulting to true
. To prepare for this change, please make sure that your CSP's script-src
directive contains https://*.daily.co
(or explicitly opt out of the new behavior by setting avoidEval: false
).