From de97872d4194b2b9ca38e0250722f259cc1dd2e2 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Wed, 14 Oct 2020 21:41:51 +0600 Subject: [PATCH] fill CHANGELOG.md --- CHANGELOG.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 72b30b38d50..a4a6ae03ac1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,16 @@ Inited :) * `Versions`: * `kotlinx.serialization`: `1.0.0-RC2` -> `1.0.0` +* `Pagination` + * `Common` + * Function `calculatePage` for calculating page based on size of page and index of first element + * Extension `List#createPaginationResult` which use index of first element to calculate current page and other + info in `PaginationResult` object + * Factory `emptyPaginationResult` for empty `PaginationResult` + * Extensions `paginate` for creating of `PaginationResult` which use as source one of next types: + * `Iterable` + * `List` + * `Set` * `Repos` * `Common` * Extensions `doForAll` and `getAll` were added for all current types of repos: @@ -15,3 +25,13 @@ Inited :) * `StandardReadKeyValueRepo` * `OneToManyReadKeyValueRepo` * `StandardReadKeyValueRepo` methods `values` and `keys` now have default value for `reversed` parameter `false` + * New `Flow`'s in `OneToManyWriteKeyValueRepo`: + * `onNewValue` + * `onValueRemoved` + * `onDataCleared` + * New function `ReadStandardCRUDRepo#count` + * `In Memory` + * Package has been created:) you can connect it via `implementation "dev.inmo:micro_utils.repos.inmemory"` + * `MapCRUDRepo` class as implementation of `StandardCRUDRepo` on top of `MutableMap` has been added + * `MapKeyValueRepo` class as implementation of `StandardKeyValueRepo` on top of `MutableMap` has been added + * `MapOneToManyKeyValueRepo` class as implementation of `OneToManyKeyValueRepo` on top of `MutableMap` has been added