Skip to content

v4.0.0

Choose a tag to compare

@bdfoster bdfoster released this 21 Nov 12:54
· 17 commits to master since this release

4.0.0 (2017-11-21)

Bug Fixes

  • Add tests for ensuring that closures include specified variables on hook callbacks (0389925)
  • Container: Fix Promise handling on #load(), change event namespace from 'open' to 'load' as spec (1f40417)

Features

  • Container: Container now extends AsyncEventEmitter; pass mapper names to callback on hooks first; add tests for regular and Promise-returning hooks (cb3a3c6)

BREAKING CHANGES

  • Container: All hooks specified on Container instantiation now include the Mapper instance's name before the Record instance.