Skip to content

Commit

Permalink
additional error response
Browse files Browse the repository at this point in the history
jaeyson committed Nov 11, 2024
1 parent baf8f15 commit bd42b70
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## major.minor.patch (yyyy.mm.dd)

## 0.7.3 (2024.11.11)

### Added

- `{:error, String.t()}` type for `Search.search/3`

## 0.7.2 (2024.11.07)

### Changed
2 changes: 1 addition & 1 deletion lib/ex_typesense/search.ex
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ defmodule ExTypesense.Search do
@multi_search_path "/multi_search"

@typedoc since: "0.1.0"
@type response :: {:ok, map()} | {:error, map()}
@type response :: {:ok, map()} | {:error, map()} | {:error, String.t()}

@doc """
Search from a document or Ecto Schema.
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ defmodule ExTypesense.MixProject do
use Mix.Project

@source_url "https://github.com/jaeyson/ex_typesense"
@version "0.7.2"
@version "0.7.3"

def project do
[

0 comments on commit bd42b70

Please sign in to comment.