Module

Record

Changes by version

Elixir 1.13.0

· 1 change

Enhancement Tool: Elixir

Add record reflection via @__records__

Elixir 1.11.3

· 1 change

Bugfix Tool: Elixir

Make sure nested record names do not clobber each other

Elixir 1.11.0

· 1 change

Bugfix Tool: Elixir

Keep lexical ordering when creating records

Elixir 1.10.0

· 1 change

Enhancement Tool: Elixir

Warn if duplicate key is found in record declaration

Elixir 1.9.0

· 1 change

Enhancement Tool: Elixir

Include field names in generated type for records

Elixir 1.8.0

· 1 change

Enhancement Tool: Elixir

Reduce memory allocation when updating multiple fields in a record

Elixir 1.6.0

· 1 change

Enhancement Tool: Elixir

Allow :macros and :includes to be given to Record.extract/2

Elixir 1.5.0

· 1 change

Bugfix Tool: Elixir

Properly escape quoted expressions passed to defrecord

Elixir 1.4.3

· 1 change

Bugfix Tool: Elixir

Properly escape fields passed to defrecord

Elixir 1.3.0

· 1 change

Bugfix Tool: Elixir

Fix Record.is_record/2 when dealing with non-record tuples

Elixir 1.0.5

· 1 change

Enhancement Tool: Elixir

Expand attributes and macros in record extractor

Elixir 0.14.3

· 1 change

Enhancement Tool: Elixir

Allow a record to be converted to a keyword list with record(some_record)

Elixir 0.13.0

· 1 change

Enhancement Tool: Elixir

defrecord/2, defrecordp/3, is_record/1 and is_record/2 macros in Kernel are deprecated. Instead, use the new macros and API defined in the Record module (this is a soft deprecation, no warnings will be emitted)

Elixir 0.12.3

· 2 changes

Enhancement Tool: Elixir

to_keywords, getter and list getter functionalities in defrecordp are deprecated

Enhancement Tool: Elixir

Record.import/2 is deprecated

Elixir 0.12.0

· 1 change

Enhancement Tool: Elixir

Support dynamic fields in defrecordp

Elixir 0.10.3

· 1 change

Enhancement Tool: Enhancements

Generated record functions new and update also take options with strings as keys

Elixir 0.10.0

· 2 changes

Enhancement Tool: Elixir

Record.__index__/2 deprecated in favor of Record.__record__(:index, key)

Enhancement Tool: Elixir

First element of a record via defrecordp is now the defrecordp name and no longer the current atom