# Changelog

## 0.3.0

### Search updates

- Adds search option `order_by`. This includes support for mult-column sorting and null-ordering directions.
- Breaking changes:
  - The search option `facets` now accepts a string-keyed map instead of an atom-keyed map.
    This enables search options to be created directly from external sources, such as URL parameters,
    without converting string keys to atoms first.
  - Similarly, the search option `result_fields` now accepts a list of strings instead of a list of atoms.

[Searching](./doc_pages/faceted_search.md)

### Flop adapter

Adds a Flop adapter for using [Flop](https://hex.pm/packages/flop) with Refine.

The adapter translates Flop parameters into a Refine faceted search:
Flop provides filtering, ordering, and pagination, while Refine provides the facets.
This is useful when you already use Flop for searching and want to add faceting to existing queries.

[Flop adapter](./doc_pages/flop_adapter.md)

## 0.2.0

Facets can now be created from [joined tables](https://refine.hexdocs.pm/joins_configuration.html)

## 0.1.0

Initial implementation.
