Releases: metal/metal.js
Releases · metal/metal.js
v1.0.0-alpha.3
- Stops using deltemplates on SoyComponent
- Improves handling of Element instances returned by getSurfaceContent and getElementContent
- Allows getSurfaceContent to optionally return the container element as well
- Fixes code that merged ELEMENT_CLASSES static variables to avoid duplicate classes
- Allows getElementContent to optionally return the container element as well
v1.0.0-alpha.2
- Adds attributes automatically for surface render attrs
- Refactors check for surface templates into its own function
- Allows attaching multiple inline listeners for the same element and event type
v1.0.0-alpha.1
- Changes SoyComponent to stop creating surfaces for private templates
- Removes SoyComponent.TEMPLATES property
- Allows having surfaces with templates from other components
- Fixes error when Component tries to dispose a sub component that had already been disposed
- Fixes license name on package.json
- Changes test to not care about order of surfaces array
- Adds static function to SoyComponent for setting the injected data to be passed to soy templates
- Runs source formatting task and updates files
- Attaches inline listeners that are found on surface and component elements
- Fixes bug where Component was trying to mixin undefined values
- Fixes params passed to template on createComponentFromTemplate
- Changes SoyComponent.renderFromTemplate to pass the given data directly to given template instead of its attrs
- Adds test case for custom event proxying with EventEmitterProxy
- Makes EventEmitterProxy listen to dom events through dom.on instead of through addEventListener
- Disposes sub components after the parent component is disposed
- Adds test for when getObjectByName can't find the requested object
- Adds object helper to returns an object based on its fully qualified external name
- Removes once listener before firing callback and returns callback's value
- Fires native animation event on tests
- Adds browser support matrix back
- Adds dom custom events to transitionend and animationend
- Moves dom custom events to separate optional file
- Retrieve the current browser event name for animation and transition
- Adds dom.once
- Adds functions for rendering and decorating a given soy template function without having to create a Component class
- Fixes bug with calling EventCollector's detachUnusedListeners method twice
- Removes unused isparta dependency on karma.conf.js
- Splits karma coverage config into a separate file
- Fixes decorate SoyComponent lifecycle when passing 'data="all"' to sub components
- Fixes problem with passing 'data="all"' to sub component soy deltemplates
- Adds bower install script to .travis.yml
- Adds comment explaining that the set/get Attribute functions should only be used when necessary
- Updates closure-templates dependency and adds bower soyutils dependency
- Makes all Attribute events have a facade
- Changes EventEmitter facade object to be the last listener argument
- Adds get/set functions to Attribute
- Redefines build:all:js task to skip jquery builds
- Updates npm dependencies
- Removes unnecessary redefined "build" gulp task
- Fixes usage example on README.md
- Adds "events" attribute to Component for attaching listeners
- Adds warning when inline listener function is not found, instead of just fataling
- Adds all components to ComponentCollector after they're created
- Moves docs to wiki
v1.0.0-alpha
1.0.0-alpha
v0.3.1
v0.3.0
v0.2.1
v0.2.0
- Moves to "metal" github org / Renames npm pkg to "metal"
- Split build:globals:js task into a lazy pipeline that can be used by other tasks
- Adds "visible" attribute to Component
- Fixes soy task outdated tests
- Adds check to make sure that users don't need to import modules for tasks they won't use
v0.1.7
- Removes "created" lifecycle function, since constructor can be used for this now
- Adds special event to EventEmitter that fired when any other event is fired
- Fixes JavaScript to break when soyutils is not loaded
- Makes renameAlias always be a synchronous function
- Changes alias handler to look for "bower:" prefix before assuming it's a bower path
- Adds format task
- Add entry on README to explain about bower aliases
- Changes karma tests to use commonjs instead of browserify
- Changes build:globals task to do a single parsing of files by using gulp-babel-globals
- Add toogleClasses method
- Makes sure that sub components are decorated instead of rendered when parent is decorated.
- Removes unused data-component from generated soy templates
- Adds a static function to SoyComponent for sanitizing html for soy templates
- Adds surface id generation to Component
- Add/remove class methods should not accept invalid values
- Adds support to build multiple locales
- Fix Travis connection to SauceLabs
- Spaces must be used on yml files
- Change add/remove classes methods to accept string
- Adds a way to attach inline listeners on other components by their ids
- Updates README with new performance values
- Converts SoyComponent to handle nested components based on Component surfaces