Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump fastapi-pagination from 0.12.27 to 0.12.32 in /src #22

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 18, 2024

Bumps fastapi-pagination from 0.12.27 to 0.12.32.

Release notes

Sourced from fastapi-pagination's releases.

0.12.32

  • Add support for sqlalchemy CompoundSelect. #1361

0.12.31

  • Add NotImplementedError to ignored exc when resolving unwrap-mode. #1324

0.12.30

  • Fix issue when select model with single field. #1317

NOTE! This is last release before 0.13.0 version.

0.12.29

  • Fix issue with sqlalchemy scalar select detection. #1313
  • Add unwrap mode for sqlalchemy ext. #1316

New Feature

sqlalchemy unwrap_mode allows you to control how to unwrap result rows before passing them to items transformer and page creation.

unwrap_mode can be set to one of the following values:

  • None - will use auto mode for default queries, and legacy for text and from_statement queries.
  • "auto" - will unwrap only in case if you are selecting single model.
  • "legacy" - will use old behavior, where row will be unwrapped if it contains only one element.
  • "unwrap" - will always unwrap row, even if it contains multiple elements.
  • "no-unwrap" - will never unwrap row, even if it contains only one element.

0.12.28

  • Add better logic for sqlalchemy scalars unwrapping. #1281
  • Fix issue with sqlalchemy imports for gino ext. #1282
  • Fix issue with incorrect body schema. #1299

Breaking changes

sqlachemy extension no longer requires to use items_transformer when selecting scalar field:

This code is no longer valid:

paginate(session, select(User.name), transformer=lambda items: [{'name': item} for item in items])

The correct version now is:

paginate(session, select(User.name))
Commits
  • 4b902e3 Bump to next version [no ci]
  • c7fd9e4 Add support for CompoundSelect (#1361)
  • c702d83 Merge pull request #1360 from uriyyo/dependabot/github_actions/codecov/codeco...
  • fb90429 Bump codecov/codecov-action from 4 to 5
  • c842b02 Merge pull request #1359 from uriyyo/dependabot/pip/faker-33.0.0
  • e8badd7 Bump faker from 32.1.0 to 33.0.0
  • f3f8089 Merge pull request #1357 from uriyyo/dependabot/pip/fastapi-0.115.5
  • 4cce950 Bump fastapi from 0.115.4 to 0.115.5
  • e6bd0dd Merge pull request #1356 from uriyyo/dependabot/pip/faker-32.1.0
  • 371ebd6 Bump faker from 30.8.2 to 32.1.0
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [fastapi-pagination](https://github.com/uriyyo/fastapi-pagination) from 0.12.27 to 0.12.32.
- [Release notes](https://github.com/uriyyo/fastapi-pagination/releases)
- [Commits](uriyyo/fastapi-pagination@0.12.27...0.12.32)

---
updated-dependencies:
- dependency-name: fastapi-pagination
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants