Skip to content

Releases: arjan/decorator

1.3.1

27 Aug 11:30
Compare
Choose a tag to compare

Fixes:

  • Do not run decorator twice, fixes issues with default arguments (#33)

1.3.0

18 Jan 16:01
Compare
Choose a tag to compare

New features

  • @decorate_all attribute

Bugfixes

  • Keep original attribute values in decorated functions
  • Fix issues with decorating empty bodies

1.2.4

29 Sep 07:57
Compare
Choose a tag to compare

Fixes:

  • Allow correct decoration of functions with different arities but same name (#21)
  • Allow correct decoration of functions with multiple function heads (#23)

1.2.2

04 Jul 07:58
Compare
Choose a tag to compare
  • Bugfix for handling rescue clauses on the function level in Elixir 1.5

1.0.0

24 Oct 19:14
Compare
Choose a tag to compare

First stable release of the function decorator library.

  • The final syntax that function decorators use is @decorate your_decorator_name.
  • enforces compile-time checks of the decorator's existence
  • makes it explicit that a function is being decorated.
  • is in line with the Erlang function decorator library