Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanos committed Oct 3, 2022
1 parent b10a5d2 commit 7ca0d4f
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 33 deletions.
54 changes: 30 additions & 24 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,115 +1,121 @@
# Changelog

## [0.9.0] - 2022-10-02

### Added

- added code coverage

## [0.8.0] - 2021-11-13

### Added
* added ability to re-rewire a module attribute

- added ability to re-rewire a module attribute

## [0.7.0] - 2020-11-07

### Added
* added ability to re-rewire a module
* added extensive debug logging

- added ability to re-rewire a module
- added extensive debug logging

## [0.6.0] - 2020-11-06

### Added
* support for rewiring a dependency on an Erlang module

- support for rewiring a dependency on an Erlang module

## [0.5.4] - 2020-10-31

### Changed
* fixed bug for references to a previously-defined inner module

- fixed bug for references to a previously-defined inner module

## [0.5.3] - 2020-10-17

### Changed
* docs and tests to use `import` instead of `use`

- docs and tests to use `import` instead of `use`

## [0.5.2] - 2020-10-17

### Changed
* improved documentation

- improved documentation

## [0.5.1] - 2020-10-17

### Added
* improved compiler errors

- improved compiler errors

## [0.5.0] - 2020-10-17

### Added
* support for rewiring nested modules

- support for rewiring nested modules

## [0.4.1] - 2020-10-12

### Added
* added mix formatter export

- added mix formatter export

## [0.4.0] - 2020-10-07

### Added
* added debug option

- added debug option

## [0.3.3] - 2020-10-06

### Changed
* internal refactorings
* improved documentation

- internal refactorings
- improved documentation

## [0.3.2] - 2020-10-02

### Changed
* support `as` for `rewire` block

- support `as` for `rewire` block

## [0.3.1] - 2020-10-02

### Added
* Elixir module documentation

- Elixir module documentation

## [0.3.0] - 2020-10-01

### Added
* module-scoped `rewire`

- module-scoped `rewire`

## [0.2.1] - 2020-09-30

### Changed
* improved alias detection of caller module

- improved alias detection of caller module

## [0.2.0] - 2020-09-30

### Changed
* moved all code generation to compile-time due to compiler warnings in Elixir 1.10+

- moved all code generation to compile-time due to compiler warnings in Elixir 1.10+

## [0.1.1] - 2020-09-30

### Changed
* fixed deprecation warning in Elixir 1.10+

- fixed deprecation warning in Elixir 1.10+

## [0.1.0] - 2020-09-28

### Added
* initial version
* `rewire` with module args
* `rewire` with shorthand args
* error for non-existant module
* error for missing module replacement

- initial version
- `rewire` with module args
- `rewire` with shorthand args
- error for non-existant module
- error for missing module replacement
15 changes: 7 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
rewire
===
# rewire

[![Build Status](https://travis-ci.org/stephanos/rewire.svg?branch=master)](https://travis-ci.org/stephanos/rewire)
[![Hex.pm](https://img.shields.io/hexpm/v/rewire.svg)](https://hex.pm/packages/rewire)
Expand All @@ -17,7 +16,7 @@ Just add `rewire` to your list of dependencies in mix.exs:
```elixir
def deps do
[
{:rewire, "~> 0.8", only: :test}
{:rewire, "~> 0.9", only: :test}
]
end
```
Expand Down Expand Up @@ -95,7 +94,7 @@ Maybe just a little? Conclusive data from a larger code base isn't in yet.

**Will test coverage be reported correctly?**

Sadly, not yet. But that is fixable. See [issue #10](https://github.com/stephanos/rewire/issues/10).
Yes!

**Will it work with stateful processes?**

Expand Down Expand Up @@ -131,10 +130,10 @@ end

The downsides to that approach are:

1) Your application code is now littered with testing concerns.
2) Navigation in your code editor doesn't work as well.
3) Searches for usages of the module are more difficult.
4) The compiler is not able to warn you in case `greet/0` doesn't exist on the `English` module.
1. Your application code is now littered with testing concerns.
2. Navigation in your code editor doesn't work as well.
3. Searches for usages of the module are more difficult.
4. The compiler is not able to warn you in case `greet/0` doesn't exist on the `English` module.

If you use `mox` for your mocking, there's a slightly better approach:

Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Rewire.MixProject do
def project do
[
app: :rewire,
version: "0.8.0",
version: "0.9.0",
elixir: "~> 1.7",
start_permanent: Mix.env() == :prod,
elixirc_paths: elixirc_paths(Mix.env()),
Expand Down

0 comments on commit 7ca0d4f

Please sign in to comment.