Repository navigation
Conversation
Contributor
Release previewMerging this PR would release v2.4.0 (current: Changelog preview (truncated)## v2.4.0 (2026-11-16)
### Bug Fixes
- **backend**: Reject nested paths in the SPARQL resolver with a clear error
([`582c192`](https://github.com/OO-LD/oold-python/commit/582c192cb527782d927754091d250ca4fee5fc55))
### Continuous Integration
- Test against postgres 16, 17 and 18 via service containers
([`373457d`](https://github.com/OO-LD/oold-python/commit/373457dbca15192f0d057ea627b6513542b6b827))
- Upload postgres job coverage to codecov
([`259a3e9`](https://github.com/OO-LD/oold-python/commit/259a3e9bd95076551213306f29760858332715b0))
### Documentation
- **backend**: Document PostgresDocumentStore and fix sqlite db_path
([`20040e9`](https://github.com/OO-LD/oold-python/commit/20040e91a426867d8a50becbb878065238a4d4b6))
- **backend**: Document querying and nested paths
([`01de6dc`](https://github.com/OO-LD/oold-python/commit/01de6dc09f290eeb1222ceec10e174574ea8022e))
### Features
- **backend**: Add PostgresDocumentStore behind oold[postgres]
([`bf87158`](https://github.com/OO-LD/oold-python/commit/bf87158dc0522e43576a1d5187226d85552d3117))
- **backend**: Add query support to PostgresDocumentStore with a GIN index
([`f1c614f`](https://github.com/OO-LD/oold-python/commit/f1c614faa91d6065cbdb9b1239625fc2035b0fc8))
- **backend**: Match nested paths and or in SimpleDictDocumentStore
([`347fcf0`](https://github.com/OO-LD/oold-python/commit/347fcf099bebc7cdb97104ff43182c5478e9bb43))
- **model**: Build nested field conditions with attribute chaining
([`7e67f27`](https://github.com/OO-LD/oold-python/commit/7e67f2717edc6604d5ec13d7c38308ae9e074a45))
- **query**: Add the or operator and dotted field paths to the DSL
([`5300e3d`](https://github.com/OO-LD/oold-python/commit/5300e3d1cb6d63a4c39bdb6d83b0e0e8a112bbda))
### Testing
- **backend**: Add gated postgres tests with per-test table
([`9e1d783`](https://github.com/OO-LD/oold-python/commit/9e1d78301038d82462c8a1b95b87648f483e95fd))
- **backend**: Cover postgres store close and missing driver
([`5508b55`](https://github.com/OO-LD/oold-python/commit/5508b55d6ca13f689416d70e6565a1cf618ebcf1))
- **backend**: Keep benchmark test names stable
([`dbe1a14`](https://github.com/OO-LD/oold-python/commit/dbe1a14b3efc08f9b34917ec40e2073572687a7f))
- **backend**: Run one contract suite across all stores
([`36ad667`](https://github.com/OO-LD/oold-python/commit/36ad66735322908a8b39886d5d0b189f525198ed))
Preview via python-semantic-release and conventional commits. |
Contributor
📊 Benchmark ResultsClick to see benchmark comparisonThreshold: 1.3x (30% slower triggers a regression warning) Note: Benchmarks are informational only and won't fail the build. 💡 Tip: Download the |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Contributor
📊 Benchmark ResultsClick to see benchmark comparisonThreshold: 1.3x (30% slower triggers a regression warning) Note: Benchmarks are informational only and won't fail the build. 💡 Tip: Download the |
This branch has not been deployed
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
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.
Summary
Covers the last acceptance criterion of #35: optimized query generation for nested JSON paths. Stacked on #180, so this merges into
ci-test-backends, notmain.|operator, and nested paths by attribute chaining.Person.address.city == "Berlin"builds the dotted conditionaddress.city. Chaining lives in the shared descriptorFieldProxy(pydantic v2 and v1). Links and lists of models raise a clear error, and the legacy bindings raiseNotImplementedError.SimpleDictDocumentStore: nested paths andor.PostgresDocumentStore.query(): equality is jsonb containment, served by a new GINjsonb_path_opsindex (index=Falseopts out). Ranges only compare values of the same JSON type. One round trip, ordered by IRI, with an optionalquery_limit.@vocabin the context they used to expand into a made-up predicate and silently match nothing.Notes
Model.type.startswithwent from 0.44 to 0.78 µs), because it now tries chaining first.Person.knows.nameraises.main.auth.pyandsparql.pystill holdbackend/below the 90% target.Refs #35, #48