Fastapi-filter

Latest version: v2.0.1

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

Scan your dependencies

Page 5 of 6

0.1.5

Main contribution

* Bump fastapi from 0.83.0 to 0.84.0 by dependabot in https://github.com/arthurio/fastapi-filter/pull/107

What's Changed
* Bump mkdocs-material from 8.4.4 to 8.5.0 by dependabot in https://github.com/arthurio/fastapi-filter/pull/106


**Full Changelog**: https://github.com/arthurio/fastapi-filter/compare/v0.1.4...v0.1.5

0.1.4

Main contribution

* Bump fastapi from 0.81.0 to 0.83.0 by dependabot in https://github.com/arthurio/fastapi-filter/pull/102

What's Changed
* Bump pytest from 7.1.2 to 7.1.3 by dependabot in https://github.com/arthurio/fastapi-filter/pull/98
* Bump ipython from 8.4.0 to 8.5.0 by dependabot in https://github.com/arthurio/fastapi-filter/pull/99
* Bump sqlalchemy from 1.4.40 to 1.4.41 by dependabot in https://github.com/arthurio/fastapi-filter/pull/100
* Bump faker from 14.1.1 to 14.2.0 by dependabot in https://github.com/arthurio/fastapi-filter/pull/96
* Bump black from 22.6.0 to 22.8.0 by dependabot in https://github.com/arthurio/fastapi-filter/pull/95
* Bump mkdocs-material from 8.4.2 to 8.4.4 by dependabot in https://github.com/arthurio/fastapi-filter/pull/104
* Bump sqlalchemy2-stubs from 0.0.2a26 to 0.0.2a27 by dependabot in https://github.com/arthurio/fastapi-filter/pull/94


**Full Changelog**: https://github.com/arthurio/fastapi-filter/compare/v0.1.3...v0.1.4

0.1.3

Main contribution

* Bump fastapi from 0.80.0 to 0.81.0 by dependabot in https://github.com/arthurio/fastapi-filter/pull/90

What's Changed
* Bump greenlet from 1.1.2 to 1.1.3 by dependabot in https://github.com/arthurio/fastapi-filter/pull/87
* Bump uvicorn from 0.18.2 to 0.18.3 by dependabot in https://github.com/arthurio/fastapi-filter/pull/86
* Bump types-setuptools from 65.1.0 to 65.3.0 by dependabot in https://github.com/arthurio/fastapi-filter/pull/88
* Bump faker from 14.1.0 to 14.1.1 by dependabot in https://github.com/arthurio/fastapi-filter/pull/92
* Bump sqlalchemy2-stubs from 0.0.2a25 to 0.0.2a26 by dependabot in https://github.com/arthurio/fastapi-filter/pull/89
* Bump mkdocs-material from 8.4.1 to 8.4.2 by dependabot in https://github.com/arthurio/fastapi-filter/pull/91


**Full Changelog**: https://github.com/arthurio/fastapi-filter/compare/v0.1.2...v0.1.3

0.1.2

Main contribution

* Bump fastapi from 0.79.0 to 0.80.0 by dependabot in https://github.com/arthurio/fastapi-filter/pull/84

Dependency updates

* Bump faker from 13.15.0 to 13.15.1 by dependabot in https://github.com/arthurio/fastapi-filter/pull/63
* Bump types-setuptools from 63.2.1 to 63.2.2 by dependabot in https://github.com/arthurio/fastapi-filter/pull/65
* Bump flake8-simplify from 0.19.2 to 0.19.3 by dependabot in https://github.com/arthurio/fastapi-filter/pull/66
* Bump flake8 from 4.0.1 to 5.0.4 by dependabot in https://github.com/arthurio/fastapi-filter/pull/71
* Bump types-setuptools from 63.2.2 to 63.4.1 by dependabot in https://github.com/arthurio/fastapi-filter/pull/75
* Bump types-setuptools from 63.4.1 to 64.0.0 by dependabot in https://github.com/arthurio/fastapi-filter/pull/77
* Bump faker from 13.15.1 to 14.0.0 by dependabot in https://github.com/arthurio/fastapi-filter/pull/76
* Bump sqlalchemy from 1.4.39 to 1.4.40 by dependabot in https://github.com/arthurio/fastapi-filter/pull/73
* Bump types-setuptools from 64.0.0 to 64.0.1 by dependabot in https://github.com/arthurio/fastapi-filter/pull/79
* Bump sqlalchemy2-stubs from 0.0.2a24 to 0.0.2a25 by dependabot in https://github.com/arthurio/fastapi-filter/pull/74
* Bump mkdocs-material from 8.3.9 to 8.4.0 by dependabot in https://github.com/arthurio/fastapi-filter/pull/78
* Bump faker from 14.0.0 to 14.1.0 by dependabot in https://github.com/arthurio/fastapi-filter/pull/81
* Bump types-setuptools from 64.0.1 to 65.1.0 by dependabot in https://github.com/arthurio/fastapi-filter/pull/83
* Bump mkdocs-material from 8.4.0 to 8.4.1 by dependabot in https://github.com/arthurio/fastapi-filter/pull/82


**Full Changelog**: https://github.com/arthurio/fastapi-filter/compare/v0.1.1...v0.1.2

0.1.1

Main contribution

* Support empty order_id= + perform validation for custom order_by field by arthurio in https://github.com/arthurio/fastapi-filter/pull/61

Bug fixes

* Handle passing empty `?order_by=`
* Fix validator for custom ordering field names

**Full Changelog**: https://github.com/arthurio/fastapi-filter/compare/v0.1.0...v0.1.1

0.1.0

🫱🏻‍🫲🏾 Main contributions

* 📦 Move ordering inside the Filter class and update tests, docs, and examples by arthurio in https://github.com/arthurio/fastapi-filter/pull/58

✨ Updates

- `order_by` is now part of the Filter class so that you don't have to manage them separately.
- You can add a validator to restrict which fields can be sortable (returns a 422 if invalid as opposed to 500 before)
- `order_by` is now a `list[str]` instead of `str` that you have to manually parse
- Prevent using twice the same field name for ordering (e.g. can't do `?order_by=name,-name` or `?order_by=name,age,name`)
- Docs are updated and `order_by` section has some stuff now
- Added more tests
- You can change the default name (`order_by`) for ordering by overriding `Filter.Constants.ordering_field_name`

🚨 Breaking changes

- We now use `Constants.model` everywhere (instead of `model` for SQLAlchemy and `collection` for MongoEngine)
- The `Constants` class has to inherit from parent or redefine all the fields. (`class Constants(Filter.Constants):`).
- `OrderBy` no longer exists, just add `order_by: list[str] | None` to your filters if you want to add ordering capabilities.

🔗 Dependency updates
* Bump requests from 2.28.0 to 2.28.1 by dependabot in https://github.com/arthurio/fastapi-filter/pull/40
* Bump ujson from 5.2.0 to 5.4.0 by dependabot in https://github.com/arthurio/fastapi-filter/pull/43
* Bump typing-extensions from 4.2.0 to 4.3.0 by dependabot in https://github.com/arthurio/fastapi-filter/pull/41
* Bump python-lsp-server from 1.4.1 to 1.5.0 by dependabot in https://github.com/arthurio/fastapi-filter/pull/47
* Bump pytest-asyncio from 0.18.3 to 0.19.0 by dependabot in https://github.com/arthurio/fastapi-filter/pull/54
* Bump mongoengine from 0.24.1 to 0.24.2 by dependabot in https://github.com/arthurio/fastapi-filter/pull/51
* Bump pudb from 2022.1.1 to 2022.1.2 by dependabot in https://github.com/arthurio/fastapi-filter/pull/56
* Bump mkdocs-material from 8.3.8 to 8.3.9 by dependabot in https://github.com/arthurio/fastapi-filter/pull/42
* Bump mkdocs from 1.3.0 to 1.3.1 by dependabot in https://github.com/arthurio/fastapi-filter/pull/57
* Bump faker from 13.14.0 to 13.15.0 by dependabot in https://github.com/arthurio/fastapi-filter/pull/44
* Bump types-setuptools from 57.4.18 to 63.2.1 by dependabot in https://github.com/arthurio/fastapi-filter/pull/53
* Bump pre-commit from 2.19.0 to 2.20.0 by dependabot in https://github.com/arthurio/fastapi-filter/pull/45
* Bump mypy from 0.961 to 0.971 by dependabot in https://github.com/arthurio/fastapi-filter/pull/55
* Bump fastapi from 0.78.0 to 0.79.0 by dependabot in https://github.com/arthurio/fastapi-filter/pull/50
* Bump sqlalchemy-utils from 0.38.2 to 0.38.3 by dependabot in https://github.com/arthurio/fastapi-filter/pull/48


**Full Changelog**: https://github.com/arthurio/fastapi-filter/compare/v0.0.4...v0.1.0

Page 5 of 6

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.