Skip to content
This repository was archived by the owner on Dec 27, 2024. It is now read-only.

0.16.0

Choose a tag to compare

@etsuo etsuo released this 19 May 21:18
· 54 commits to develop since this release
c06eb67

See Milestone 0.16.0

What's new

  • #136 Generated documentation has been moved out of the project. You can still run npm run docs:serve to build the latest docs locally. You can get API docs for the master and develop branches here: https://github.com/sakuraapi/docs-core
  • #152 calling close on your instance of SakuraApi will now also close your db connections for you
  • #172 Dependencies are now deregistered when you call SakuraApi's close method. You no longer have to call sapi.deregisterDependencies when unit testing. By default, SakuraApi will also no longer throw an error if you do not deregister a dependency between registrations in SakuraApi instances. This is a scenario that normally occurs during testing. To turn this behavior back on, use the throwDependencyAlreadyInjectedError option when instantiating your instance of SakuraApi. (This should also resolve #158).
  • #198 .idea has been included to make it easier for other contributors to match styling and setup.

Breaking Changes

  • #136 npm script doc:serve renamed to docs:serve
  • #152 calling close on your instance of SakuraApi will now also close your db connections for you
  • #172 dependency registration behavior between multiple instances of SakuraApi (usually during testing) has changed