Changelog

2.2.0 (2018-06-17)

2.1.0 (2018-02-19)

  • Added Mockery.new/2
  • Fixed typo in error message #21
  • Removed support for Elixir 1.1 and 1.2

2.0.2 (2017-10-25)

2.0.1 (2017-10-13)

  • When Mix is missing, Mockery.of/2 assumes that env is :prod

2.0.0 (2017-10-08)

  • Removed Mockery.Heritage

    • Global mocks will be handled without macros by pure elixir modules.
    • Some new restrictions have been added for global mock modules (see global mock section in README)
  • Changed Mockery.mock/3 when value is function (dynamic mock)

    • [function_name: arity] syntax remains unchanged
    • :function_name syntax will raise error
  • Changed Mockery.of/2 output

    • run mix compile --force when upgrading from Mockery 1.x.x

1.4.0 (2017-10-02)

1.3.1 (2017-09-21)

1.3.0 (2017-09-15)

  • Added string version for Mockery.of/2 (now recommended)
  • Fixed mocking of erlang modules

1.2.0 (2017-09-13)

1.1.1 (2017-09-05)

1.1.0 (2017-08-07)

1.0.1 (2017-08-02)

  • Fixed issue when mocking with nil or false

1.0.0 (2017-07-30)