Typesense

Latest version: v0.21.0

Safety actively analyzes 706267 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 6

0.21.0

This release contains new features, performance improvements and important bug fixes.

New Features

- Geosearch: Use the geopoint data type to index locations, filter and sort on them. We support filtering on records within a given radius and as well as within any arbitrarily defined geo polygon.
- Wrap literal strings in filter_by values using backticks to ensure that the commas in filter values don't get parsed as a list separator. Example: filter_by: primary_artist_name:=[`Apple, Inc.`]
- Support exclude / not equals operator for filtering string and boolean facets. Example: filter_by=author:!= JK Rowling
- Ability to turn off prefix search on a per field basis. For example, if you are querying 3 fields and want to enable prefix searching only on the first field, use `?prefix=true,false,false`. The order should match the order in `query_by`.
- Ability to turn off typo tolerance on a per field basis. For example, if you are querying 3 fields and want to disable typo tolerance on the first field, use `?num_typos=0,2,2`. The order should match the order in `query_by`.
- You can now highlight fields that you don't query for. Use ?highlight_fields=title to specify a custom list of fields that should be highlighted.
- Add `filter_by`, `include_fields` and `exclude_fields` options to documents/export endpoint.

Enhancements

- Increased maximum supported length of HTTP query string to 4K characters: if you wish to send larger payloads, use the multi-search end-point.
- Accept null values for optional fields.
- Support for indexing pre-segmented text: you can now index content from any logographic language into Typesense if you are able to segment / split the text into space-separated words yourself before indexing and querying. You should also set `?pre_segmented_query=true` during searching.
- If you have some overrides defined but want to disable all of them during query time, you can now do that by setting `?enable_overrides=false.`

Bug Fixes

- Fixed some edge cases with typo correction not finding the correct matches
- Ensure that exact matches are ranked above others. Set `?prioritize_exact_match=false` to disable this behavior.
- Fixed `collections:*` API key permission which was not previously being recognized by the authentication engine.
- Fixed float facets being displayed with imprecise precision when displayed as string.

Deprecations

- There is a change in the upsert behavior to conform to existing popular conventions: The upsert action now requires the whole document to be sent for indexing. If you wish to update part of a document, use the update action.

Download

Please download the appropriate binary archive for your operating system and architecture here: https://typesense.org/downloads/

**NOTE:** The new version is also available on [Typesense Cloud](https://cloud.typesense.org/). If you're already using Typesense Cloud, please reach out to us to have your cluster upgraded to v0.21.0.

Upgrade

- For self-hosted Typesense deployment, please replace the binary and restart the Typesense process.
- For Typesense Cloud, email us at `contacttypesense.org` and we can do an in-place upgrade for you.

0.20.0

This release contains new features, significant performance improvements and important bug fixes.

New Features

- Auto schema detection: you can now index documents without a pre-defined schema
- Data validation during indexing: configure Typesense to coerce, reject or drop bad values
- Concurrency improvements: utilize all CPU cores and scale to hundreds of thousands of collections

Enhancements

- Default sorting field is now optional: when not present, text match score and insertion order are used
- Allow custom key value to be provided [during creation of API keys](https://github.com/typesense/typesense/issues/244)
- Faster parallel loading of collections on cold start
- Ensure that all queried fields are highlighted in search response
- Reduction in memory consumption of facet fields
- Validate SSL certificate and key before loading SSL certs from disk

Bug Fixes

- Fixed exact matches [ranking below matches with typos](https://github.com/typesense/typesense/issues/243)
- Fixed a bug in [filtering of string fields](https://github.com/typesense/typesense/issues/254)
- Fixed an edge case involving [scoped API keys and embedded filters](https://github.com/typesense/typesense/issues/263) working with multi-search end-point
- Fixed an edge case involving filtering on negative integers
- Fixed an issue related to [range filter](https://github.com/typesense/typesense/issues/210)
- Fixed a crash while parsing certain rare + long query string parameters
- Fixed collection with [`null` value crashing Typesense](https://github.com/typesense/typesense/issues/251)
- Fixed a crash when a snapshot was taken on an empty DB but right after a key is created

Deprecations

- The `catch-up-min-sequence-diff` and `catch-up-threshold-percentage` flags that are used for determining the
catch up status of a follower, are replaced with `healthy-read-lag` and `healthy-write-lag`
[flags](./guide/configure-typesense.mdusing-command-line-arguments).

Download

Please download the appropriate binary archive for your operating system and architecture here: https://typesense.org/downloads/

**NOTE:** The new version is also available on [Typesense Cloud](https://cloud.typesense.org/). If you're already using Typesense Cloud, please reach out to us to have your cluster upgraded to v0.20.

0.19.0

This release contains new features, significant performance improvements and important bug fixes.

New Features

- Ability to send multiple search requests in a single HTTP request
- Ability to limit total number of results that can be fetched using the `limit_hits` search parameter
- Support for slow request logs
- Support numerical range operator in `filter_by` `field:[min..max]`

Enhancements
- Improved `filter_by` & `facet_by` performance during searches, improves performance as much as 60% in some datasets.
- Detailed stack traces with additional symbols and line numbers
- Keep existing config files in place when updating RPM package
- `/operations/snapshot` endpoint no longer blocks write operations

Bug Fixes

- Improved facet query validation
- Improved override validation
- Fixed a crash when import requests are aborted
- Fixed a crash when integer filter values are used for creating scoped api keys

Deprecations

- The `max_hits` search parameter is deprecated and is no longer necessary.

Download

- Please download the appropriate binary archive for your operating system and architecture here: https://typesense.org/downloads/
- The new version is also available on Typesense Cloud: https://cloud.typesense.org/

0.18.0

This release contains several new features and important bug fixes.

New Features

- **[Feature]** Support for query synonyms.
- **[Feature]** Ability to assign custom weights to each field being queried upon.
- **[Feature]** Total documents in a collection is now returned in every response via the `out_of` key.
- **[Feature]** Exclusion operator `-` for excluding individual query tokens from results.
- **[Feature]** Vote API for triggering rotation of leader in a multi-node cluster.
- **[Feature]** On-demand snapshot API: allows you to create a backup with a single API call.
- **[Feature]** Support for expiration of API keys
- **[Feature]** Support regex for defining allowed collection names of an API key.
- **[Feature]** Support operators in multi-valued numerical filter.

Improvements

- **[Performance]** Faster snapshot transfer and copy in multi-regional clusters.
- **[Performance]** Speed up filters on numerical fields.
- **[Feature]** Better search relevance when searching across multiple fields: addressed some edge cases in multi-field queries.
- **[Feature]** Support bulk imports of upto 3 GB in a single POST API call.

Bug fixes

- **[Bug fix]** Fixed an edge case in fuzzy search that missed some tokens during exact searches.
- **[Bug fix]** Prefix matches are assigned lesser importance than exact matches.
- **[Bug fix]** Debug end-point is now available even when node is not ready to serve searches.
- **[Bug fix]** Fixed >= operator not working well with negative values.
- **[Bug fix]** Fixed non-ascii characters not encoded properly in highlight snippet.
- **[Bug fix]** Fixed issue where duplicate results were returned across pages.
- **[Bug fix]** Fixed issue with pinned results being duplicated.

Download

- Please download the appropriate binary archive for your operating system and architecture here: https://typesense.org/downloads/
- The new version is also available on Typesense Cloud: https://cloud.typesense.org/

0.17.0

This release contains a few new features and important bug fixes.

<strong>[Feature]</strong> Matched tokens are returned in the highlight response structure.
<strong>[Feature]</strong> Customization of the start and end HTML tags used for highlighting (default being the mark tag).
<strong>[Feature]</strong> Delete documents that match a filter query.
<strong>[Feature]</strong> Tokenizer now splits text on new line characters, in addition to space.
<strong>[Bug fix]</strong> Fixed a bug that prevented single document updates from being available on the Raft log.
<strong>[Bug fix]</strong> Validate data types of the fields of a collection schema during collection creation.
<strong>[Bug fix]</strong> Ignore invalid unicode characters when returning search response. Earlier, this was causing a crash in some rare cases.
<strong>[Bug fix]</strong> Allow the colon character (<code>:</code>) to be present in the filter query value.

Please download the appropriate binary archive for your operating system and architecture:
https://typesense.org/downloads/

0.16.1

This is a maintenance release to fix an issue we identified with the updates feature.

**[Bug fix]** Updates to string array fields were causing a crash during faceting.

Please download the appropriate binary archive for your operating system and architecture:
https://typesense.org/downloads/

Page 3 of 6

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.