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.
- Add 404 on response for
Analytics.upsert_analytics_rule.
- Support for Typesense v30.1. See https://typesense.org/docs/30.1/api
Synonyms.upsert_search_synonym/4in favor ofupsert_synonym_set/3orupsert_synonym_set_item/4when using Typesense v30.0+.Synonyms.get_search_synonyms/2in favor ofretrieve_synonym_set_items/2orretrieve_synonym_sets/1when using Typesense v30.0+.Synonyms.get_search_synonym/3in favor ofretrieve_synonym_set/2orretrieve_synonym_set_item/3when using Typesense v30.0+.Synonyms.delete_search_synonym/3in favor ofdelete_synonym_set/2ordelete_synonym_set_item/3when using Typesense v30.0+.
- Updated
priv/open_api.ymlfor structure changes (v30.0). See https://typesense.org/docs/30.0/api/#deprecations-behavior-changes
NlSearchModelsoperationAnalytics.flush_analytics/1Analytics.get_analytics_status/1Analytics.get_analytics_events/1
- update
priv/open_api.ymlto https://github.com/typesense/typesense-api-spec/commit/eac4e46bc934dd1f621406602c2c46184961788f - Changed
DropTokensModeschema from string to object. - Updated few failing tests on different versions.
- Updated dependencies.
Operations.config/2. UseOperations.toggle_slow_request_log/2
- Refactor
renderer.ex,client.exand operation schemas for consistently returning appropriate types PR #33.
- Poison library for custom json decoder.
- Use fork version of
open-api-generator, for addingdefaultvalue indefstructdeclarations. - Module (
OpenApiTypesense.Converter) for maps/structs with mixed keys to full atom key conversions.
- Add few documents tests
- Add custom encoder for JSON encoding all schemas.
- Typespecs and client definitions to use snake casing for consistency.
- Add custom renderer plugin for OpenAPI code gen.
- Use fork version for open-api-generator, with added
defaultfield for generated schema.
- Reduce unsafe atom keys conversion. PR #30
- Typespecs for Documents and Stemmings. See
ex_typesenseissue
- Passing
connas part ofoptswhen calling a function, as this reduces code duplication. Issue #26 PR #29
- Bumped dev dependencies
- Parsing results from using multi search unions
Changed (#28)
- Update to include Typesense v28.0
- Removed deprecated functions in
OpenApiTypesense.Client - Bump dependency versions.
- Renamed
searchtosearch_collectionfromDocumentsmodule.
- Tests for stemming
- Doc version tags
Changed (#25)
- the client now accepts all options defined in Req.new/1
- global configuration can be set in config.exs
- per-function call overrides are possible using the req argument
- the Req client configuration has been deprecated and moved from the Client module to the Connection module
- Separate dev and test environments.
- JOINs tests.
- No timeouts during tests.
- Bump dependency versions.
- Logic for checking environment during test.
- Tests for JOIns
- Handle unknown HTTP status response
- Use
config_env/0instead ofMix.env/0
401status code for unauthorized access
- CI to support Typesense versions v26.0, v27.0, v27.1
- Support for Typesense version v0.25.2
- Documentation typos
- Tidy documentation flow
- Error status code missing from creating a snapshot
- More test coverage
filter_byoption fromDocuments.update_document.
- User(s) can use another HTTP client instead of default (Req).
- Update docs
- Static to Dynamic fetching of application name for connection defaults.
- Update docs and include few anchor links.
- Update specific test where async is disabled when using
Application.put_env/4
- Formatting
open_api.ymlfile. - Bump
ex_doc - Typo in
:oapi_generatorconfig for dev environment.
- More tests for coverage
- Options for some functions
- Endpoints, params for
priv/open_api.yml
- Disable protocol consolidation during dev or test (for
mix docs).
- Typespecs for each functions
- HTTP request construction in
OpenApiTypesense.Clientto includeoptions.
optionsin configconfig/config.exs.get_options/0function inClientto fetch theoptionsconfiguration.- tests for
get_options/0inClientTest.
- Update consistency in docs
- Bumped dependencies
- Default client, currently using
Req. Connectionmodule, which is taken fromExTypesensebecause someone requested for loading of credentials at runtime.defstructin ModulesDebug,DocumentsandStopwordsbecause it is throwing undefined struct error.- Few descriptions in
priv/open_api.ymlfor 4XX response.
- Initial release