Candy Logger v2.1.0 Released With Improved Security and Serialization Fixes
Candy Logger, a lightweight JavaScript and TypeScript visual debugging library, has released version 2.1.0 focused on correctness, security, and production reliability. The update fixes critical serialization issues, including proper handling of circular objects, Error instances, Maps, Sets, BigInts, and DOM nodes that previously caused crashes or rendered as empty objects. Security improvements address XSS vulnerabilities in dynamically rendered values such as object keys, tag labels, and log levels, with all dynamic content now treated as data rather than executable HTML. The release also makes Candy Logger fully compatible with strict Content Security Policies by removing inline event handlers and global window variables. Additionally, a cleaner core API has been introduced, allowing the library to be used independently of its visual UI panel.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in