Skip to content

Latest commit

 

History

History
233 lines (119 loc) · 7.26 KB

CHANGELOG.md

File metadata and controls

233 lines (119 loc) · 7.26 KB

1.4.4 (2020-01-01)

Features

  • genericDefault: add support for default generics on declaration and extensions (#126) (a9df32a)
  • importequal: add support for export equals and remove webpack env types that were conflicting with types node (#124) (990ecf1)
  • intersectionsfunction: add support for function intersections and parenthesised type in intersections (#127) (5572631)
  • registerMock: add registerMock functionality to register custom mocks per project (#125) (0feb05a)

1.4.3 (2019-12-27)

1.4.2 (2019-12-22)

Features

  • constructorType: Add constructor type descriptor (#115) (8f26218)
  • constructSignature: add construct signature (#116) (b0aa18a)
  • import: add import equals support and make sure transformer test run in a context so the cache system will work (f23039d)
  • indexedAccess: add indexed access support for mocks (#119) (a3e9841)

1.4.1 (2019-11-30)

Bug Fixes

  • enum: add module declaration enum support (4642520)

1.4.0 (2019-11-26)

Features

  • config: add option to disable cache between files as a workaround until #101 is completed (92cd1d7)

1.3.1 (2019-11-21)

1.3.0 (2019-11-21)

Bug Fixes

  • this: make sure literal type will not interfere with "this" reference (fd2270b), closes #88 #88

feature

  • genericReuse: add types with generic to mock factory (ddd94b0)

BREAKING CHANGES

  • genericReuse: extensions (Provider) provideMethod will be deprecated in future releases in favour of provideMethodWithDeferredValue

Provider.provideMethod is deprecated changed: Before:

Provider.instance.provideMethod((name: string, value: any) => {
    ...
});

After:

Provider.instance.provideMethodWithDeferredValue((name: string, value: () => any) => {
    ...
});

Read the documentation for more information

1.2.1 (2019-10-29)

Features

  • interfaceCallSignature: add support for interface call signature (#82) (a00ff55)

1.2.0 (2019-08-18)

Features

  • defaultValues: merge default values (#78) (e5a7424)

1.1.4 (2019-07-06)

Bug Fixes

  • core: use path.relative to check if two urls are the same (#69) (e79b29c)

Features

  • log: add test script that will output logs (d577cf8)

1.1.3 (2019-06-29)

Features

  • log: logging feature, remove npm i logs for ci (0cdfa27)

1.1.2 (2019-05-18)

1.1.1 (2019-04-27)

1.1.0 (2019-04-27)

Bug Fixes

  • modules: make sure transformer is exported in the right folder (832afc1)

1.0.0 (2019-04-27)

Code Refactoring

  • module division: modules divisions (54575a7)

Features

  • createMockList: add createMockList functionality, add typings to framework test (#34) (3030ba5)

BREAKING CHANGES

  • module division: extensions (On, method) are in a separate modules, mockFactory changed interface, name (Provider) and module

Importing On, method changed:

Before:

import { On, method } from "ts-auto-mock";

After:

import { On, method } from "ts-auto-mock/extension";

MockFactory changed name, module and interface:

Before:

import { MockFactory } from "ts-auto-mock";

MockFactory.instance.registerFactory((name: string, value: any) => {
    ...
});

After:

import { Provider } from "ts-auto-mock/extension";

Provider.instance.provideMethod((name: string, value: any) => {
    ...
});

0.0.27 (2019-04-07)

Bug Fixes

  • tslinttest: fix another unit test (5b84a55)

0.0.26 (2019-04-07)

0.0.25 (2019-04-07)

Features

  • changelog: add changelog (bd3a43d)
  • ci: add minimum ci to run test on branches (34d4ac7)