Important Knack Update For Your App’s Custom Code

https://www.knack.com/whats-new

October 18th, 2021

Announcements

Important Knack Update For Your App’s Custom Code

We will be soon changing the way we store and load your application’s custom javascript/css in order to help reduce the size of application schemas. This change alone doesn’t improve page load times for everyone, but it does put us in a better position to leverage more technologies that will have a larger impact in the future.

Release Timeline

On 10/21/2021, we will release the update for the builder to support the new storage method. The live application, however, will continue to load custom code using the original storage method.

On 10/28/2021, we will release the update for the live application. It will now use the new storage method to load the custom code.

Are there any breaking changes?
Only if you are accessing your custom code outside of the builder or live app through undocumented means. Because the code is no longer in the schema, it will no longer be found in Knack.app.attributes.settings

If you still require access to your code outside of the builder or live app, you’ll be able to access it through the CDN once this goes live:

https://appcdn.cloud-database.co/<your_application_id>/custom/main.js

https://appcdn.cloud-database.co/<your_application_id>/custom/main.css

Do I need to make any changes to the custom code before this release?
No, you will not need to make changes to the custom code. It will continue to work as it was prior to this release.

Am I going to lose access to the code editor in the Builder?
No, the code editor will continue to be available. This update will only change how your custom code is stored.

If you have any questions, please don’t hesitate to reach out here or to support@knack.com.

@MichaelG - Thanks for sharing, had already seen this via email and app notifications :blush::+1:

Ah ok. I wasn’t informed those ways myself. I discovered the news checking out on knack web, that is why I published it for all.

1 Like

It was definitely in the app messaging section, it popped up when I logged in.
I also had an email too :blush:

1 Like

Hi @MichaelG - thank you for sharing here. This update was supposed to go out here in the forum under Announcements in addition to the other channels, and I have now posted it, so we can help field any questions that arise.

I’ll close this topic, and anybody who has follow up questions can please chime in at Important Update For Your App’s Custom Code.

Thanks again for keeping an eye out!

1 Like