Skip to content

v0.14.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@francoisfrisch francoisfrisch released this 26 Feb 01:23
· 2209 commits to master since this release
  • Montage

Better JSDoc annotations.
super() methods are now cached for better performance.
addRangeAtPathChangeListener() is more tolerant changes along the path.
Existing document resources are now taken into account when loading the page for the first time. (#1397)

  • Path Listeners

*PathChangeListener functions an now accept parameters, document and components.

  • url

montage/core/url has been removed, use the url npm package instead https://www.npmjs.org/package/url.

  • Target

dispatchEvent() now return a boolean to signify whether or not the defaults were prevented.

  • Component

Some cleanup to the component's draw list handling and implementation of an object pool to help with GC.

  • Template

Better handling of css loading.
Better handling of errors in deserialization.

  • Blueprint

Added event blueprints.

  • KeyComposer

Fixed issue that caused the KeyComposer to not work unless "keyPress" events were listened to in two places.
KeyComposer fires the key event on the itself rather than the activeTarget directly.

  • RangeController

Can now track selection with an Array, Set or SortedSet.
Better selection management.

  • TreeController
    Added findNodeByContent() to be able to locate content in the tree.
  • Repetition

Added aliases and template properties so that binding to @repetition:iteration.object is possible. Using aliases
this can be exposed by the owner template.
Some never used properties were removed for performance improvements.
Fixed a bug in selection where a selected object could not be part of the content array.

  • Overlay

Added ModalOverlay to force user response
Added AbstractAlert and AbstractConfirm.
Better handling of activeTarget, will not show if the activeTarget is not surrendered.
Dismisses with escape key.
Overlay can now have a delegate that affects it's position and behavior.

  • AbstractButton

Now only has a label property, value is gone.

  • AbstractImage

Now handles cross origin via the crossOrigin property.
Now doesn't modify the src property when rebasing.
Properly handles the case where the image is in browser cache.

  • AbstractSlider

Can now move continuously rather than the 1% minimum step.
Fixed bug for initial knob position.
Uses a simplified dom structure.

  • AbstractTextField

Fixed bug with setting the value to 0.
Now uses the activeTarget system rather than manually managing the focus/blur.

  • Flow

Added a hasElasticScrolling property to flow.reel which allows the space between individual tiles to stretch as
they are dragged.