Back to Jasmine

Jasmine Core 3.7 Release Notes

release_notes/3.7.0.md

6.2.02.6 KB
Original Source

Jasmine Core 3.7 Release Notes

Summary

This is a maintenance release of Jasmine with a number of new features and fixes.

New features and bug fixes

  • Allow custom object formatters to be added in beforeAll

  • Allow specs to disable Jasmine's global error handling by overwriting onerror.

    • Merges #1860 from @greghuc
  • Fixed comparison between URL objects

  • Added support for stack traces created by node --enable-source-maps with tools like the Typescript compiler.

    • Merges #1862 from @JannesMeyer
  • Made properties added by createSpyObj() enumerable.

  • Show the name of the spec/suite that caused a deprecation

  • Warn if a spec or before/after function both takes a callback and returns a promise

  • Don't overwrite MatchersUtil methods with ones that were added to Array.prototype, esp. contains

  • Allow generator functions to be passed to .and.callFake

Documentation updates

  • Fixed instructions for contributors to run Jasmine's ci script

  • Updated supported Node versions in README

  • Fixed script and CSS URLs in standalone example in README

    • Merges #1839 from @snowman
  • Fixed typo in asyncMatcher toBePending comment

    • Merges #1847 from @SnailCoil
  • Fixed link to custom object formatter tutorial

  • Added jasmine.isSpy to the public interface

Internal notes

  • Fixed intermittent test failures

  • Added additional assertions to tests for toBeTruthy and toBeFalsy

    • Merges #1875 from @yasinkocak
  • Pointed Travis badge at travis-ci.com, not .org

  • Fixed file globs so that Prettier runs on all files

  • Check for forgotten console and debugger statements

  • Fixed code in Jasmine that will trigger deprecations in 3.99

  • Use jasmine-browser from npm rather than from the main branch

    • The current released version now works with IE, so we no longer need to depend on main.

_Release Notes generated with Anchorman