Sourced from axios-mock-adapter's releases.
v2.0.0
Breaking Changes 💥
Drop node versions lower than v18 (ctimmerm/axios-mock-adapter#390)
Change the parameters of the methods to align it to the one of axios. (ctimmerm/axios-mock-adapter#387) The last parameter must be a config object with
{params, headers}
instead of just the headers. If you've always only used two parameters, you won't have to change anything.Methods with data param:
mock.onPost(url, data, headers)
>mock.onPost(url, data, {params, headers})
mock.onPut(url, data, headers)
>mock.onPost(url, data, {params, headers})
mock.onPatch(url, data, headers)
>mock.onPatch(url, data, {params, headers})
mock.onAny(url, data, headers)
>mock.onAny(url, {data, params, headers})
Methods without data param:
mock.onGet(url, {params}, headers)
>mock.onGet(url, {params, headers})
mock.onDelete(url, {params}, headers)
>mock.onDelete(url, {params, headers})
mock.onHead(url, {params}, headers)
>mock.onHead(url, {params, headers})
mock.onOptions(url, {params}, headers)
>mock.onOptions(url, {params, headers})
An error is reported if one accidentally passes the headers directly instead of `{headers: {}}.
e.g.
Error: Invalid config property Header-test provided to onPatch. Config: {"Header-test":"test-header"}
113656e
2.0.0306e40f
Subtract -1 on the delay tests as the setTimeout resolution behaves
weird and...ab4bb17
Change Date.now() to performance.now()999ef1c
Try to fix flaky delay testse68e418
Strip out undefined headers during axios header normalization to not
cause as...99cf5e9
Improve 'Could not find mock for' message by providing headers and
params con...f45c074
Revert types of onLink, onUnlink and onList617b0c7
Add assertions to detect wrong config options of the breaking
changed491b04
Support axios-like config object with params, headers and data
attributes5635cc6
Support params comparisons for post and put requestsSourced from @typescript-eslint/eslint-plugin
's
releases.
v8.8.0
8.8.0 (2024-09-30)
🚀 Features
- eslint-plugin: [no-unnecessary-condition] add checkTypePredicates (#10009)
- eslint-plugin: [return-await] check for-await loop iteree (#10008)
🩹 Fixes
- remove
export type *
in d.ts to support TS<5.0 (#10070)- eslint-plugin: [no-unnecessary-template-expression] should underline template syntax with squiggly lines (#10044)
- eslint-plugin: [no-deprecated] max callstack exceeded when class implements itself (#10040)
- eslint-plugin: [no-misused-promises] check contextual type (#10042)
- eslint-plugin: [prefer-literal-enum-member] allow nested bitwise operations (#10037)
- type-utils: check for type parameters on
isBuiltinSymbolLikeRecurser()
(#10026)- utils: update missing type information message (#10043)
❤️ Thank You
- auvred
@auvred
- Josh Goldberg ✨
- Kirk Waiblinger
@kirkwaiblinger
- Ronen Amiel
- Tarun Chauhan
@tarunrajput
- YeonJuan
@yeonjuan
You can read about our versioning strategy and releases on our website.
Sourced from @typescript-eslint/eslint-plugin
's
changelog.
8.8.0 (2024-09-30)
🚀 Features
eslint-plugin: [no-unnecessary-condition] add checkTypePredicates
eslint-plugin: [return-await] check for-await loop iteree
🩹 Fixes
remove
export type *
in d.ts to support TS<5.0eslint-plugin: [no-unnecessary-template-expression] should underline template syntax with squiggly lines
type-utils: check for type parameters on
isBuiltinSymbolLikeRecurser()
eslint-plugin: [no-deprecated] max callstack exceeded when class implements itself
eslint-plugin: [no-misused-promises] check contextual type
eslint-plugin: [prefer-literal-enum-member] allow nested bitwise operations
❤️ Thank You
- auvred
- Josh Goldberg ✨
- Kirk Waiblinger
- Ronen Amiel
- Tarun Chauhan
- YeonJuan
You can read about our versioning strategy and releases on our website.
2055cfb
chore(release): publish 8.8.0b121bd9
feat(eslint-plugin): [return-await] check for-await loop iteree (#10008)9028d9d
docs: [no-unsafe-enum-comparison] clarify motivation and applicability
(#10029)977e0a1
fix(eslint-plugin): [prefer-literal-enum-member] allow nested bitwise
operati...6ce66b5
fix: remove export type *
in d.ts to support TS<5.0 (#10070)a916ff2
feat(eslint-plugin): [no-unnecessary-condition] add checkTypePredicates
(#10009)b36d524
fix(eslint-plugin): [no-misused-promises] check contextual type (#10042)7a216fe
fix(eslint-plugin): [no-deprecated] max callstack exceeded when class
impleme...94c5484
fix(type-utils): check for type parameters on
isBuiltinSymbolLikeRecurser()
...ced951b
docs: [prefer-literal-enum-member] fix bad examples (#10035)Sourced from @typescript-eslint/parser
's
releases.
v8.8.0
8.8.0 (2024-09-30)
🚀 Features
- eslint-plugin: [no-unnecessary-condition] add checkTypePredicates (#10009)
- eslint-plugin: [return-await] check for-await loop iteree (#10008)
🩹 Fixes
- remove
export type *
in d.ts to support TS<5.0 (#10070)- eslint-plugin: [no-unnecessary-template-expression] should underline template syntax with squiggly lines (#10044)
- eslint-plugin: [no-deprecated] max callstack exceeded when class implements itself (#10040)
- eslint-plugin: [no-misused-promises] check contextual type (#10042)
- eslint-plugin: [prefer-literal-enum-member] allow nested bitwise operations (#10037)
- type-utils: check for type parameters on
isBuiltinSymbolLikeRecurser()
(#10026)- utils: update missing type information message (#10043)
❤️ Thank You
- auvred
@auvred
- Josh Goldberg ✨
- Kirk Waiblinger
@kirkwaiblinger
- Ronen Amiel
- Tarun Chauhan
@tarunrajput
- YeonJuan
@yeonjuan
You can read about our versioning strategy and releases on our website.
Sourced from @typescript-eslint/parser
's
changelog.
8.8.0 (2024-09-30)
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
2055cfb
chore(release): publish 8.8.0