Skip to content

Releases: opal/opal

v0.3.40

02 Sep 21:22
Compare
Choose a tag to compare
  • Add Opal::Server as an easy to configure rack server for testing and
    running Opal based apps.

  • Added optional arity check mode for parser. When turned on, every method
    will have code which checks the argument arity. Off by default.

  • Exception subclasses now relfect their name in webkit/firefox debuggers
    to show both their class name and message.

  • Add Class#const_set. Trying to access undefined constants by a literal
    constant will now also raise a NameError.

v0.3.39

02 Sep 21:21
Compare
Choose a tag to compare
  • Fix bug where methods defined on a parent class after subclass was defined
    would not given subclass access to method. Subclasses are now also tracked
    by superclass, by a private '_inherited' property.

  • Fix bug where classes defined by Class.new did not have a constant scope.

  • Move Date out of opal.rb loading, as it is part of stdlib not corelib.

  • Fix for defining methods inside metaclass, or singleton_class scopes.

v0.3.38

02 Sep 21:21
Compare
Choose a tag to compare
  • Add Native module used for wrapping objects to forward calls as native calls.

  • Support method_missing for all objects. Feature can be enabled/disabled on Opal::Processor.

  • Hash can now use any ruby object as a key.

  • Move to Sprockets based building via Opal::Processor.

v0.3.37

02 Sep 22:15
Compare
Choose a tag to compare
  • Extract the JavaScript runtime to opal/runtime.js
  • Add core template.rb for the basis of template libraries for Opal

v0.3.36

02 Sep 22:17
Compare
Choose a tag to compare
  • Use Ruby require directive inside Sprockets
  • Depreceate Opal.process in favour of Opal::Environment

v0.3.35

02 Sep 23:18
Compare
Choose a tag to compare
  • Internal cleanup

v0.3.34

02 Sep 23:21
Compare
Choose a tag to compare
  • Fix bug where camelcased lvars could parse as constants
  • Add Array#shuffle
  • Migrate to Sprockets-based building
  • Move ERB to separate gem

v0.3.33

02 Sep 23:23
Compare
Choose a tag to compare
  • Implement attr_reader/writer/accessor for dynamic uses
  • Hash internals update