azure-func-http
azure-func-http copied to clipboard
fix(deps): update jest monorepo to v29 (major)
This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
@types/jest (source) | 26.0.24 -> 29.1.2 |
||||
jest (source) | 27.5.1 -> 29.2.0 |
||||
ts-jest (source) | 27.0.4 -> 29.0.3 |
Release Notes
facebook/jest
v29.2.0
Features
-
[@jest/cli, jest-config]
A seed for the test run will be randomly generated, or set by a CLI option (#β13400) -
[@jest/cli, jest-config]
--show-seed
will display the seed value in the report, and can be set via a CLI flag or through the config file (#β13400) -
[jest-config]
AddreadInitialConfig
utility function (#β13356) -
[jest-core]
AllowtestResultsProcessor
to be async (#β13343) -
[@jest/environment, jest-environment-node, jest-environment-jsdom, jest-runtime]
AddgetSeed()
to thejest
object (#β13400) -
[expect, @​jest/expect-utils]
AllowisA
utility to take a type argument (#β13355) -
[expect]
ExposeAsyncExpectationResult
andSyncExpectationResult
types (#β13411)
Fixes
-
[babel-plugin-jest-hoist]
IgnoreTSTypeQuery
when checking for hoisted references (#β13367) -
[jest-core]
FixdetectOpenHandles
false positives for some special objects such asTLSWRAP
(#β13414) -
[jest-mock]
Fix mocking of getters and setters on classes (#β13398) -
[jest-reporters]
Revert: Transform file paths into hyperlinks (#β13399) -
[@jest/types]
Infer type ofeach
table correctly when the table is a tuple or array (#β13381) -
[@jest/types]
Rework typings to allow the*ReturnedWith
matchers to be called with no argument (#β13385)
Chore & Maintenance
-
[*]
Update@babel/*
deps, resulting in slightly different stack traces foreach
(#β13422)
Performance
-
[jest-runner]
Do not instrument v8 coverage data if coverage should not be collected (#β13282)
v29.1.2
Fixes
-
[expect, @​jest/expect]
Revert buggy inference of argument types for*CalledWith
and*ReturnedWith
matchers introduced in 29.1.0 (#β13339) -
[jest-worker]
Add missing dependency onjest-util
(#β13341)
v29.1.1
Fixes
-
[jest-mock]
Revert #β13145 which broke mocking of transpiled ES modules
v29.1.0
Features
-
[expect, @​jest/expect]
Support type inference for function parameters inCalledWith
assertions (#β13268) -
[expect, @​jest/expect]
Infer type of*ReturnedWith
matchers argument (#β13278) -
[@jest/environment, jest-runtime]
Allowjest.requireActual
andjest.requireMock
to take a type argument (#β13253) -
[@jest/environment]
Allowjest.mock
andjest.doMock
to take a type argument (#β13254) -
[@jest/fake-timers]
Addjest.now()
to return the current fake clock time (#β13244, #β13246) -
[@jest/mock]
AddwithImplementation
method for temporarily overriding a mock (#β13281) -
[expect]
ExporttoThrow*
matchers (#β13328)
Fixes
-
[jest-circus, jest-jasmine2]
Fix error messages for Node'sassert.throes
(#β13322) -
[jest-haste-map]
Remove__proto__
usage (#β13256) -
[jest-mock]
ImprovespyOn
typings to handle optional properties (#β13247) -
[jest-mock]
Fix mocking of getters and setters on classes (#β13145) -
[jest-snapshot]
Throw useful error when an array is passed as property matchers (#β13263) -
[jest-snapshot]
Prioritize parser used in the project (#β13323) -
[jest-transform]
Attempt to work around issues with atomic writes on Windows (#β11423)
v29.0.3
Features
-
[@jest/environment, jest-runtime]
Allow passing a generic type argument tojest.createMockFromModule<T>()
method (#β13202) -
[expect]
ExposeExpectationResult
type (#β13240) -
[jest-snapshot]
ExposeContext
type (#β13240) -
[@jest/globals]
Addjest.Mock
type helper (#β13235)
Fixes
-
[jest-core]
CaptureexecError
duringTestScheduler.scheduleTests
and dispatch to reporters (#β13203) -
[jest-resolve]
Make sure to resolve module paths after looking atexports
(#β13242) -
[jest-resolve]
Improve error on module not found deep in therequire
stack (#β8704) -
[jest-snapshot]
Fix typings of snapshot matchers (#β13240)
Chore & Maintenance
-
[*]
Fix inconsistent workspace prefixes (#β13217) -
[jest-haste-map]
Expose a minimal public API to TypeScript (#β13023)
v29.0.2
Features
-
[jest-transform]
ExposeTransformFactory
type (#β13184)
Fixes
-
[babel-plugin-jest-hoist]
Support importedjest
in mock factory (#β13188) -
[jest-mock]
Align the behavior and return type ofgenerateFromMetadata
method (#β13207) -
[jest-runtime]
Supportjest.resetModules()
with ESM (#β13211)
v29.0.1
Fixes
-
[jest-snapshot]
PasssnapshotFormat
through when diffing snapshots (#β13181)
v29.0.0
Features
-
[expect]
[BREAKING] Differentiate betweenMatcherContext
MatcherUtils
andMatcherState
types (#β13141) -
[jest-circus]
Add support fortest.failing.each
(#β13142) -
[jest-config]
[BREAKING] MakesnapshotFormat
default toescapeString: false
andprintBasicPrototype: false
(#β13036) -
[jest-config]
[BREAKING] Remove undocumentedcollectCoverageOnlyFrom
option (#β13156) -
[jest-environment-jsdom]
[BREAKING] Upgrade tojsdom@20
(#β13037, #β13058) -
[@jest/globals]
Addjest.Mocked
,jest.MockedClass
,jest.MockedFunction
andjest.MockedObject
utility types (#β12727) -
[jest-mock]
[BREAKING] RefactorMocked*
utility types.MaybeMockedDeep
andMaybeMocked
becameMocked
andMockedShallow
respectively; only deep mocked variants ofMockedClass
,MockedFunction
andMockedObject
are exported (#β13123, #β13124) -
[jest-mock]
[BREAKING] Change the defaultjest.mocked
helperβs behavior to deep mocked (#β13125) -
[jest-snapshot]
[BREAKING] Letbabel
find config when updating inline snapshots (#β13150) -
[@jest/test-result, @​jest/types]
[BREAKING] ReplaceBytes
andMilliseconds
types withnumber
(#β13155) -
[jest-worker]
AddsworkerIdleMemoryLimit
option which is used as a check for worker memory leaks >= Node 16.11.0 and recycles child workers as required (#β13056, #β13105, #β13106, #β13107) -
[pretty-format]
[BREAKING] RemoveConvertAnsi
plugin in favour ofjest-serializer-ansi-escapes
(#β13040) -
[pretty-format]
Allow to opt out from sorting object keys withcompareKeys: null
(#β12443)
Fixes
-
[jest-config]
Fix testing multiple projects with TypeScript config files (#β13099) -
[@jest/expect-utils]
Fix deep equality of ImmutableJS Record (#β13055) -
[jest-haste-map]
Increase the maximum possible file size that jest-haste-map can handle (#β13094) -
[jest-runtime]
Properly support CJS re-exports from dual packages (#β13170) -
[jest-snapshot]
MakeprettierPath
optional inSnapshotState
(#β13149) -
[jest-snapshot]
Fix parsing error from inline snapshot files withJSX
(#β12760) -
[jest-worker]
When a process runs out of memory worker exits correctly and doesn't spin indefinitely (#β13054)
Chore & Maintenance
-
[*]
[BREAKING] Drop support for Node v12 and v17 (#β13033) -
[docs]
Fix webpack name (#β13049) -
[docs]
Explicit how to setn
for--bail
(#β13128) -
[docs]
Update Enzyme URL (#β13166) -
[jest-leak-detector]
Remove support forweak-napi
(#β13035) -
[jest-snapshot]
[BREAKING] RequirerootDir
as argument toSnapshotState
(#β13150)
v28.1.3
Features
-
[jest-leak-detector]
Use nativeFinalizationRegistry
when it exists to get rid of external C dependency (#β12973)
Fixes
-
[jest-changed-files]
Fix a lock-up after repeated invocations (#β12757) -
[@jest/expect-utils]
Fix deep equality of ImmutableJS OrderedSets (#β12977) -
[jest-mock]
Add index signature support forspyOn
types (#β13013, #β13020) -
[jest-snapshot]
Fix indentation of awaited inline snapshots (#β12986)
Chore & Maintenance
-
[*]
Replace internal usage ofpretty-format/ConvertAnsi
withjest-serializer-ansi-escapes
(#β12935, #β13004) -
[docs]
Update spyOn docs (#β13000)
v28.1.2
Fixes
-
[jest-runtime]
Avoid star type import from@jest/globals
(#β12949)
Chore & Maintenance
-
[docs]
Mention that jest-codemods now supports Sinon (#β12898)
v28.1.1
Features
-
[jest]
ExposeConfig
type (#β12848) -
[@jest/reporters]
ImproveGitHubActionsReporter
s annotation format (#β12826) -
[@jest/types]
Infer argument types passed totest
anddescribe
callback functions fromeach
tables (#β12885, #β12905)
Fixes
-
[@jest/expect-utils]
Fix deep equality of ImmutableJS OrderedMaps (#β12763) -
[jest-docblock]
Handle multiline comments in parseWithComments (#β12845) -
[jest-mock]
ImprovespyOn
error messages (#β12901) -
[jest-runtime]
Correctly report V8 coverage withresetModules: true
(#β12912) -
[jest-worker]
MakeJestWorkerFarm
helper type to include methods of worker module that take more than one argument (#β12839)
Chore & Maintenance
-
[docs]
Updated docs to indicate thatjest-environment-jsdom
is a separate package #β12828 -
[docs]
Document the comments used by coverage providers #β12835 -
[docs]
Usedocusaurus-remark-plugin-tab-blocks
to format tabs with code examples (#β12859) -
[jest-haste-map]
Bumpwalker
version (#β12324)
v28.1.0
Features
-
[jest-circus]
Addfailing
test modifier that inverts the behavior of tests (#β12610) -
[jest-environment-node, jest-environment-jsdom]
Allow specifyingcustomExportConditions
(#β12774)
Fixes
-
[expect]
Adjust typings oflastCalledWith
,nthCalledWith
,toBeCalledWith
matchers to allow a case there a mock was called with no arguments (#β12807) -
[@jest/expect-utils]
Fix deep equality of ImmutableJS Lists (#β12763) -
[jest-core]
Do not collectSIGNREQUEST
as open handles (#β12789)
Chore & Maintenance
-
[docs]
Specified documentation about--filter
CLI docs (#β12799) -
[@jest-reporters]
Move helper functions fromutils.ts
into separate files (#β12782) -
[jest-resolve]
Replaceprocess.versions.pnp
type declaration with@types/pnpapi
devDependency (#β12783)
v28.0.3
Fixes
-
[jest-config]
Normalizereporters
option defined in presets (#β12769) -
[@jest/reporters]
Fix trailing slash in matchingcoverageThreshold
key (#β12714) -
[jest-resolve]
Fix (experimental) ESM module mocking for re-exports (#β12766) -
[@jest/transform]
Throw better error if an invalid return value if encountered (#β12764)
Chore & Maintenance
-
[docs]
Fix typo in--shard
CLI docs (#β12761)
v28.0.2
Features
-
[jest-worker]
AddJestWorkerFarm
helper type (#β12753)
Fixes
-
[*]
Lower Node 16 requirement to 16.10 from 16.13 due to a Node bug that causes memory and performance issues (#β12754)
v28.0.1
Features
-
[jest-resolve]
ExposeResolverOptions
type (#β12736)
Fixes
-
[expect]
Add missing dependencyjest-util
(#β12744) -
[jest-circus]
Improvetest.concurrent
(#β12748) -
[jest-resolve]
Correctly throw an error ifjsdom
test environment is used, but not installed (#β12749)
Chore & Maintenance
-
[jest-serializer]
Remove deprecated module from source tree (#β12735)
v28.0.0
Features
-
[babel-jest]
ExportcreateTransformer
function (#β12399) -
[expect]
ExposeAsymmetricMatchers
,MatcherFunction
andMatcherFunctionWithState
interfaces (#β12363, #β12376) -
[jest-circus]
Support error logging before retry (#β12201) -
[jest-circus, jest-jasmine2]
Allowed classes and functions asdescribe
andit
/test
names (#β12484) -
[jest-cli, jest-config]
[BREAKING] RemovetestURL
config, usetestEnvironmentOptions.url
instead (#β10797) -
[jest-cli, jest-core]
Add--shard
parameter for distributed parallel test execution (#β12546) -
[jest-cli]
[BREAKING] Remove undocumented--timers
option (#β12572) -
[jest-config]
[BREAKING] Stop shippingjest-environment-jsdom
by default (#β12354) -
[jest-config]
[BREAKING] Stop shippingjest-jasmine2
by default (#β12355) -
[jest-config, @​jest/types]
Addci
toGlobalConfig
(#β12378) -
[jest-config]
[BREAKING] RenamemoduleLoader
toruntime
(#β10817) -
[jest-config]
[BREAKING] RenameextraGlobals
tosandboxInjectedGlobals
(#β10817) -
[jest-config]
[BREAKING] Throw an error instead of showing a warning if multiple configs are used (#β12510) -
[jest-config]
[BREAKING] Do not normalize long deprecated configuration optionspreprocessorIgnorePatterns
,scriptPreprocessor
,setupTestFrameworkScriptFile
andtestPathDirs
(#β12701) -
[jest-cli, jest-core]
Add--ignoreProjects
CLI argument to ignore test suites by project name (#β12620) -
[jest-core]
Pass project config toglobalSetup
/globalTeardown
function as second argument (#β12440) -
[jest-core]
Stabilize test runners with event emitters (#β12641) -
[jest-core, jest-watcher]
[BREAKING] MoveTestWatcher
class tojest-watcher
package (#β12652) -
[jest-core]
Allow using Summary Reporter as stand-alone reporter (#β12687) -
[jest-environment-jsdom]
[BREAKING] Upgrade jsdom to 19.0.0 (#β12290) -
[jest-environment-jsdom]
[BREAKING] Add defaultbrowser
condition toexportConditions
forjsdom
environment (#β11924) -
[jest-environment-jsdom]
[BREAKING] Pass global config to Jest environment constructor forjsdom
environment (#β12461) -
[jest-environment-jsdom]
[BREAKING] Second argumentcontext
to constructor is mandatory (#β12469) -
[jest-environment-node]
[BREAKING] Add defaultnode
andnode-addon
conditions toexportConditions
fornode
environment (#β11924) -
[jest-environment-node]
[BREAKING] Pass global config to Jest environment constructor fornode
environment (#β12461) -
[jest-environment-node]
[BREAKING] Second argumentcontext
to constructor is mandatory (#β12469) -
[jest-environment-node]
Add all available globals to test globals, not just explicit ones (#β12642, #β12696) -
[@jest/expect]
New module which extendsexpect
withjest-snapshot
matchers (#β12404, #β12410, #β12418) -
[@jest/expect-utils]
New module exporting utils forexpect
(#β12323) -
[@jest/fake-timers]
[BREAKING] Renametimers
configuration option tofakeTimers
(#β12572) -
[@jest/fake-timers]
[BREAKING] Allowjest.useFakeTimers()
andprojectConfig.fakeTimers
to take an options bag (#β12572) -
[jest-haste-map]
[BREAKING]HasteMap.create
now returns a promise (#β12008) -
[jest-haste-map]
Add support fordependencyExtractor
written in ESM (#β12008) -
[jest-mock]
[BREAKING] Rename exported utility typesClassLike
,FunctionLike
,ConstructorLikeKeys
,MethodLikeKeys
,PropertyLikeKeys
; remove exports of utility typesArgumentsOf
,ArgsType
,ConstructorArgumentsOf
- TS builtin utility typesConstructorParameters
andParameters
should be used instead (#β12435, #β12489) -
[jest-mock]
ImproveisMockFunction
to infer types of passed function (#β12442) -
[jest-mock]
[BREAKING] Improve the usage ofjest.fn
generic type argument (#β12489) -
[jest-mock]
Add support for auto-mocking async generator functions (#β11080) -
[jest-mock]
Addcontexts
member to mock functions (#β12601) -
[@jest/reporters]
Add GitHub Actions reporter (#β11320, #β12658) -
[@jest/reporters]
PassreporterContext
to custom reporter constructors as third argument (#β12657) -
[jest-resolve]
[BREAKING] Add support forpackage.json
exports
(#β11961, #β12373) -
[jest-resolve]
Support package self-reference (#β12682) -
[jest-resolve, jest-runtime]
Add support fordata:
URI import and mock (#β12392) -
[jest-resolve, jest-runtime]
Add support for async resolver (#β11540) -
[jest-resolve]
[BREAKING] Removebrowser?: boolean
from resolver options,conditions: ['browser']
should be used instead (#β12707) -
[jest-resolve]
ExposeJestResolver
,AsyncResolver
,SyncResolver
,PackageFilter
,PathFilter
andPackageJSON
types (#β12707, (#β12712) -
[jest-runner]
AllowsetupFiles
module to export an async function (#β12042) -
[jest-runner]
Allow passingtestEnvironmentOptions
via docblocks (#β12470) -
[jest-runner]
ExposeCallbackTestRunner
,EmittingTestRunner
abstract classes andCallbackTestRunnerInterface
,EmittingTestRunnerInterface
to help typing third party runners (#β12646, #β12715) -
[jest-runner]
Lock version ofsource-map-support
to 0.5.13 (#β12720) -
[jest-runtime]
[BREAKING]Runtime.createHasteMap
now returns a promise (#β12008) -
[jest-runtime]
Callingjest.resetModules
function will clear FS and transform cache (#β12531) -
[jest-runtime]
[BREAKING] RemoveContext
type export, it must be imported from@jest/test-result
(#β12685) -
[jest-runtime]
Addimport.meta.jest
(#β12698) -
[@jest/schemas]
New module for JSON schemas for Jest's config (#β12384) -
[@jest/source-map]
Migrate fromsource-map
to@jridgewell/trace-mapping
(#β12692) -
[jest-transform]
[BREAKING] Make it required forprocess()
andprocessAsync()
methods to always return structured data (#β12638) -
[jest-test-result]
Add duration property to JSON test output (#β12518) -
[jest-watcher]
[BREAKING] MakePatternPrompt
class to takeentityName
as third constructor parameter instead ofthis._entityName
(#β12591) -
[jest-worker]
[BREAKING] Allow only absoluteworkerPath
(#β12343) -
[jest-worker]
[BREAKING] Default to advanced serialization when using child process workers (#β10983) -
[pretty-format]
NewmaxWidth
parameter (#β12402)
Fixes
-
[*]
Usesha256
instead ofmd5
as hashing algortihm for compatibility with FIPS systems (#β12722) -
[babel-jest]
[BREAKING] PassrootDir
asroot
in Babel's options (#β12689) -
[expect]
Move typings of.not
,.rejects
and.resolves
modifiers outside ofMatchers
interface (#β12346) -
[expect]
Throw useful error ifexpect.extend
is called with invalid matchers (#β12488) -
[expect]
FixiterableEquality
ignores other properties (#β8359) -
[expect]
Fix print for thecloseTo
matcher (#β12626) -
[jest-changed-files]
ImprovechangedFilesWithAncestor
pattern for Mercurial SCM (#β12322) -
[jest-circus, @​jest/types]
Disallow undefined value inTestContext
type (#β12507) -
[jest-config]
Correctly detect CI environment and update snapshots accordingly (#β12378) -
[jest-config]
PassmoduleTypes
tots-node
to enforce CJS when transpiling (#β12397) -
[jest-config]
[BREAKING] Addmjs
andcjs
to defaultmoduleFileExtensions
config (#β12578) -
[jest-config, jest-haste-map]
Allow searching for tests innode_modules
by exposingretainAllFiles
(#β11084) -
[jest-core]
[BREAKING] Exit with status1
if no tests are found with--findRelatedTests
flag (#β12487) -
[jest-core]
Do not report unref-ed subprocesses as open handles (#β12705) -
[jest-each]
%#
is not replaced with index of the test case (#β12517) -
[jest-each]
Fixes error message with incorrect count of missing arguments (#β12464) -
[jest-environment-jsdom]
Makejsdom
accessible to extending environments again (#β12232) -
[jest-environment-jsdom]
Log JSDOM errors more cleanly (#β12386) -
[jest-environment-node]
AddMessageChannel
,MessageEvent
to globals (#β12553) -
[jest-environment-node]
AddstructuredClone
to globals (#β12631) -
[@jest/expect-utils]
[BREAKING] Fix false positives when looking forundefined
prop (#β8923) -
[jest-haste-map]
Don't use partial results if file crawl errors (#β12420) -
[jest-haste-map]
Make watchman existence check lazy+async (#β12675) -
[jest-jasmine2, jest-types]
[BREAKING] Move alljasmine
specific types from@jest/types
to its own package (#β12125) -
[jest-jasmine2]
Do not setduration
to0
for skipped tests (#β12518) -
[jest-matcher-utils]
Pass maxWidth topretty-format
to avoid printing every element in arrays by default (#β12402) -
[jest-mock]
Fix function overloads forspyOn
to allow more correct type inference in complex object (#β12442) -
[jest-mock]
Handle overriddenFunction.name
property (#β12674) -
[@jest/reporters]
Notifications generated by the--notify
flag are no longer persistent in GNOME Shell. (#β11733) -
[@jest/reporters]
Move missing icon file which is needed forNotifyReporter
class. (#β12593) -
[@jest/reporters]
Updatev8-to-istanbul
(#β12697) -
[jest-resolver]
Call custom resolver with core node.js modules (#β12654) -
[jest-runner]
Correctly resolvesource-map-support
(#β12706) -
[jest-worker]
FixFarm
execution results memory leak (#β12497)
Chore & Maintenance
-
[*]
[BREAKING] Drop support for Node v10 and v15 and target first LTS16.13.0
(#β12220) -
[*]
[BREAKING] Drop support for[email protected]
, minimum version is now4.3
(#β11142, #β12648) -
[*]
Bundle all.d.ts
files into a singleindex.d.ts
per module (#β12345) -
[*]
UseglobalThis
instead ofglobal
(#β12447) -
[babel-jest]
[BREAKING] Only exportcreateTransformer
(#β12407) -
[docs]
Add note about not mixingdone()
with Promises (#β11077) -
[docs, examples]
Update React examples to match with the new React guidelines for code examples (#β12217) -
[docs]
Add clarity for module factory hoisting limitations (#β12453) -
[docs]
Add more information about how code transformers work (#β12407) -
[docs]
Add upgrading guide (#β12633) -
[expect]
[BREAKING] Remove support for importingbuild/utils
(#β12323) -
[expect]
[BREAKING] Migrate to ESM (#β12344) -
[expect]
[BREAKING] Snapshot matcher types are moved to@jest/expect
(#β12404) -
[jest-cli]
Updateyargs
to v17 (#β12357) -
[jest-config]
[BREAKING] RemovegetTestEnvironment
export (#β12353) -
[jest-config]
[BREAKING] Rename config optionname
toid
(#β11981) -
[jest-create-cache-key-function]
Added README.md file with basic usage instructions (#β12492) -
[@jest/core]
Useindex.ts
instead ofjest.ts
as main export (#β12329) -
[jest-environment-jsdom]
[BREAKING] Migrate to ESM (#β12340) -
[jest-environment-node]
[BREAKING] Migrate to ESM (#β12340) -
[jest-haste-map]
Remove legacyisRegExpSupported
(#β12676) -
[@jest/fake-timers]
Update@sinonjs/fake_timers
to v9 (#β12357) -
[jest-jasmine2, jest-runtime]
[BREAKING] UseSymbol
to passjest.setTimeout
value instead ofjasmine
specific logic (#β12124) -
[jest-phabricator]
[BREAKING] Migrate to ESM (#β12341) -
[jest-resolve]
[BREAKING] MakerequireResolveFunction
argument mandatory (#β12353) -
[jest-runner]
[BREAKING] Remove some type exports from@jest/test-result
(#β12353) -
[jest-runner]
[BREAKING] Second argument to constructor (Context
) is not optional (#β12640) -
[jest-serializer]
[BREAKING] Deprecate package in favour of usingv8
APIs directly (#β12391) -
[jest-snapshot]
[BREAKING] Migrate to ESM (#β12342) -
[jest-transform]
Updatewrite-file-atomic
to v4 (#β12357) -
[jest-types]
[BREAKING] RemoveConfig.Glob
andConfig.Path
(#β12406) -
[jest]
Useindex.ts
instead ofjest.ts
as main export (#β12329)
Performance
-
[jest-haste-map]
[BREAKING] Default tonode
crawler over shelling out tofind
ifwatchman
is not enabled (#β12320)
kulshekhar/ts-jest
v29.0.3
Bug Fixes
- merge config from
globals
with transformer config correctly (#β3842) (9c9fd60), closes #β3841 - presets: allow merging transform config when using presets (#β3833) (afc6a94)
Features
v29.0.2
Bug Fixes
- mark
ts-jest
as optional inConfigGlobals
(#β3816) (cbb88bb), closes #β3815 - use correct typings for
config:init
command (#β3825) (21b94db)
v29.0.1
Bug Fixes
Features
v29.0.0
Features
- drop Node 12 and Node 17 support (#β3787) (0f1de16)
- migrate globals config to transformer config (#β3780) (31e5843)
- support Jest 29 (#β3767) (94b553b)
DEPRECATIONS
- Define
ts-jest
config underglobals
is now deprecated. Please define the config via transformer config instead.
BREAKING CHANGES
- Only Node 14, 16 and 18 are supported
- Jest 29 is required.
v28.0.8
Bug Fixes
v28.0.7
Bug Fixes
v28.0.6
Bug Fixes
-
config: don't show diagnostics warning with
diagnostics: false
(#β3647) (9a9bc02), closes #β3638 -
legacy: add
useCaseSensitiveFileNames
wherever needed (#β3683) (c40bc34), closes #β3665 - set
@jest/types
as peer dependency (#β3633) (24567e1)
v28.0.5
Bug Fixes
v28.0.4
Bug Fixes
v28.0.3
Bug Fixes
v28.0.2
Bug Fixes
v28.0.1
Bug Fixes
v28.0.0
Bug Fixes
Features
- presets: add presets for legacy mode (#β3465) (543b4ad)
- mark
ConfigSet
as legacy (#β3456) (a986729) - mark
TsCompiler
andTsJestCompiler
as legacy (#β3457) (0f2fe30) - remove
path-mapping
AST transformer (#β3455) (f566869) - set Jest peer dependencies to v28 (#β3454) (1e880ff)
- core: drop support for Node.js 10 (#β3332) (7a9aa61)
-
core: remove
mocked
testing util (#β3333) (2d9017d) -
core: remove
ts-jest/utils
sub path export (#β3334) (9f253d3) - mark
TsJestTransformer
as legacy (#β3451) (b090179)
BREAKING CHANGES
-
path-mapping
AST transformer is no longer shipped ints-jest
v28. Please use an alternative one like https://github.com/LeDDGroup/typescript-transform-paths instead. - Any imports
ts-jest/dist/compiler/ts-compiler
should change tots-jest/dist/legacy/compiler/ts-compiler
- Any imports
ts-jest/dist/compiler/ts-jest-compiler
should change tots-jest/dist/legacy/compiler/ts-jest-compiler
- Any imports
ts-jest/dist/config/config-set
should change tots-jest/dist/legacy/config/config-set
- Minimum support
TypeScript
version is now 4.3 since Jest 28 requires it. - Jest 28 is required.
-
core: Any imports
ts-jest/utils
should be replaced withts-jest
. -
core: Starting from Jest 27.4,
mocked
has been integrated into Jest repo. - core: Support for Node.js v10 has been removed as Jest drops support for it.
27.1.5 (2022-05-17)
Bug Fixes
27.1.4 (2022-03-24)
Bug Fixes
- compiler: revert #β3194 (#β3362) (2b7dffe), closes #β3272
- remove
esbuild
from peer dependency (#β3360) (8c8c1ca), closes #β3346 - support Babel config file with
.cjs
extension (#β3361) (5e5ac4a), closes #β3335
27.1.3 (2022-01-14)
Bug Fixes
27.1.2 (2021-12-15)
Bug Fixes
27.1.1 (2021-12-07)
Bug Fixes
- bring back
afterProcess
hook (#β3132) (2b6b86e) - make
esbuild
as optional peer dependency (#β3129) (20258de)
v27.1.5
Bug Fixes
v27.1.4
Bug Fixes
Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about these updates again.
- [ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.