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.
major.minor.patch (yyyy.mm.dd)
0.7.3 (2024.11.11)
Added
{:error, String.t()}type forSearch.search/3
0.7.2 (2024.11.07)
Changed
- Use
v27.1of Typesense in CI and local development.
0.7.1 (2024.09.10)
Removed
:castoredependency not passing on CI test
0.7.0 (2024.09.10)
Changed
- HTTP request construction in
ExTypesense.HttpClientto includeoptions. - Bumped dependencies
Added
optionsin configconfig/configx.exs.get_options/0function inHttpClientto fetch theoptionsconfiguration.- tests for
get_options/0inExTypesense.HttpClientTest.
0.6.0 (2024.07.15)
Changed
- Move application env variables from
test_helper.exstoconfigdirectory, in usage for bothdevandtestenvironments.
Added
- Function: multi search
0.5.0 (2024.07.13)
Changed
READMEregardingdefault_sorting_field, where it joins the table name with_id(e.g.imagesisimages_idinstead ofimage_id).
Added
- Function: delete by query.
- Function: delete all documents in a collection.
- Collection's schema field parameters:
:vec_dist:store:reference:range_index:stem
Removed
HttpClient.runandHttpClient.httpc_runfunction (useHttpClient.request).
0.4.3 (2024.07.03)
Changed
READMEregarding test and connection strings.- Replacing connection struct to map.
0.4.2 (2024.06.19)
Changed
READMEand cheatsheet details regarding on setup for creation of collection schema.
0.4.1 (2024.06.11)
Changed
READMEon runningdocker compose.
0.4.0 (2024.05.20)
Added
- Connection module for dynamic loading of credentials.
- Default connection config when running commands (e.g. create collections, etc.).
Changed
- Refactor
ExTypesense.HttpClienton how to handle request. - Bumped dependencies' version.
- Dropped usage of
:httpcin favor of usingReq library.
Deprecated
- Some functions from
DocumentandHttpClientwhere soft depcrated in order to incorporate theConnectionmodule for dynamic connections loaded from Ecto schema. If you read the docs, you might notice it's marked withdeprecatedand encourages to use the newer ones.
0.3.5 (2023.08.13)
Fixed
- Fixed typos
0.3.4 (2023.07.12)
Changed
- Remove string conversion on struct id when deleting a document.
0.3.3 (2023.07.11)
Added
- Add index_multiple_documents/1 clause for accepting struct args.
0.3.2 (2023.07.11)
Changed
- Maps struct pk to document's id.
- Update http request timeout to
3,600seconds.
0.3.1 (2023.07.11)
Changed
- Increase connection timeout.
0.3.0 (2023.06.20)
Fixed
- Fixed url request path for aliases.
Changed
- Refactor functions inside collection and document.
- Changed return values from
{:ok, t()}tot()only. - Parse schema field types for
float,boolean,string,integerand a list with these corresponding types.
Added
- Added cheatsheet section on docs.
0.2.2 (2023.01.26)
Changed
- Updated docs
0.2.1 (2023.01.22)
Changed
- Returned an ecto query instead of list of results.
0.2.0 (2023.01.20)
Added
- Added search function which returns a list of structs or empty.
0.1.0 (2023.01.20)
- Initial release