-
- Update
package.json
to use"repository"
to avoid npm warnings.
- Update
- Added
bower.json
- Added a proper
npmignore
to install only what's needed. - Updated after advice docs with info about return values
meld()
is now a function that adds aspects.- DEPRECATED:
meld.add()
. Usemeld()
instead.
- DEPRECATED:
- Remove stray
console.log
.
- Fix for IE8-specific issue with meld's internal use of
Object.defineProperty
. - Internally shim Object.create if not available to so that meld no longer requires an Object.create shim to advise constructors in pre-ES5 environments.
meld.joinpoint()
- Access the current joinpoint from any advice type.- Bundled aspects:
- trace: trace method call entry/return/throw
- memoize: simple memoization for methods and functions
- cache: configurable caching aspect to do more than simple memoization
- Advice can be applied directly to methods on a function.
- Removed undocumented behavior that implicitly adds constructor prototype advice: to advise a prototype, pass the prototype as the advice target.
- Removed browser global -
window.meld
is no longer supported. See this post on the cujo.js Google Group for an explanation. - No functional change beyond browser global removal.
- 1.0.0 Release Candidate 1
- Documentation! Check out the new reference and api docs.
- Deprecated browser global - meld.js will drop support for browser global for 1.0.0 and will support modular environments only.
- Fix for context when advising constructors:
this
is now the constructed instance in all advice functions.
- Fix for global name when using meld as a browser global. Thanks @scothis
- Update unit tests to run in browser using
buster server
, in addition to node. Thanks again, @scothis :)
- Advice can be applied directly to functions without a context.
- Advice can be applied to constructors.
joinpoint.proceed()
can be called multiple times. This makes it possible to implement "retry" types of advice.
- aop.js is now meld.js
- Use Travis CI
- Optimizations to run time advice invocation, especially around advice
- Fix for passing new args to
joinpoint.proceed()
in around advice - Added
joinpoint.proceedApply(array)
for proceeding and supplying new arguments as an array - Ported unit tests to BusterJS
- First official release as part of cujojs
- Minor doc and package.json tweaks
- Revert to larger, more builder-friendly module boilerplate. No functional change.
- Minor corrections and updates to
package.json
- Rewritten Advisor that allows entire aspects to be unwoven (removed) easily.