Hey Freshworks Developers,
We are excited to announce a few minor updates to enhance your development experience. Here are the details:
Key-Value Storage Enhancement:
-
Key Length Increase: The length of keys in our data store has been increased from 30 characters to 60 characters.
-
Combined Size Increase: The combined size of the key and value has been increased from 8 KB to 40 KB.
Usage Example:
client.db.set(key, value, options);
Important:
-
The key should not be blank and its length should not exceed 60 characters.
-
The combined size of the key and value should not exceed 40 KB.
-
The value should be of type JSON and not blank or empty “{}”.
-
Values in the JSON Object will be converted to null, empty strings, NaN, “+/- Infinity”.
FDK Pack Command:
Skip Code Coverage Option: We’ve added an option to skip code coverage when packing your app. This can be particularly useful during testing phases.
Usage Example:
fdk pack --skip-coverage
Important:
- Ensure that the code coverage of your app is at least 80%. While this option can be used for testing, avoid using it for submission to the Freshworks Marketplace. Apps with less than 80% code coverage will be rejected if submitted.
.report.json File Check:
Verification: Checks have been added to ensure the report.json file generated after running an app is not modified or deleted during the app packing process. If it is, an error message will be displayed when running the fdk pack command.
We hope these updates enhance your development experience with Freshworks. For more details, refer to the Freshworks Developer Documentation. Changes are live. As always, we appreciate your feedback and support.
Cheers!