This afternoon we’ll be updating the SmartThings Cloud Platform to enhance database permissions protocols and system reliability. This update includes additional code that is available to SmartApps. During our testing, we have found that recent versions of CoRE no longer continued to function when this update was applied because the additional code caused the CoRE SmartApp to exceed a size threshold in Groovy, which in turn generated the error: General error during class generation: Class file too large!
Although it is not officially supported, we know CoRE is a fan favorite. Over the past week, we worked with the CoRE development team to ensure that this update will not break existing CoRE installations. To accomplish this - we took the following steps:
- Pre-released platform changes that included a small subset of code from the CoRE SmartApp.
- Coordinated with the CoRE team to remove extra code and leverage platform utility instead. These changes are captured in the following Pull Request: https://github.com/ady624/CoRE/pull/63
These steps have reduced the code size of CoRE to allow us to push the platform update. To prevent this from happening again the following steps are being taken:
- SmartThings will implement reasonable size limits to SmartApps; this will enable our engineering team to continue to make enhancements to base SmartApp functionality. Details around these limits will be published at a later date.
Will I need to update my CoRE install or how do I know if I’m affected?
No, we’ll be sending out to emails to everyone that would be affected (only 15% of core users are affected) and are going to update their CoRE SmartApp for them to make sure they won’t run into any issues when the next platform deploy goes out.
Other Platform Updates (to name a few)
- Fix blank images coming back from various Marketplace links.
- Improved performance when loading products via Marketplace to avoid excessive spinner from the mobile app.
- Make the mobile app more resilient during traffic spikes.
Special thanks to @ady624 for working with us on this!!