diff --git a/lib/jasmine-core/jasmine.js b/lib/jasmine-core/jasmine.js index 4ea8cd73..1d0be920 100644 --- a/lib/jasmine-core/jasmine.js +++ b/lib/jasmine-core/jasmine.js @@ -6949,6 +6949,7 @@ getJasmineRequireObj().toHaveSpyInteractions = function(j$) { * {@link expect} the actual (a {@link SpyObj}) spies to have been called. * @function * @name matchers#toHaveSpyInteractions + * @since 4.1.0 * @example * expect(mySpyObj).toHaveSpyInteractions(); * expect(mySpyObj).not.toHaveSpyInteractions(); @@ -10287,5 +10288,5 @@ getJasmineRequireObj().UserContext = function(j$) { }; getJasmineRequireObj().version = function() { - return '4.0.1'; + return '4.1.0'; }; diff --git a/package.json b/package.json index e5ed1ff5..d9e64243 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "jasmine-core", "license": "MIT", - "version": "4.0.1", + "version": "4.1.0", "repository": { "type": "git", "url": "https://github.com/jasmine/jasmine.git" diff --git a/release_notes/4.1.0.md b/release_notes/4.1.0.md new file mode 100644 index 00000000..5a6ab45f --- /dev/null +++ b/release_notes/4.1.0.md @@ -0,0 +1,38 @@ +# Jasmine 4.1.0 Release Notes + +## New Features and Bug Fixes + +* toBeCloseTo treats Infinity and -Infinity as close to themselves + * Fixes [#1957](https://github.com/jasmine/jasmine/issues/1957) + +* Replaced uses of deprecated String.prototype.substr() + * Merges [#1962](https://github.com/jasmine/jasmine/pull/1962) from @CommanderRoot + +* Removed obsolete vendor-specific background-size CSS rules + * Fixes [#1961](https://github.com/jasmine/jasmine/issues/1961) + +* Added toHaveSpyInteractions matcher + * Merges [#1959](https://github.com/jasmine/jasmine/pull/1959) from @nitobuenida + * Fixes [#1568](https://github.com/jasmine/jasmine/issues/1568) + +* Pretty-print [new String("")] as "[ '' ]", not "[]" + +* Fixed cloning of Date objects in Spy#calls#saveArgumentsByValue + * Merges [#1955](https://github.com/jasmine/jasmine/pull/1955) from @coyoteecd + * Fixes [#1885](https://github.com/jasmine/jasmine/issues/1885) + +* Include the name of the suite in the empty suite error message + +* toEqual checks keys that are Symbols + * Merges [#1879](https://github.com/jasmine/jasmine/pull/1879) from @laeleoni + * Fixes [#1811](https://github.com/jasmine/jasmine/issues/1811) + +## Documentation Updates + +* Replaced redundant installation instructions in README with link to docs + +* Added links to usage instructions to README + +------ + +_Release Notes generated with _[Anchorman](http://github.com/infews/anchorman)_ diff --git a/src/core/matchers/toHaveSpyInteractions.js b/src/core/matchers/toHaveSpyInteractions.js index ca091ead..da8a4d0e 100755 --- a/src/core/matchers/toHaveSpyInteractions.js +++ b/src/core/matchers/toHaveSpyInteractions.js @@ -8,6 +8,7 @@ getJasmineRequireObj().toHaveSpyInteractions = function(j$) { * {@link expect} the actual (a {@link SpyObj}) spies to have been called. * @function * @name matchers#toHaveSpyInteractions + * @since 4.1.0 * @example * expect(mySpyObj).toHaveSpyInteractions(); * expect(mySpyObj).not.toHaveSpyInteractions();