Skip to content

v2.0.0

Compare
Choose a tag to compare
@lehh lehh released this 31 Oct 18:41
· 36 commits to main since this release

Breaking changes

  • forRoot, forRootAsync, register and registerAsync doesn't receive an array of items anymore.
  • registerAsync is now used to register async providers like: useFactory, useExisting or useClass.
  • Property name was renamed to clientName in SoapModuleOptions and SoapModuleAsyncOptions interfaces;
  • Defined SoapModuleOptionsFactoryType for createSoapModuleOptions and useFactory functions return types.

Internal changes

  • Made some big refactoring on how providers are built;
  • General refactoring for better code reading;
  • Created SoapService class for client creation;
  • Removed soap.utils;
  • Added more unit tests;
  • Added error when there's no async option provided;
  • Updated dependencies;
  • Updated docs to v2 + npm badges.

Included a lot of changes from @rjpkuyper PR #8 . Thanks!