Python Tantivy 0.22.1
What's Changed
Features
- feat: Aggregations API by @ditsuke in #288
- Expose Range Query (Beta) by @alex-au-922 in #281
- Expose SnippetGenerator.set_max_num_chars() so changing the default is possible by @Fudge in #323
- Expose version info by @wallies in #349
- Build and register custom text analyzers from Tantivy builtins by @a3lem in #425
- Expose snippet fragments by @kevinhu in #421
Deprecations
Build Dependencies
- build(deps): bump futures from 0.3.29 to 0.3.30 by @dependabot in #277
- build(deps): bump serde from 1.0.190 to 1.0.193 by @dependabot in #276
- build(deps): bump actions/checkout from 4.1.4 to 4.1.5 by @dependabot in #280
- build(deps): bump serde from 1.0.193 to 1.0.200 by @dependabot in #279
- build(deps): bump serde_json from 1.0.109 to 1.0.116 by @dependabot in #278
- deps: upgrade PyO3 to 0.21 by @cjrh in #275
- build(deps): bump serde from 1.0.200 to 1.0.201 by @dependabot in #283
- build(deps): bump serde_json from 1.0.116 to 1.0.117 by @dependabot in #282
- build(deps): bump ossf/scorecard-action from 2.3.1 to 2.3.3 by @dependabot in #284
- build(deps): bump github/codeql-action from 3.25.3 to 3.25.5 by @dependabot in #285
- build(deps): bump PyO3/maturin-action from 1.42.2 to 1.43.0 by @dependabot in #286
- build(deps): bump serde from 1.0.201 to 1.0.202 by @dependabot in #290
- build(deps): bump step-security/harden-runner from 2.7.1 to 2.8.0 by @dependabot in #294
- build(deps): bump serde from 1.0.202 to 1.0.203 by @dependabot in #293
- build(deps): bump actions/checkout from 4.1.5 to 4.1.6 by @dependabot in #292
- build(deps): bump github/codeql-action from 3.25.5 to 3.25.6 by @dependabot in #291
- build(deps): bump itertools from 0.12.1 to 0.13.0 by @dependabot in #289
- build(deps): bump github/codeql-action from 3.25.6 to 3.25.7 by @dependabot in #295
- build(deps): bump step-security/harden-runner from 2.8.0 to 2.8.1 by @dependabot in #300
- build(deps): bump github/codeql-action from 3.25.7 to 3.25.8 by @dependabot in #299
- build(deps): bump actions/checkout from 4.1.6 to 4.1.7 by @dependabot in #304
- build(deps): bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0 by @dependabot in #303
- build(deps): bump github/codeql-action from 3.25.8 to 3.25.10 by @dependabot in #302
- build(deps): bump dtolnay/rust-toolchain from d8352f6b1d2e870bc5716e7a6d9b65c4cc244a1a to 21dc36fb71dd22e3317045c0c31a3f4249868b17 by @dependabot in #301
- build(deps): bump pyo3-build-config from 0.21.2 to 0.22.0 by @dependabot in #305
- build(deps): bump github/codeql-action from 3.25.10 to 3.25.11 by @dependabot in #308
- build(deps): bump PyO3/maturin-action from 1.43.0 to 1.44.0 by @dependabot in #307
- build(deps): bump serde_json from 1.0.117 to 1.0.120 by @dependabot in #306
- build(deps): bump actions/download-artifact from 4.1.7 to 4.1.8 by @dependabot in #310
- build(deps): bump actions/upload-artifact from 4.3.3 to 4.3.4 by @dependabot in #309
- build(deps): bump pyo3-build-config from 0.22.0 to 0.22.1 by @dependabot in #312
- build(deps): bump serde from 1.0.203 to 1.0.204 by @dependabot in #311
- build(deps): bump pyo3-build-config from 0.22.1 to 0.22.2 by @dependabot in #315
- build(deps): bump github/codeql-action from 3.25.11 to 3.25.13 by @dependabot in #316
- build(deps): bump step-security/harden-runner from 2.8.1 to 2.9.0 by @dependabot in #317
- build(deps): bump ossf/scorecard-action from 2.3.3 to 2.4.0 by @dependabot in #319
- build(deps): bump github/codeql-action from 3.25.13 to 3.25.15 by @dependabot in #318
- build(deps): bump serde_json from 1.0.120 to 1.0.121 by @dependabot in #320
- build(deps): bump actions/setup-python from 5.1.0 to 5.1.1 by @dependabot in #313
- build(deps): bump actions/upload-artifact from 4.3.4 to 4.3.5 by @dependabot in #321
- build(deps): bump serde_json from 1.0.121 to 1.0.122 by @dependabot in #322
- build(deps): bump dtolnay/rust-toolchain from 21dc36fb71dd22e3317045c0c31a3f4249868b17 to 7b1c307e0dcbda6122208f10795a713336a9b35a by @dependabot in #329
- build(deps): bump github/codeql-action from 3.25.15 to 3.26.0 by @dependabot in #328
- build(deps): bump actions/upload-artifact from 4.3.5 to 4.3.6 by @dependabot in #327
- build(deps): bump step-security/harden-runner from 2.9.0 to 2.9.1 by @dependabot in #326
- build(deps): bump serde_json from 1.0.122 to 1.0.124 by @dependabot in #325
- build(deps): bump serde from 1.0.204 to 1.0.207 by @dependabot in #324
- build(deps): bump github/codeql-action from 3.26.0 to 3.26.3 by @dependabot in #332
- build(deps): bump serde from 1.0.207 to 1.0.208 by @dependabot in #330
- build(deps): bump serde_json from 1.0.124 to 1.0.125 by @dependabot in #331
- build(deps): bump serde from 1.0.208 to 1.0.209 by @dependabot in #334
- build(deps): bump serde_json from 1.0.125 to 1.0.127 by @dependabot in #333
- build(deps): bump github/codeql-action from 3.26.3 to 3.26.5 by @dependabot in #335
- chore: set toolchain stable by @cjrh in #342
- build(deps): bump pypa/gh-action-pypi-publish from 1.9.0 to 1.10.1 by @dependabot in #343
- build(deps): bump github/codeql-action from 3.26.5 to 3.26.6 by @dependabot in #339
- build(deps): bump actions/setup-python from 5.1.1 to 5.2.0 by @dependabot in #341
- build(deps): bump actions/upload-artifact from 4.3.6 to 4.4.0 by @dependabot in #340
- chore: type-sig schema in Document.from_dict has None default by @cjrh in #346
- build(deps): bump serde_json from 1.0.127 to 1.0.128 by @dependabot in #348
- build(deps): bump serde from 1.0.209 to 1.0.210 by @dependabot in #347
- Wrap Searcher.doc_freq. Fixes #344 by @cjrh in #345
- Change CI toolchain to stable by @cjrh in #355
- build(deps): bump step-security/harden-runner from 2.9.1 to 2.10.1 by @dependabot in #351
- build(deps): bump pyo3-build-config from 0.22.2 to 0.22.3 by @dependabot in #352
- build(deps): bump github/codeql-action from 3.26.6 to 3.26.8 by @dependabot in #356
- Fix json bug - fixes #353 by @cjrh in #354
- build(deps): bump pypa/gh-action-pypi-publish from 1.10.1 to 1.10.2 by @dependabot in #357
- build(deps): bump actions/checkout from 4.1.7 to 4.2.0 by @dependabot in #361
- build(deps): bump github/codeql-action from 3.26.8 to 3.26.10 by @dependabot in #360
- build(deps): bump actions/checkout from 4.2.0 to 4.2.1 by @dependabot in #364
- build(deps): bump github/codeql-action from 3.26.10 to 3.26.12 by @dependabot in #363
- build(deps): bump pypa/gh-action-pypi-publish from 1.10.2 to 1.10.3 by @dependabot in #365
- build(deps): bump actions/upload-artifact from 4.4.0 to 4.4.1 by @dependabot in #366
- build(deps): bump futures from 0.3.30 to 0.3.31 by @dependabot in #362
- Disable rust-cache in CI by @cjrh in #372
- build(deps): bump pyo3-build-config from 0.22.3 to 0.22.5 by @dependabot in #373
- build(deps): bump actions/upload-artifact from 4.4.1 to 4.4.3 by @dependabot in #368
- build(deps): bump github/codeql-action from 3.26.12 to 3.26.13 by @dependabot in #369
- Add Python 3.13 to the release matrix by @cjrh in #374
- build(deps): bump PyO3/maturin-action from 1.44.0 to 1.45.0 by @dependabot in #376
- build(deps): bump serde from 1.0.210 to 1.0.214 by @dependabot in #380
- build(deps): bump github/codeql-action from 3.26.13 to 3.27.0 by @dependabot in #379
- build(deps): bump actions/checkout from 4.2.1 to 4.2.2 by @dependabot in #378
- build(deps): bump actions/setup-python from 5.2.0 to 5.3.0 by @dependabot in #377
- build(deps): bump serde_json from 1.0.128 to 1.0.132 by @dependabot in #375
- build(deps): bump pypa/gh-action-pypi-publish from 1.10.3 to 1.11.0 by @dependabot in #381
- build(deps): bump pypa/gh-action-pypi-publish from 1.11.0 to 1.12.2 by @dependabot in #383
- build(deps): bump github/codeql-action from 3.27.0 to 3.27.1 by @dependabot in #382
- build(deps): bump pyo3-build-config from 0.22.5 to 0.22.6 by @dependabot in #384
- build(deps): bump serde from 1.0.214 to 1.0.215 by @dependabot in #385
- build(deps): bump pyo3-build-config from 0.22.6 to 0.23.1 by @dependabot in #390
- build(deps): bump dtolnay/rust-toolchain from 7b1c307e0dcbda6122208f10795a713336a9b35a to 315e265cd78dad1e1dcf3a5074f6d6c47029d5aa by @dependabot in #388
- build(deps): bump step-security/harden-runner from 2.10.1 to 2.10.2 by @dependabot in #387
- build(deps): bump github/codeql-action from 3.27.1 to 3.27.4 by @dependabot in #386
- build(deps): bump serde_json from 1.0.132 to 1.0.133 by @dependabot in #389
- build(deps): bump pyo3-build-config from 0.23.1 to 0.23.2 by @dependabot in #392
- build(deps): bump github/codeql-action from 3.27.4 to 3.27.5 by @dependabot in #393
- build(deps): bump pypa/gh-action-pypi-publish from 1.12.2 to 1.12.3 by @dependabot in #395
- build(deps): bump github/codeql-action from 3.27.5 to 3.27.6 by @dependabot in #394
- build(deps): bump pyo3-build-config from 0.23.2 to 0.23.3 by @dependabot in #396
- build(deps): bump serde from 1.0.215 to 1.0.216 by @dependabot in #398
- build(deps): bump github/codeql-action from 3.27.6 to 3.27.9 by @dependabot in #400
- build(deps): bump serde_json from 1.0.133 to 1.0.134 by @dependabot in #402
- build(deps): bump dtolnay/rust-toolchain from 315e265cd78dad1e1dcf3a5074f6d6c47029d5aa to a54c7afa936fefeb4456b2dd8068152669aa8203 by @dependabot in #399
- build(deps): bump chrono from 0.4.38 to 0.4.39 by @dependabot in #397
- build(deps): bump actions/upload-artifact from 4.4.3 to 4.5.0 by @dependabot in #404
- build(deps): bump github/codeql-action from 3.27.9 to 3.28.0 by @dependabot in #403
- build(deps): bump serde from 1.0.216 to 1.0.217 by @dependabot in #405
- build(deps): bump itertools from 0.13.0 to 0.14.0 by @dependabot in #406
- build(deps): bump step-security/harden-runner from 2.10.2 to 2.10.3 by @dependabot in #409
- build(deps): bump github/codeql-action from 3.28.0 to 3.28.1 by @dependabot in #410
- build(deps): bump actions/upload-artifact from 4.5.0 to 4.6.0 by @dependabot in #411
- build(deps): bump pyo3-build-config from 0.23.3 to 0.23.4 by @dependabot in #413
- build(deps): bump serde_json from 1.0.134 to 1.0.135 by @dependabot in #412
- build(deps): bump step-security/harden-runner from 2.10.3 to 2.10.4 by @dependabot in #416
- build(deps): bump serde_json from 1.0.135 to 1.0.137 by @dependabot in #415
- build(deps): bump PyO3/maturin-action from 1.45.0 to 1.46.0 by @dependabot in #419
- build(deps): bump pypa/gh-action-pypi-publish from 1.12.3 to 1.12.4 by @dependabot in #418
- build(deps): bump github/codeql-action from 3.28.1 to 3.28.6 by @dependabot in #417
- build(deps): bump actions/setup-python from 5.3.0 to 5.4.0 by @dependabot in #423
- build(deps): bump serde_json from 1.0.137 to 1.0.138 by @dependabot in #424
- build(deps): bump github/codeql-action from 3.28.6 to 3.28.8 by @dependabot in #422
- build(deps): bump github/codeql-action from 3.28.8 to 3.28.9 by @dependabot in #426
- build(deps): bump step-security/harden-runner from 2.10.4 to 2.11.0 by @dependabot in #427
- build(deps): bump actions/upload-artifact from 4.6.0 to 4.6.1 by @dependabot in #428
- build(deps): bump github/codeql-action from 3.28.9 to 3.28.10 by @dependabot in #429
- build(deps): bump PyO3/maturin-action from 1.46.0 to 1.47.0 by @dependabot in #430
- build(deps): bump ossf/scorecard-action from 2.4.0 to 2.4.1 by @dependabot in #431
- build(deps): bump PyO3/maturin-action from 1.47.0 to 1.47.1 by @dependabot in #441
- build(deps): bump actions/download-artifact from 4.1.8 to 4.1.9 by @dependabot in #440
- build(deps): bump serde from 1.0.217 to 1.0.218 by @dependabot in #439
- build(deps): bump pyo3-build-config from 0.23.4 to 0.23.5 by @dependabot in #438
- build(deps): bump chrono from 0.4.39 to 0.4.40 by @dependabot in #436
- build(deps): bump serde_json from 1.0.138 to 1.0.140 by @dependabot in #437
- build(deps): bump PyO3/maturin-action from 1.47.1 to 1.47.2 by @dependabot in #445
- build(deps): bump github/codeql-action from 3.28.10 to 3.28.11 by @dependabot in #446
- build(deps): bump serde from 1.0.218 to 1.0.219 by @dependabot in #444
- build(deps): bump pyo3-build-config from 0.23.5 to 0.24.0 by @dependabot in #443
- build(deps): bump dtolnay/rust-toolchain from a54c7afa936fefeb4456b2dd8068152669aa8203 to 888c2e1ea69ab0d4330cbf0af1ecc7b68f368cc1 by @dependabot in #447
- ci: remove python 3.13 until pyo3 is upgraded by @wallies in #448