Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
ab4c4fd
fix(document): fix types for document deletion
tharropoulos Nov 17, 2025
175af19
chore: bump mypy
tharropoulos Dec 4, 2025
aae9d75
chore: add httpx
tharropoulos Dec 4, 2025
df27a32
chore(tests): remove redudant mocked tests
tharropoulos Dec 4, 2025
d3d4dbe
test(curation_set): add missing integration tests
tharropoulos Dec 4, 2025
c577545
test(synonym_set): add missing integration tests
tharropoulos Dec 4, 2025
2f70a2b
refactor: migrate request handler from requests to httpx with async s…
tharropoulos Dec 8, 2025
fb8780d
chore: update test dependencies for httpx migration
tharropoulos Dec 8, 2025
9c2e2ae
refactor: migrate api_call from requests to httpx and add async support
tharropoulos Dec 8, 2025
c230421
feat(alias): add async support for alias operations
tharropoulos Dec 8, 2025
dd2abf2
feat(analytics): add async support for analytics operations
tharropoulos Dec 8, 2025
82de166
feat(analyticsV1): add async support for analytics v1 operations
tharropoulos Dec 8, 2025
e681907
refactor(collection): make TDoc typevar covariant in collection classes
tharropoulos Dec 8, 2025
fb20e89
feat(collection): add async support for collection operations
tharropoulos Dec 8, 2025
421608a
feat(convo): add async support for conversation model operations
tharropoulos Dec 8, 2025
e81edec
feat(curation): add async support for curation set operations
tharropoulos Dec 8, 2025
1b704d0
feat(debug): add async support for debug operations
tharropoulos Dec 8, 2025
9a62bc2
feat(documents): add async support for document operations
tharropoulos Dec 8, 2025
f5e27fd
feat(api-keys): add async support for key operations
tharropoulos Dec 8, 2025
c311ab5
feat(metrics): add async support for metrics operations
tharropoulos Dec 8, 2025
9956fd9
feat(multi-search): add async support for multi-search operations
tharropoulos Dec 8, 2025
6a6e4d3
feat(nl-search): add async support for nl search model operations
tharropoulos Dec 8, 2025
cff9373
feat(ops): add async support for operations
tharropoulos Dec 8, 2025
fc0f205
feat(overrides): add async support for override operations
tharropoulos Dec 8, 2025
0487a9a
feat(synonyms): add async support for synonym operations
tharropoulos Dec 8, 2025
723b6dc
feat(synonym-set): add async support for synonym set operations
tharropoulos Dec 8, 2025
79845b6
lint: remove annotations imports
tharropoulos Dec 8, 2025
c603234
chore: bump deps
tharropoulos Dec 8, 2025
63c426f
feat(stemming): add async support for stemming operations
tharropoulos Dec 8, 2025
57ce53e
feat(stopwords): add async support for stopwords operations
tharropoulos Dec 8, 2025
95a4da5
feat(client): expose async client class
tharropoulos Dec 8, 2025
9533516
chore: bump version to 2.0.0
tharropoulos Dec 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = ["requests", "typing-extensions"]
dependencies = [
"httpx>=0.28.1",
"typing-extensions",
]
dynamic = ["version"]

[project.urls]
Expand All @@ -34,16 +37,17 @@ build-backend = "setuptools.build_meta"

[dependency-groups]
dev = [
"mypy",
"mypy>=1.19.0",
"pytest",
"pytest-asyncio",
"coverage",
"pytest-mock",
"requests-mock",
"python-dotenv",
"types-requests",
"faker",
"ruff>=0.11.11",
"isort>=6.0.1",
"respx>=0.22.0",
"requests",
]

[tool.uv]
Expand Down
1 change: 1 addition & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[pytest]
pythonpath = src
asyncio_mode = auto
markers =
open_ai
2 changes: 1 addition & 1 deletion src/typesense/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from .client import Client # NOQA


__version__ = "1.3.0"
__version__ = "2.0.0"
2 changes: 1 addition & 1 deletion src/typesense/analytics_rule_v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class AnalyticsRuleV1:
rule_id (str): The ID of the analytics rule.
"""

@warn_deprecation( # type: ignore[misc]
@warn_deprecation( # type: ignore[untyped-decorator]
"AnalyticsRuleV1 is deprecated on v30+. Use client.analytics.rules[rule_id] instead.",
flag_name="analytics_rules_v1_deprecation",
)
Expand Down
2 changes: 1 addition & 1 deletion src/typesense/analytics_rules_v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class AnalyticsRulesV1(object):

resource_path: typing.Final[str] = "/analytics/rules"

@warn_deprecation( # type: ignore[misc]
@warn_deprecation( # type: ignore[untyped-decorator]
"AnalyticsRulesV1 is deprecated on v30+. Use client.analytics instead.",
flag_name="analytics_rules_v1_deprecation",
)
Expand Down
Loading