Skip to content

Latest commit

 

History

History
79 lines (44 loc) · 1.71 KB

CHANGELOG.md

File metadata and controls

79 lines (44 loc) · 1.71 KB

All notable changes to this project will be documented in this file.

This project adheres to Semantic Versioning.

Unreleased

Breaking changes

Compatible changes

1.1.2 - 2025-01-22

Compatible changes

  • Add Ruby 3.4 support
  • Provide dev script bin/matrix and adjust REAMDE
  • Move development dependencies out of the gemspec

1.1.1 - 2022-06-22

Breaking changes

  • (The .parameters of a memoized method are no longer renamed to arg1 ... argn and instead retain their original names)

Compatible changes

  • Methods with keyword arguments can now be properly memoized
  • In addition to a methods .arity, memoized now also preserves its .parameters

1.1.0 - 2022-03-16

Breaking changes

  • Remove no longer supported ruby versions (2.3.8, 2.4.5)

Compatible changes

  • Activate rubygems MFA

1.0.2 - 2019-05-22

Compatible changes

  • Preserve arity of methods with optional arguments

1.0.1 - 2019-02-27

Compatible changes

  • Fix meta information in gemspec.

1.0.0 - 2019-02-27

Compatible changes

Forked memoizer with two changes:

  1. Memoized methods now preserve their arity. Previously all memoized methods had an arity of -1.
  2. Memoized methods are now faster at runtime. This will only be noticable if you call a memoized methods many times in the same request.

We published our fork as a new gem named memoized.

memoized is API-compatible to memoizer, you just need to include Memoized instead of Memoizer:

class A
  include Memoized

  memoize def hello
    'hello!'
  end
end