View Source Changelog

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

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0-1-0-2022-11-30

[0.1.0] - 2022-11-30

added

Added

  • Namespace mode: If an atom is passed to use Indexed.Managed in the :namespace option, then ETS tables for this instance of indexed will use named tables. This means that other processes can access the data directly as long as they are on the same node. Getter functions will be attached to the module which do not require any state.
  • Lookups: An entity can now be configured (via Managed or Indexed directly) with one or more fields under the :lookups option. Lookup maps will be auto-maintained for these fields such that Indexed.get_by/4 can look up a list of IDs of records carrying a given value.

changed

Changed

  • Properly exporting locals_without_parens in .formatter.exs so managed macro can be used without parens.
  • Indexed.get_records/4 and Indexed.get_uniques_list/4 now return an empty list instead of nil. Indexed.get_uniques_map/4 now returns an empty map instead of nil.
  • Managed: Top-level keys in the :managed_path option will be auto-attached to the :children option.

fixed

Fixed

  • Fixes around Paginator being an optional dependency.

0-0-1-2022-04-25

[0.0.1] - 2022-04-25

added-1

Added

  • Initial release