Skip to content

v0.11.0

Compare
Choose a tag to compare
@solnic solnic released this 11 Nov 07:24
· 83 commits to main since this release
v0.11.0
c026b59

Fixed

  • Support for plural Faker generators (@wuarmin)

Added

  • Support for one-to-one associations (@ianks)
  • [internal] cache for Faker constants (@flash-gordon)

Changed

  • [BREAKING] attributes are always passed as keywords (@alassek)
    This may affect your code in places where attributes are passed as hashes.
    Places like

    user_attributes = { name: 'Jane' }
    Factory[:user, user_attributes]

    must be updated to

    user_attributes = { name: 'Jane' }
    Factory[:user, **user_attributes]
  • Upgraded to the latest versions of dry-rb dependencies, compatible with rom 5.3 (@flash-gordon)

  • Support for Faker 1.x was dropped (@alassek)