All Versions
106
Latest Version
Avg Release Cycle
58 days
Latest Release
-

Changelog History
Page 1

  • v1.4.1 Changes

    2022-09-27

    • ๐Ÿ› Bug fixes
      • Event handlers with auto-linked argument paths that are only referenced from the handler will now ensure that they have a runloop to avoid throwing.
  • v1.4.0 Changes

    2022-02-25

    • ๐Ÿ› Bug fixes

      • Embedded typings are improved: added missing methods and properties and improved extend support.
      • yields in non-isolated components will avoid creating implicit mappings by properly skipping the component fragment to the container fragment when resolving references (#3351).
      • Components initialized from a template will now call the component constructor. There's a new component: boolean property on init options passed to the constructor that is set to true when the view is initilizing the component. This also avoids double init.
      • An event handler removed while firing will no longer throw.
      • Context find methods now support the options that the instance versions support.
      • Custom elements are now checked in a hopefully more cross-browser way.
      • Links will now propagate changes that happen in their source models up to their parent model.
      • Computations that have a dependency that causes the computation to invalidate while computing will no longer get stuck, as the change notification will be passed through even though the computation is currently computing. (#3380)
      • Elements with no attributes will no longer throw during render if they happen to be transitioned.
      • Custom events that are torn down before they have a chance to fully render will no longer throw.
      • Virtual get and set with deep try to do the right thing with Dates. (#3388)
      • Computeds that get computed during a link will no resolve the correct dependency.
      • Swapping an element with splice will now properly notify upstream paths.
    • Experimental new features

      • Computation setter functions now receive a context argument, and both getter and setter functions now receive a keypath argument.
      • Component styles can be split into multiple managed style tags in the document head by setting Ractive.perComponentStyleElements to true.
      • Methods that set a single value will now return the new value as the resolution of the returned promise e.g. r.toggle('foo') if foo is falsey will return a promise that resolves to true. add/subtract/set behave similarly.
      • Decorators and custom events can now access their local context, in the case of a yielded attribute partial, with this.getLocalContext().
      • Delegated events now proxy stopPropagation, stopImmediatePropagation, and preventDefault to behave a bit more like a non-delegated event would be expected act.
      • If you need to have precise control over whitespace handling in a template, particularly around additional lines that only have block tags, you can use a new parser flag preserveStandaloneSections in addition to a - trailing sigil in the mustache to consume all of the whitespace around the tag, effectively removing its line from the output. This is modelled on the on similar Liquid functionality. (#3338)
  • v1.3.14 Changes

    2020-12-12

    • ๐Ÿ› Bug fixes
      • 1.3.x should be the latest version #3357
  • v1.3.12

    May 08, 2020
  • v1.3.11

    February 29, 2020
  • v1.3.10

    February 06, 2020
  • v1.3.9

    February 06, 2020
  • v1.3.8 Changes

    September 16, 2019

    2019-09-16

    ๐Ÿ‘€ See also the changes from 1.2.5 / 1.3.8 below

    • ๐Ÿ› Bug fixes
      • Additional aliases in a yield with context will now resolve correctly (#3316)
  • v1.3.7

    July 25, 2019
  • v1.3.6 Changes

    2019-07-25

    • ๐Ÿ› Bug fixes
      • Improved macro typings.