Skip to content

Releases: eproxus/meck

1.0.0

13 Dec 09:44
1.0.0
29360b2
Compare
Choose a tag to compare

Added

  • Official support for Erlang 27.0
  • Reload modules that were loaded before mocking (#228)

Fixed

  • Fix misleading not_mocked errors when unloading a mock (#231)
  • Fix calling mocked modules from expectations fun (#232)
  • Fix spec of meck:raise/2
  • Increase meck_proc stop timeout to infinity to prevent confusing errors
  • Code coverage leak from temporary backup modules in Erlang.mk (#246)

Removed

  • Compatibility for Erlang versions below 22. Meck will follow the officially supported Erlang versions for future releases (latest major and two previous versions). Older versions might still work but there is no guarantee and no support.

0.9.2

06 Mar 13:44
0.9.2
5aaa248
Compare
Choose a tag to compare

Fixed

  • Fix a Dialyzer warning on OTP 24 #223

0.9.1

19 Feb 14:22
0.9.1
06192a9
Compare
Choose a tag to compare

Fixed

  • Module references in type specs were not included when renaming modules #206
  • The passthrough clause was not always the last clause in an expect with multiple clauses #216

0.9.0

25 Jun 12:07
0.9.0
8c6b6e4
Compare
Choose a tag to compare

Added

  • Support Erlang 23.0 8c16751
  • Add a new function mocked/0 that returns which modules are currently mocked #210

Changed

  • Validate the options being passed to meck:new #204

Fixed

  • Do not attempt to generate dependencies when mocking 9b3ce75
  • Add compiler application to dependencies #209
  • meck:ret_spec() opaqueness violates documented usage patterns #212

0.8.13

08 Jan 10:28
0.8.13
4ecc1ae
Compare
Choose a tag to compare

Full Changelog

Implemented enhancements:

  • Remove compatibility for Erlang R15 and R16 #198

Fixed bugs:

  • Crash when mocking Elixir 1.8-rc.0 compiled module #201

Merged pull requests:

  • Exclude from_core option from compile_info when compiling #202 (josevalim)
  • Isolate backup *.coverdata from other beam instances #200 (dcsommer)

0.8.12

08 Aug 07:58
0.8.12
6121bb7
Compare
Choose a tag to compare

Full Changelog

Fixed bugs:

  • History item is not kept while module compiler is running #194

Version 0.8.6

28 Jun 09:55
0.8.6
36b208e
Compare
Choose a tag to compare
  • Compatibility fixes for Erlang 20.0

Version 0.8.5

28 Jun 09:27
0.8.5
ada6b4e
Compare
Choose a tag to compare
Version 0.8.5 Pre-release
Pre-release
  • Compatibility with Erlang 20.0
  • Fixes missing stacktrace entry when using shortcut expects (#167)

Version 0.8.4

29 Dec 09:42
0.8.4
Compare
Choose a tag to compare
  • Depend on tools application in OTP

Bugfixes and documentation improvements

09 Jun 10:04
0.8.3
Compare
Choose a tag to compare
  • Minor documentation improvements
  • Meck now disables on_load functions by default. They can be enabled using enable_on_load as an option when creating a mock (Thanks to @rlipscombe)
  • Fix for #114, solving the occasional problem where Meck could not restore cover data