changed CHANGELOG.md
 
@@ -6,6 6,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
and this project adheres to [Semantic
7
7
Versioning](https://semver.org/spec/v2.0.0.html).
8
8
9
## [0.3.4] - 2023-03-09
10
11
### Fixed
12
- Fix for pagination which could occur when a filter is used.
13
14
## [0.3.3] - 2023-02-07
15
16
### Fixed
17
- Minor dialyzer fix
18
9
19
## [0.3.2] - 2023-02-03
10
20
11
21
### Added
changed hex_metadata.config
 
@@ -6,12 6,11 @@
6
6
[<<"lib">>,<<"lib/indexed">>,<<"lib/indexed/managed">>,
7
7
<<"lib/indexed/managed/child_spec.ex">>,
8
8
<<"lib/indexed/managed/prepare.ex">>,<<"lib/indexed/managed/helpers.ex">>,
9
- <<"lib/indexed/managed/state.ex">>,<<"lib/indexed/part.ex">>,
10
- <<"lib/indexed/helpers.ex">>,<<"lib/indexed/actions">>,
11
- <<"lib/indexed/actions/paginate.ex">>,<<"lib/indexed/actions/put.ex">>,
12
- <<"lib/indexed/actions/destroy_view.ex">>,<<"lib/indexed/actions/drop.ex">>,
13
- <<"lib/indexed/actions/create_view.ex">>,<<"lib/indexed/actions/warm.ex">>,
14
- <<"lib/indexed/parts">>,<<"lib/indexed/view.ex">>,
9
<<"lib/indexed/managed/state.ex">>,<<"lib/indexed/helpers.ex">>,
10
<<"lib/indexed/actions">>,<<"lib/indexed/actions/paginate.ex">>,
11
<<"lib/indexed/actions/put.ex">>,<<"lib/indexed/actions/destroy_view.ex">>,
12
<<"lib/indexed/actions/drop.ex">>,<<"lib/indexed/actions/create_view.ex">>,
13
<<"lib/indexed/actions/warm.ex">>,<<"lib/indexed/view.ex">>,
15
14
<<"lib/indexed/uniques_bundle.ex">>,<<"lib/indexed/managed.ex">>,
16
15
<<"lib/indexed/entity.ex">>,<<"lib/indexed.ex">>,<<".formatter.exs">>,
17
16
<<"mix.exs">>,<<"README.md">>,<<"LICENSE">>,<<"CHANGELOG.md">>]}.
 
@@ -36,4 35,4 @@
36
35
{<<"optional">>,true},
37
36
{<<"repository">>,<<"hexpm">>},
38
37
{<<"requirement">>,<<"~> 2.0">>}]]}.
39
- {<<"version">>,<<"0.3.3">>}.
38
{<<"version">>,<<"0.3.4">>}.
changed lib/indexed/actions/paginate.ex
 
@@ -198,7 198,7 @@ if Code.ensure_loaded?(Paginator) do
198
198
cursor_before =
199
199
if false == cursor_before and match?([_], acc),
200
200
do:
201
- (is_nil(filter) or Enum.any?(read_ids, &filter.(record_getter.(&1)))) &&
201
(is_nil(filter) or Enum.any?(read_ids || [], &filter.(record_getter.(&1)))) &&
202
202
cursor_for_record(hd(acc), config.cursor_fields),
203
203
else: cursor_before
removed lib/indexed/part.ex
 
@@ -1,14 0,0 @@
1
- defmodule Indexed.Part do
2
- @moduledoc """
3
- Defines a type of index to be automatically managed.
4
- """
5
-
6
- @doc "Initial config checking and adjustments."
7
- @callback config(Indexed.t(), keyword) :: Indexed.t()
8
-
9
- @doc "Create ETS tables and do initial prep work."
10
- @callback prewarm(Indexed.t(), keyword) :: Indexed.t()
11
-
12
- @doc "Prewarm if needed, then load data into the cache."
13
- @callback warm(Indexed.t(), keyword) :: Indexed.t()
14
- end
changed mix.exs
 
@@ -2,7 2,7 @@ defmodule Indexed.MixProject do
2
2
use Mix.Project
3
3
4
4
@source_url "https://github.com/djthread/indexed"
5
- @version "0.3.3"
5
@version "0.3.4"
6
6
7
7
def project do
8
8
[