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-3-4-2023-03-09
[0.3.4] - 2023-03-09
fixed
Fixed
- Fix for pagination which could occur when a filter is used.
0-3-3-2023-02-07
[0.3.3] - 2023-02-07
fixed-1
Fixed
- Minor dialyzer fix
0-3-2-2023-02-03
[0.3.2] - 2023-02-03
added
Added
:id_keyoption is now allowed for pagination. Auto-forwarded in Managed.
0-3-1-2023-02-03
[0.3.1] - 2023-02-03
changed
Changed
- Nothing. No changes. Updating only to debug a potential release issue.
0-3-0-2023-02-01
[0.3.0] - 2023-02-01
added-1
Added
Indexed.delete_tables/1to delete all ETS tables. Useful when indexing from scratch is needed.MyManagedMod.{get_ids_by, get_lookup}
changed-1
Changed
Indexed.get_index/4(andIndexed.Managed.get_index/4) now always return a list. (They used to return nil if there was no index.)
removed
Removed
Indexed.lookup- UseIndexed.get_by/4instead.
0-2-0-2022-12-16
[0.2.0] - 2022-12-16
added-2
Added
- Managed:
:repooption onuse Indexed.Managedis now optional. Also, specifying a module on themanagedlines is optional. This means that Managed can now work with non-Ecto.Schemamaps, just like when using Indexed directly. Some auto-discovery features may not be available, though. - Prewarm ability on Indexed and Managed layers. This means a
GenServer.init/1can validate and initialize configuration, then create the ETS tables, without inserting data. AGenServer.handle_continue/2can then be used to do the heavy work of loading the data.
changed-2
Changed
- Managed:
fieldsort option is now:datetimeinstead of:date_time.
0-1-0-2022-11-30
[0.1.0] - 2022-11-30
added-3
Added
- Namespace mode: If an atom is passed to
use Indexed.Managedin the:namespaceoption, 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
:lookupsoption. Lookup maps will be auto-maintained for these fields such thatIndexed.get_by/4can look up a list of IDs of records carrying a given value.
changed-3
Changed
- Properly exporting locals_without_parens in
.formatter.exssomanagedmacro can be used without parens. Indexed.get_records/4andIndexed.get_uniques_list/4now return an empty list instead ofnil.Indexed.get_uniques_map/4now returns an empty map instead ofnil.- Managed: Top-level keys in the
:managed_pathoption will be auto-attached to the:childrenoption.
fixed-2
Fixed
- Fixes around Paginator being an optional dependency.
0-0-1-2022-04-25
[0.0.1] - 2022-04-25
added-4
Added
- Initial release