-
Notifications
You must be signed in to change notification settings - Fork 12
Deploy release v0.55.0 #881
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Refactor how substring lookups are handled for Chilean RUT fields in
Django filters, centralizing logic in the `RutFilter` class and
improving test coverage.
The main change is that the selection of the form field class for
substring lookups (like `contains` and `icontains`) is now handled
within `RutFilter.__init__()`, instead of being managed by a custom
`filter_for_lookup()` override in `SiiFilterSet`. This results in
cleaner code and more reliable behavior.
Key changes include:
- Refactoring and Logic Centralization:
- Moved the logic for selecting the appropriate `field_class` for
substring lookups (`contains`, `icontains`) from `SiiFilterSet.filter_for_lookup()`
into the `RutFilter` constructor, ensuring that substring lookups
use a plain `CharField` instead of a strict `RutField` that would
fail on invalid substrings.
- Test Enhancements:
- Added comprehensive tests for `RutFilter` to verify that the correct
`field_class` is chosen for each lookup expression, and for
`SiiFilterSet` to ensure `filter_for_lookup()` returns filters with
the correct field classes for different lookup types.
extras: Improve Django filter for `Rut`
Bumps the github-actions-production group with 2 updates: [actions/setup-python](https://github.com/actions/setup-python) and [codecov/codecov-action](https://github.com/codecov/codecov-action). Updates `actions/setup-python` from 5.6.0 to 6.0.0 - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@v5.6.0...v6.0.0) Updates `codecov/codecov-action` from 5.5.0 to 5.5.1 - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](codecov/codecov-action@fdcc847...5a10915) --- updated-dependencies: - dependency-name: actions/setup-python dependency-version: 6.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions-production - dependency-name: codecov/codecov-action dependency-version: 5.5.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions-production ... Signed-off-by: dependabot[bot] <support@github.com>
…-actions-production-0563b434fb chore(deps): Bump the github-actions-production group with 2 updates
Release v0.55.0
|
jtrobles-cdd
approved these changes
Sep 10, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.



Ref: #880