From 00586e50e018909157c1943b5eff1056f71ae22a Mon Sep 17 00:00:00 2001 From: Steve Gravrock Date: Thu, 1 Jul 2021 17:06:14 -0700 Subject: [PATCH] Bump version to 3.8.0 --- RELEASE.md | 3 +- lib/jasmine-core/jasmine.js | 2 +- lib/jasmine-core/version.rb | 2 +- package.json | 2 +- release_notes/3.8.0.md | 132 ++++++++++++++++++++++++++++++++++++ 5 files changed, 137 insertions(+), 4 deletions(-) create mode 100644 release_notes/3.8.0.md diff --git a/RELEASE.md b/RELEASE.md index bb527c62..7e3d959b 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -28,7 +28,7 @@ When jasmine-core revs its major or minor version, the binding libraries should When ready to release - specs are all green and the stories are done: -1. Update the release notes in `release_notes` - use the Anchorman gem to generate the markdown file and edit accordingly +1. Update the release notes in `release_notes` - use the Anchorman gem to generate the markdown file and edit accordingly. Include a list of supported environments. 1. Update the version in `package.json` 1. Run `npm run build`. 1. Copy version to the Ruby gem with `grunt build:copyVersionToGem` @@ -80,6 +80,7 @@ Probably only need to do this when releasing a minor version, and not a patch ve 1. In `package.json`, update both the package version and the jasmine-core dependency version 1. Commit and push. 1. Wait for Circle CI to go green again. +1. Run the tests on Windows locally. 1. `grunt release `. (Note: This will publish the package by running `npm publish`.) #### Gem diff --git a/lib/jasmine-core/jasmine.js b/lib/jasmine-core/jasmine.js index 1ad0935a..40207e6a 100644 --- a/lib/jasmine-core/jasmine.js +++ b/lib/jasmine-core/jasmine.js @@ -9757,5 +9757,5 @@ getJasmineRequireObj().UserContext = function(j$) { }; getJasmineRequireObj().version = function() { - return '3.7.1'; + return '3.8.0'; }; diff --git a/lib/jasmine-core/version.rb b/lib/jasmine-core/version.rb index 9f6452ff..f879e1d5 100644 --- a/lib/jasmine-core/version.rb +++ b/lib/jasmine-core/version.rb @@ -4,6 +4,6 @@ # module Jasmine module Core - VERSION = "3.7.1" + VERSION = "3.8.0" end end diff --git a/package.json b/package.json index 51b323f6..354d5c6f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "jasmine-core", "license": "MIT", - "version": "3.7.1", + "version": "3.8.0", "repository": { "type": "git", "url": "https://github.com/jasmine/jasmine.git" diff --git a/release_notes/3.8.0.md b/release_notes/3.8.0.md new file mode 100644 index 00000000..b40a13ab --- /dev/null +++ b/release_notes/3.8.0.md @@ -0,0 +1,132 @@ +# Jasmine Core 3.8 Release Notes + +## Summary + +This is a maintenance release of Jasmine with a number of new features and fixes. + +## Python deprecation + +The Jasmine packages for Python are deprecated. We intend to continue releasing +them through the end of the 3.x series, but after that they will be +discontinued. We recommend migrating to the following alternatives: + +* The [jasmine-browser-runner](https://github.com/jasmine/jasmine-browser) + npm package to run specs in browsers, including headless Chrome and + Saucelabs. This is the most direct replacement for the `jasmine server` + and `jasmine ci` commands provided by the `jasmine` Python package. +* The [jasmine](https://github.com/jasmine/jasmine-npm) npm package ( + `npm install jasmine`) to run specs under Node.js. +* The standalone distribution from the + [latest Jasmine release](https://github.com/jasmine/jasmine/releases) to + run specs in browsers with no additional tools. +* The [jasmine-core](https://github.com/jasmine/jasmine) npm package if all + you need is the Jasmine assets. This is the direct equivalent of the + jasmine-core Python package. + + +## New features and bug fixes + +* Fixed spec filtering in Karma + * Merges [#1920](https://github.com/jasmine/jasmine/pull/1920) from @jlpstolwijk + * Fixes [#1906](https://github.com/jasmine/jasmine/issues/1906) + +* Added expectAsync(...).already + * Causes async matchers to immediately fail if the promise is pending + * See https://jasmine.github.io/api/3.8/async-matchers.html#already + * Fixes [#1845](https://github.com/jasmine/jasmine/issues/1845) + +* Include rejection details in failure messages for toBeResolved and toBeResolvedWith + +* Fixed "stop spec on expectation failure" checkbox in standalone + +* Added option for spyOnAllFunctions to include non-enumerable props + * Makes spyOnAllFunctions work on instance methods of ES6 classes + * Merges [#1909](https://github.com/jasmine/jasmine/pull/1909) from @Dari-k + * Fixes [#1897](https://github.com/jasmine/jasmine/issues/1897) + +* Added Spy#calls#thisFor + * Provides the `this` value for a given spy call + * Merges [#1903](https://github.com/jasmine/jasmine/pull/1903) from @ajvincent + +* Improved handling of unhandled promise rejections with no error in Node + * Fixes [#1759](https://github.com/jasmine/jasmine/issues/1759) + + +## Documentation updates + +* Updated package description + +* Updated contributing guide + +* Added TypeScript typings and jasmine-browser-runner to issue template + +* Removed constructors from jsdocs of classes that aren't user-constructable + +* Fixed config.seed type in jsdocs + * Merges [#1892](https://github.com/jasmine/jasmine/pull/1892) from @UziTech + +* Added jsdocs for the following: + * asymmetric equality testers + * Env#execute + * Env#allowRespy + * The public portion of Spec + * Spy.callData.returnValue + * Env#topSuite and Suite + +* Added a jsdoc cross-reference from Configuration to its usage + +* Added a note about correct usage of async matchers + +* Added support for ArrayBuffers to matchersUtil.equals + * Merges [#1891](https://github.com/jasmine/jasmine/pull/1892) from @Finesse + * Merges [#1689](https://github.com/jasmine/jasmine/pull/1892) from @dankurka + * Fixes [#1687](https://github.com/jasmine/jasmine/issues/1687) + + +## Internal notes + +* Fixed typo in spec name + * Merges [#1918](https://github.com/jasmine/jasmine/pull/1918) from @eltociear + +* Specify files to include in the NPM package rather than files to exclude + +* Added test coverage for MatchersUtil#equals with typed arrays + +* Removed checks for typed array support in the test suite + * All supported browsers have all typed arrays except for Uint8ClampedArray, + BigInt64Array, and BigUint64Array. + +* Fixed test failures on IE 10 + +* Test matrix updates + * Added Node 16 + * Added Safari 14 + * Added Firefox 78 (closest match to current ESR) + * Removed Safari 10-12 to speed up CI. The newer and older versions we test + provide a good measure of safety. + +* Replaced node-sass dev dependency that isn't compatible with Node 16 + +* Removed unused dev dependencies + +* Migrated CI from Travis to Circle + +* Compensate for clock jitter in specs + + +## Supported environments + +jasmine-core 3.8.0 has been tested in the following environments. + +| Environment | Supported versions | +|-------------------|--------------------| +| Node | 10, 12, 14, 16 | +| Safari | 8-14 | +| Chrome | 91 | +| Firefox | 89, 68, 78 | +| Edge | 91 | +| Internet Explorer | 10, 11 | + +------ + +_Release Notes generated with _[Anchorman](http://github.com/infews/anchorman)_