Opal v0.3.43 Release Notes

Release Date: 2013-05-02 // almost 11 years ago
    • ๐Ÿ“œ Stop inlining respond_to? inside the parser. This now fully respects an object overriding respond_to?.

    • ๐Ÿ”ฆ Expose Opal.eval() function when parser is loaded for parsing and running strings of ruby code.

    • โž• Add erb to corelib (as well as compiler to gem lib). ERB files with .opalerb extension will automatically be compiled into Template constant.

    • โž• Added some examples into examples/ dir.

    • โž• Add Opal.send() javascript function for sending methods to ruby objects.

    • Native class for wrapping and interacting with native objects and function calls.

    • โž• Add local_storage to stdlib as a basic wrapper around localStorage.

    • ๐Ÿ‘‰ Make method_missing more performant by reusing same dispatch function instead of reallocating one for each run.

    • ๐Ÿ›  Fix Kernel#format to work in firefox. String.prototype.replace() had different semantics for empty matching groups which was breaking Kernel#format.