release_notes/older_versions.md
waitsFor() arguments can now be specified in any order. Timeout and message are optional.waitsFor() timeout period is now specified in env.defaultTimeoutInterval; the default value is 5 seconds.waitsFor() hanged forever if latch function never returned true.not.toThrow() matcher threw an exception when used with no args.toThrow() matcher, when inverted, gave misleading failure messages.waits() block in favor of waitsFor(); waits() will be removed in a future release.toNotBe(), toNotEqual(), toNotMatch(), and toNotContain() matchers; they will be removed in a future release.undefined (they previously returned true or false, but this was undocumented).wasCalled(), wasCalledWith(), wasNotCalled() and wasNotCalledWith() matchers have been deprecated. The new matchers toHaveBeenCalled() and toHaveBeenCalledWith() have been added. You can use the not prefix to achieve equivalent of the wasNot…() expectation (e.g. not.toHaveBeenCalled()).