GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||
GeezerVison is showing github.com — Bump postgresql from 42.2.22 to 42.2.23 by dependabot[bot] · Pull Request #7 · ArcadeData/arcadedb Conversation
|
|
@dependabot rebase |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
1a7a8f0 to
9b24bb1
Compare
|
@dependabot rebase |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Bumps [postgresql](https://github.com/pgjdbc/pgjdbc) from 42.2.22 to 42.2.23. - [Release notes](https://github.com/pgjdbc/pgjdbc/releases) - [Changelog](https://github.com/pgjdbc/pgjdbc/blob/REL42.2.23/CHANGELOG.md) - [Commits](pgjdbc/pgjdbc@REL42.2.22...REL42.2.23) --- updated-dependencies: - dependency-name: org.postgresql:postgresql dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
9b24bb1 to
04bee7b
Compare
Bumps [at.yawk.lz4:lz4-java](https://github.com/yawkat/lz4-java) from 1.10.0 to 1.10.1. Release notes *Sourced from [at.yawk.lz4:lz4-java's releases](https://github.com/yawkat/lz4-java/releases).* > lz4-java v1.10.1 > ---------------- > > Contains fix for [CVE-2025-66566](GHSA-cmp6-m4wj-q63q)! > > What's Changed > -------------- > > * Add test for corrupted LZ4 block input stream by [`@Marcono1234`](https://github.com/Marcono1234) in [yawkat/lz4-java#7](https://redirect.github.com/yawkat/lz4-java/pull/7) > * Update documentation for checksum registration by [`@yawkat`](https://github.com/yawkat) in [yawkat/lz4-java#8](https://redirect.github.com/yawkat/lz4-java/pull/8) > * Migrate to maven-git-versioning-extension by [`@yawkat`](https://github.com/yawkat) in [yawkat/lz4-java#10](https://redirect.github.com/yawkat/lz4-java/pull/10) > * Add workflow\_dispatch trigger to multi-platform build to allow testing without release by [`@yawkat`](https://github.com/yawkat) in [yawkat/lz4-java#13](https://redirect.github.com/yawkat/lz4-java/pull/13) > * Copy native libraries to target/classes instead of src/resources by [`@yawkat`](https://github.com/yawkat) in [yawkat/lz4-java#14](https://redirect.github.com/yawkat/lz4-java/pull/14) > > **Full Changelog**: <yawkat/lz4-java@v1.10.0...v1.10.1> Commits * [`33d180c`](yawkat/lz4-java@33d180c) Merge commit from fork * [`da95a00`](yawkat/lz4-java@da95a00) Copy native libraries to target/classes instead of src/resources ([#14](https://redirect.github.com/yawkat/lz4-java/issues/14)) * [`1e9bf8c`](yawkat/lz4-java@1e9bf8c) Add workflow\_dispatch trigger to multi-platform build to allow testing withou... * [`89c02be`](yawkat/lz4-java@89c02be) Migrate to maven-git-versioning-extension ([#10](https://redirect.github.com/yawkat/lz4-java/issues/10)) * [`d948832`](yawkat/lz4-java@d948832) Update documentation for checksum registration ([#8](https://redirect.github.com/yawkat/lz4-java/issues/8)) * [`02bbbf0`](yawkat/lz4-java@02bbbf0) Add test for corrupted LZ4 block input stream ([#7](https://redirect.github.com/yawkat/lz4-java/issues/7)) * See full diff in [compare view](yawkat/lz4-java@v1.10.0...v1.10.1) [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- 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 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)
…ne [skip ci] Bumps [at.yawk.lz4:lz4-java](https://github.com/yawkat/lz4-java) from 1.10.0 to 1.10.1. Release notes *Sourced from [at.yawk.lz4:lz4-java's releases](https://github.com/yawkat/lz4-java/releases).* > lz4-java v1.10.1 > ---------------- > > Contains fix for [CVE-2025-66566](GHSA-cmp6-m4wj-q63q)! > > What's Changed > -------------- > > * Add test for corrupted LZ4 block input stream by [`@Marcono1234`](https://github.com/Marcono1234) in [yawkat/lz4-java#7](https://redirect.github.com/yawkat/lz4-java/pull/7) > * Update documentation for checksum registration by [`@yawkat`](https://github.com/yawkat) in [yawkat/lz4-java#8](https://redirect.github.com/yawkat/lz4-java/pull/8) > * Migrate to maven-git-versioning-extension by [`@yawkat`](https://github.com/yawkat) in [yawkat/lz4-java#10](https://redirect.github.com/yawkat/lz4-java/pull/10) > * Add workflow\_dispatch trigger to multi-platform build to allow testing without release by [`@yawkat`](https://github.com/yawkat) in [yawkat/lz4-java#13](https://redirect.github.com/yawkat/lz4-java/pull/13) > * Copy native libraries to target/classes instead of src/resources by [`@yawkat`](https://github.com/yawkat) in [yawkat/lz4-java#14](https://redirect.github.com/yawkat/lz4-java/pull/14) > > **Full Changelog**: <yawkat/lz4-java@v1.10.0...v1.10.1> Commits * [`33d180c`](yawkat/lz4-java@33d180c) Merge commit from fork * [`da95a00`](yawkat/lz4-java@da95a00) Copy native libraries to target/classes instead of src/resources ([#14](https://redirect.github.com/yawkat/lz4-java/issues/14)) * [`1e9bf8c`](yawkat/lz4-java@1e9bf8c) Add workflow\_dispatch trigger to multi-platform build to allow testing withou... * [`89c02be`](yawkat/lz4-java@89c02be) Migrate to maven-git-versioning-extension ([#10](https://redirect.github.com/yawkat/lz4-java/issues/10)) * [`d948832`](yawkat/lz4-java@d948832) Update documentation for checksum registration ([#8](https://redirect.github.com/yawkat/lz4-java/issues/8)) * [`02bbbf0`](yawkat/lz4-java@02bbbf0) Add test for corrupted LZ4 block input stream ([#7](https://redirect.github.com/yawkat/lz4-java/issues/7)) * See full diff in [compare view](yawkat/lz4-java@v1.10.0...v1.10.1) [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- 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 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) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/ArcadeData/arcadedb/network/alerts).
…-postgresql-42.2.23 Bump postgresql from 42.2.22 to 42.2.23
Bumps [at.yawk.lz4:lz4-java](https://github.com/yawkat/lz4-java) from 1.10.0 to 1.10.1. Release notes *Sourced from [at.yawk.lz4:lz4-java's releases](https://github.com/yawkat/lz4-java/releases).* > lz4-java v1.10.1 > ---------------- > > Contains fix for [CVE-2025-66566](GHSA-cmp6-m4wj-q63q)! > > What's Changed > -------------- > > * Add test for corrupted LZ4 block input stream by [`@Marcono1234`](https://github.com/Marcono1234) in [yawkat/lz4-java#7](https://redirect.github.com/yawkat/lz4-java/pull/7) > * Update documentation for checksum registration by [`@yawkat`](https://github.com/yawkat) in [yawkat/lz4-java#8](https://redirect.github.com/yawkat/lz4-java/pull/8) > * Migrate to maven-git-versioning-extension by [`@yawkat`](https://github.com/yawkat) in [yawkat/lz4-java#10](https://redirect.github.com/yawkat/lz4-java/pull/10) > * Add workflow\_dispatch trigger to multi-platform build to allow testing without release by [`@yawkat`](https://github.com/yawkat) in [yawkat/lz4-java#13](https://redirect.github.com/yawkat/lz4-java/pull/13) > * Copy native libraries to target/classes instead of src/resources by [`@yawkat`](https://github.com/yawkat) in [yawkat/lz4-java#14](https://redirect.github.com/yawkat/lz4-java/pull/14) > > **Full Changelog**: <yawkat/lz4-java@v1.10.0...v1.10.1> Commits * [`33d180c`](yawkat/lz4-java@33d180c) Merge commit from fork * [`da95a00`](yawkat/lz4-java@da95a00) Copy native libraries to target/classes instead of src/resources ([#14](https://redirect.github.com/yawkat/lz4-java/issues/14)) * [`1e9bf8c`](yawkat/lz4-java@1e9bf8c) Add workflow\_dispatch trigger to multi-platform build to allow testing withou... * [`89c02be`](yawkat/lz4-java@89c02be) Migrate to maven-git-versioning-extension ([#10](https://redirect.github.com/yawkat/lz4-java/issues/10)) * [`d948832`](yawkat/lz4-java@d948832) Update documentation for checksum registration ([#8](https://redirect.github.com/yawkat/lz4-java/issues/8)) * [`02bbbf0`](yawkat/lz4-java@02bbbf0) Add test for corrupted LZ4 block input stream ([#7](https://redirect.github.com/yawkat/lz4-java/issues/7)) * See full diff in [compare view](yawkat/lz4-java@v1.10.0...v1.10.1) [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- 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 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)
…ne [skip ci] Bumps [at.yawk.lz4:lz4-java](https://github.com/yawkat/lz4-java) from 1.10.0 to 1.10.1. Release notes *Sourced from [at.yawk.lz4:lz4-java's releases](https://github.com/yawkat/lz4-java/releases).* > lz4-java v1.10.1 > ---------------- > > Contains fix for [CVE-2025-66566](GHSA-cmp6-m4wj-q63q)! > > What's Changed > -------------- > > * Add test for corrupted LZ4 block input stream by [`@Marcono1234`](https://github.com/Marcono1234) in [yawkat/lz4-java#7](https://redirect.github.com/yawkat/lz4-java/pull/7) > * Update documentation for checksum registration by [`@yawkat`](https://github.com/yawkat) in [yawkat/lz4-java#8](https://redirect.github.com/yawkat/lz4-java/pull/8) > * Migrate to maven-git-versioning-extension by [`@yawkat`](https://github.com/yawkat) in [yawkat/lz4-java#10](https://redirect.github.com/yawkat/lz4-java/pull/10) > * Add workflow\_dispatch trigger to multi-platform build to allow testing without release by [`@yawkat`](https://github.com/yawkat) in [yawkat/lz4-java#13](https://redirect.github.com/yawkat/lz4-java/pull/13) > * Copy native libraries to target/classes instead of src/resources by [`@yawkat`](https://github.com/yawkat) in [yawkat/lz4-java#14](https://redirect.github.com/yawkat/lz4-java/pull/14) > > **Full Changelog**: <yawkat/lz4-java@v1.10.0...v1.10.1> Commits * [`33d180c`](yawkat/lz4-java@33d180c) Merge commit from fork * [`da95a00`](yawkat/lz4-java@da95a00) Copy native libraries to target/classes instead of src/resources ([#14](https://redirect.github.com/yawkat/lz4-java/issues/14)) * [`1e9bf8c`](yawkat/lz4-java@1e9bf8c) Add workflow\_dispatch trigger to multi-platform build to allow testing withou... * [`89c02be`](yawkat/lz4-java@89c02be) Migrate to maven-git-versioning-extension ([#10](https://redirect.github.com/yawkat/lz4-java/issues/10)) * [`d948832`](yawkat/lz4-java@d948832) Update documentation for checksum registration ([#8](https://redirect.github.com/yawkat/lz4-java/issues/8)) * [`02bbbf0`](yawkat/lz4-java@02bbbf0) Add test for corrupted LZ4 block input stream ([#7](https://redirect.github.com/yawkat/lz4-java/issues/7)) * See full diff in [compare view](yawkat/lz4-java@v1.10.0...v1.10.1) [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- 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 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) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/ArcadeData/arcadedb/network/alerts).
… /e2e-python [skip ci] Updates the requirements on [requests](https://github.com/psf/requests) to permit the latest version. Release notes *Sourced from [requests's releases](https://github.com/psf/requests/releases).* > v2.34.2 > ------- > > 2.34.2 (2026-05-14) > ------------------- > > * Moved `headers` input type back to `Mapping` to avoid invariance issues with `MutableMapping` and inferred dict types. Users calling `Request.headers.update()` may need to narrow typing in their code. ([#7441](https://redirect.github.com/psf/requests/issues/7441)) > > **Full Changelog**: <https://github.com/psf/requests/blob/main/HISTORY.md#2342-2026-05-14> Changelog *Sourced from [requests's changelog](https://github.com/psf/requests/blob/main/HISTORY.md).* > 2.34.2 (2026-05-14) > ------------------- > > * Moved `headers` input type back to `Mapping` to avoid invariance issues > with `MutableMapping` and inferred dict types. Users calling > `Request.headers.update()` may need to narrow typing in their code. ([#7441](https://redirect.github.com/psf/requests/issues/7441)) > > 2.34.1 (2026-05-13) > ------------------- > > **Bugfixes** > > * Widened `json` input type from `dict` and `list` to `Mapping` > and `Sequence`. ([#7436](https://redirect.github.com/psf/requests/issues/7436)) > * Changed `headers` input type to MutableMapping and removed `None` from > `Request.headers` typing to improve handling for users. ([#7431](https://redirect.github.com/psf/requests/issues/7431)) > * `Response.reason` moved from `str | None` to `str` to improve handling > for users. ([#7437](https://redirect.github.com/psf/requests/issues/7437)) > * Fixed a bug where some bodies with custom `__getattr__` implementations > weren't being properly detected as Iterables. ([#7433](https://redirect.github.com/psf/requests/issues/7433)) > > 2.34.0 (2026-05-11) > ------------------- > > **Announcements** > > * Requests 2.34.0 introduces inline types, replacing those provided by > typeshed. Public API types should be fully compatible with mypy, pyright, > and ty. We believe types are comprehensive but if you find issues, please > report them to the pinned tracking issue. > > Special thanks to [`@bastimeyer`](https://github.com/bastimeyer), [`@cthoyt`](https://github.com/cthoyt), [`@edgarrmondragon`](https://github.com/edgarrmondragon), and [`@srittau`](https://github.com/srittau) for > helping review and test the types ahead of the release. ([#7272](https://redirect.github.com/psf/requests/issues/7272)) > > **Improvements** > > * Digest Auth hashing algorithms have added `usedforsecurity=False` to clarify > security considerations. ([#7310](https://redirect.github.com/psf/requests/issues/7310)) > * Requests added support for Python 3.15 based on beta1. Downstream projects > should be able to start testing prior to its release in October. ([#7422](https://redirect.github.com/psf/requests/issues/7422)) > * Requests added support for Python 3.14t. ([#7419](https://redirect.github.com/psf/requests/issues/7419)) > > **Bugfixes** > > * `Response.history` no longer contains a reference to itself, preventing > accidental looping when traversing the history list. ([#7328](https://redirect.github.com/psf/requests/issues/7328)) > * Requests no longer performs greedy matching on no\_proxy domains. The > proxy\_bypass implementation has been updated with CPython's fix from > bpo-39057. ([#7427](https://redirect.github.com/psf/requests/issues/7427)) > * Requests no longer incorrectly strips duplicate leading slashes in > URI paths. This should address user issues with specific presigned > URLs. Note the full fix requires urllib3 2.7.0+. ([#7315](https://redirect.github.com/psf/requests/issues/7315)) ... (truncated) Commits * [`6e83187`](psf/requests@6e83187) v2.34.2 * [`84d10f0`](psf/requests@84d10f0) Move Request.headers back to Mapping ([#7441](https://redirect.github.com/psf/requests/issues/7441)) * [`b7b549b`](psf/requests@b7b549b) v2.34.1 * [`e511bc7`](psf/requests@e511bc7) Fix mutability issues with headers input types ([#7431](https://redirect.github.com/psf/requests/issues/7431)) * [`5691f59`](psf/requests@5691f59) Update JsonType containers to read-based collections ([#7436](https://redirect.github.com/psf/requests/issues/7436)) * [`2144213`](psf/requests@2144213) Constrain Response.reason to str ([#7437](https://redirect.github.com/psf/requests/issues/7437)) * [`6404f34`](psf/requests@6404f34) Fix `prepare_body` stream detection for `__getattr__`-based file wrappers ([#7](https://redirect.github.com/psf/requests/issues/7)... * [`0b401c7`](psf/requests@0b401c7) v2.34.0 * [`86b378d`](psf/requests@86b378d) Align Session.get parameters with requests.get ([#7429](https://redirect.github.com/psf/requests/issues/7429)) * [`a4f9a59`](psf/requests@a4f9a59) Port bpo-39057 to Requests ([#7427](https://redirect.github.com/psf/requests/issues/7427)) * Additional commits viewable in [compare view](psf/requests@v2.32.5...v2.34.2) 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-automerge-start) [//]: # (dependabot-automerge-end) --- 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 show 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)
…ting by it deletes that edge only (#12145) Fixes #12132. ### Problem Every lightweight edge of a type answered the same `elementId()`, the record-less marker `#<type bucket>:-1` that the edge lists store. The relationship element-id filter is a per-row string compare, so with an id read from ONE edge, `MATCH ()-[r:L]->() WHERE elementId(r) = $id DELETE r` deleted EVERY lightweight edge of the type. Bolt put the same string in `Relationship.element_id`, so a driver that sent it back hit the same delete. SQL `SELECT DISTINCT(@this) FROM L` also collapsed all the lightweight edges into one row. ### Semantics chosen A lightweight edge gets an element id that names it, built from what its `LightEdgeRID` already carries: ``` #<type bucket>:-1/<out RID>/<in RID> e.g. #7:-1/#1:0/#4:0 #<type bucket>:-1/<out RID>/<in RID>/<n> the n-th (n >= 1) parallel twin of the same (type, out, in) ``` Why this shape, and not refusing (`null`) the way `id()` does since #9573: - openCypher / Neo4j: `elementId()` identifies one relationship and is meant to be handed back. A `null` would make the delete safe but would break every application that reads relationship ids. Lightweight edges have no properties, so endpoints plus the twin occurrence are their whole identity. That is the identity the engine already uses for `=`, `DISTINCT` and relationship uniqueness (`LightEdgeRID.isSameEdge` / `distinctKey`, #9573, #10008). - It is deliberately NOT a RID (`RID.is()` is false for it). No RID seek and no `id()`/RID-string coercion in `ComparisonExpression` can take it for a record address. The old `#7:-1` value now matches no edge at all, instead of all of them. - It is the same from either end. The out and in lists number twins alike (tested from the OUT side, the IN side and undirected). - Twins: the occurrence is resolved through the iteration's `LightEdgeCensus`, so a list is walked about twice per iteration, not once per edge. After one twin is deleted, the occurrences renumber. Which twin a stale id names can therefore shift, but twins carry nothing to tell them apart, and deleting by either twin's id removes exactly one (tested for both twins). - `id()` stays `null` (#9573): a lightweight edge has no position to encode in the numeric id. ### Changes - `LightEdgeRID.toElementId()`: the id above. - `ElementIdFunction`: answers `ElementIdFunction.of(rid)`, the RID string for records and `toElementId()` for a lightweight edge. - `BoltStructureMapper.toRelationship` / `toUnboundRelationship`: use the same `ElementIdFunction.of`, so the Bolt `element_id` and `elementId(r)` agree. Mapping a lightweight edge also threw before (`Cannot encode RID #4:-1 as a numeric id()`), so no Bolt query could return one. A lightweight relationship now gets a negative numeric id, a 64-bit FNV-1a hash of its element id. No record id is negative, so the two can never collide, and `id(r)` stays null, so no `WHERE id(r) = ...` can resolve to it. - `DistinctExecutionStep` (SQL `DISTINCT`): a row whose element identity determines the output but has no record address (the RID fast path refuses `position < 0`) was keyed by its properties alone, and a lightweight edge has none. It is now keyed by its identity too, with twins told apart by `LightEdgeRID.distinctKey()`, as in openCypher. ### Tests - `CypherLightEdgeTest.Issue12132LightEdgeElementId` (engine; all red on `main` except the side-independence check): - three lightweight edges have three distinct ids, none parses as a RID, and record-backed edges still answer their RID - the id is the same read from the OUT side, the IN side and undirected - deleting by the id of one edge, in a second statement or in the same statement through `WITH`, deletes only that edge; the old `#bucket:-1` value deletes nothing - parallel twins have distinct ids, the same from both ends; deleting by either twin's id leaves the other - SQL `SELECT DISTINCT(@this) FROM L` and `SELECT DISTINCT @this FROM L` return 3 rows - `Issue12132LightEdgeElementIdTest` (bolt): the Bolt relationship and unbound-relationship element ids equal `elementId(r)` and differ per edge; the numeric ids are negative and differ per edge (on `main` the mapping throws). Ran: `CypherLightEdgeTest` (all nested), `LightEdgeRIDOccurrenceTest`, `LightEdgeCensusTest`, `CollectDistinctTest`, `CypherExplainTraditionalPlanTest`, `CypherMissingFunctionsTest`, `OpenCypherCollectUnwindTest`, `OpenCypherFunctionTest`, `OpenCypherScalarFunctionsComprehensiveTest`, `DistinctWithGroupByUnwindExpandTest`, `DistinctExecutionStepTest`, `SelectStatementExecutionTest`, `LightweightEdgeTypeTest`, `LightweightEdgeScanAndWriteTest`, `LightEdgeRegressionTest` (engine); `Issue12132LightEdgeElementIdTest`, `Bolt4998PathMappingTest`, `BoltStructureTest` (bolt). <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **Bug Fixes** * Lightweight relationships now have distinct, stable element IDs, including when multiple relationships connect the same vertices. * Using an element ID to delete a lightweight relationship now removes only the matching relationship. * Queries and returned paths now distinguish parallel lightweight relationships correctly, including when applying `DISTINCT` or reading relationships from either direction. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: lvca <[email protected]>
…crosses record kinds (#12063) Fixes #12028 Fixes #12029 Both issues are missing refusals in the same place: the checks a super type link is asked before anything changes (`LocalDocumentType.checkCanAddSuperType`, which `ALTER TYPE ... SUPERTYPE +`, `Schema` API `addSuperType` and `TypeBuilder` on an existing type all go through). So they are fixed together, in one PR. ### What changes - **Cycle (#12028)**: `checkCanAddSuperType` refuses, first and for every linkage, a super type that is the type itself or already one of its sub types (`DocumentType.isSubTypeOf`, which only walks up the super type lists and so ends). The statement is refused with a `SchemaException` (HTTP 400) before the link is made, so nothing is left in memory. It used to link, overflow the stack in the post-link steps (a `StackOverflowError` is not the `RuntimeException` the unlink guard catches), and keep the cycle. - **Load**: a `schema.json` that already holds a cycle (the next schema save after the old 500 could write one) still opens. The inheritance restore leaves out the link that would close the cycle and logs a warning naming it. Before, every polymorphic walk over the loaded cycle overflowed. - **Record kind (#12029)**: a new linkage refuses a graph super type of another kind (a document or edge type under a vertex type, a vertex or document type under an edge type), in `checkCanAddSuperType` for ALTER and in `TypeBuilder` for a new type (`CREATE ... TYPE ... EXTENDS` and the Java builder). A DOCUMENT super type stays legal for a vertex or an edge type: existing schemas use it to share properties (`SchemaTest.dropNonExistentIndexThenCreateProperty` has `CREATE VERTEX TYPE ... EXTENDS <document type>`), and a vertex or an edge is a document, so a scan of the super type reads nothing it cannot hold. Linkages that already hold (schema load, re-attachment after `DROP TYPE`) are not asked, so a database written before the check still opens. ### Tests `SuperTypeAdmissionTest` (new, engine, one nested class per issue): - cycle refused through SQL (direct and two levels down), the Java API and the type builder; schema unchanged, `SELECT FROM A` and `CREATE PROPERTY A.y` work after; - a hand-edited `schema.json` holding a cycle opens, keeps two of the three links, scans and saves; - ALTER refuses document under vertex, vertex under edge, edge under vertex; same kind, and vertex or edge under document, stay legal; Cypher `MATCH (v:V)` answers; - `CREATE DOCUMENT TYPE ... EXTENDS <vertex>`, `CREATE EDGE TYPE ... EXTENDS <vertex>`, `CREATE VERTEX TYPE ... EXTENDS <edge>` and `buildDocumentType().withSuperType(<vertex>)` refused, no type created; `CREATE VERTEX TYPE ... EXTENDS <document>` and an edge type built over a document type stay legal; - a hand-edited `schema.json` with a cross-kind link still opens. ### Results Engine tests (Docker, maven:3.9-eclipse-temurin-21): - failing-first with `engine/src/main` from origin/main: `SuperTypeAdmissionTest` 6 run, 5 fail (4 failures, 1 error: `aSchemaFileWithACycleStillOpens` StackOverflowError). - `-Dtest='com/arcadedb/schema/**/*Test,SuperTypeAdmissionTest' -DexcludedGroups=slow`: 1812 tests, 0 failures, 0 errors, 0 skipped. - whole engine module, `-pl engine test -DexcludedGroups=slow`: 27969 tests, 2 failures, 3 errors, 22 skipped. None is from this change: `ParallelSafeExpressionsStateTest` (1 failure) and `CypherCallInTransactionsOnErrorIssue11595Test` (3 errors) fail the same way with `engine/src/main` from origin/main; `ReplicatedApplyPublicationTest` (1 failure) passed on origin/main and passed again alone on this branch (timing-dependent). - server module, `-pl server -am test -Dtest='com/arcadedb/server/**/*Http*Test,com/arcadedb/server/**/*Command*Test,com/arcadedb/server/**/*Schema*Test'`: 263 tests, 0 failures, 0 errors, 0 skipped. - server ITs that send DDL and assert HTTP statuses (28 classes, among them `HTTPDocumentIT`, `HTTPGraphIT`, `RemoteDatabaseIT`, `SchemaMutationAuthorizationIT`, `FacetsSubtypeAclIT`, `TestLinkedPropertiesSchemaReloadIT`): 187 tests, 0 failures, 0 errors, 0 skipped. End to end, HTTP against a server built from main (`s12028` repro): Server with the main jars (a7304ab): version 200 == cycle: A <- B <- C, then ALTER TYPE A SUPERTYPE +C 200 CREATE VERTEX TYPE A -> [{"operation": "create vertex type", "typeName": "A", "created": true}] 200 CREATE VERTEX TYPE B EXTENDS A -> [{"operation": "create vertex type", "typeName": "B", "created": true}] 200 CREATE VERTEX TYPE C EXTENDS B -> [{"operation": "create vertex type", "typeName": "C", "created": true}] 200 INSERT INTO C SET x = 1 -> [{"@Rid": "#7:0", "@type": "C", "@cat": "v", "x": 1}] 500 ALTER TYPE A SUPERTYPE +C -> "DatabaseOperationException: Error during write lock -> StackOverflowError" 200 SELECT name, parentTypes FROM schema:types ORDER BY name -> [{"name": "A", "parentTypes": ["C"]}, {"name": "B", "parentTypes": ["A"]}, {"name": "C", "parentTypes": ["B"]}] 200 SELECT count(*) FROM A -> [{"count(*)": 1}] 500 SELECT FROM A -> "StackOverflowError: java.lang.StackOverflowError" 500 CREATE PROPERTY A.y INTEGER -> "DatabaseOperationException: Error during write lock -> StackOverflowError" 400 INSERT INTO A SET x = 2 -> "CommandSQLParsingException: The statement is nested or chained too deeply to be executed (the thread stack overflowed while building the plan) -> StackOverflowError" == cross kind: document type D gets vertex super type V; vertex type W gets edge super type E 200 CREATE VERTEX TYPE V -> [{"operation": "create vertex type", "typeName": "V", "created": true}] 200 CREATE DOCUMENT TYPE D -> [{"operation": "create document type", "typeName": "D", "created": true}] 200 CREATE EDGE TYPE E -> [{"operation": "create edge type", "typeName": "E", "created": true}] 200 CREATE VERTEX TYPE W -> [{"operation": "create vertex type", "typeName": "W", "created": true}] 200 INSERT INTO V SET n = 1 -> [{"@Rid": "#1:0", "@type": "V", "@cat": "v", "n": 1}] 200 INSERT INTO D SET n = 2 -> [{"@Rid": "#4:0", "@type": "D", "@cat": "d", "n": 2}] 200 INSERT INTO W SET n = 3 -> [{"@Rid": "#6:0", "@type": "W", "@cat": "v", "n": 3}] 200 ALTER TYPE D SUPERTYPE +V -> [{"supertype": ["V"], "operation": "ALTER TYPE", "typeName": "D", "result": "OK"}] 200 ALTER TYPE W SUPERTYPE +E -> [{"supertype": ["E"], "operation": "ALTER TYPE", "typeName": "W", "result": "OK"}] 200 SELECT name, type, parentTypes FROM schema:types ORDER BY name -> [{"name": "D", "type": "document", "parentTypes": ["V"]}, {"name": "E", "type": "edge", "parentTypes": []}, {"name": "V", "type": "vertex", "parentTypes": []}, {"name": "W", "type": "vertex", "parentTypes": ["E"]}] 200 SELECT @Rid, @type, @cat, n FROM V -> [{"@Rid": "#1:0", "@type": "V", "@cat": "v", "n": 1}, {"@Rid": "#4:0", "@type": "D", "@cat": "d", "n": 2}] 500 MATCH (v:V) RETURN v.n -> "ClassCastException: Cannot cast the document #4:0 to a vertex" 200 SELECT @Rid, @type, @cat, n FROM E -> [{"@Rid": "#6:0", "@type": "W", "@cat": "v", "n": 3}] 200 MATCH ()-[e:E]->() RETURN count(e) -> [{"count(e)": 0}] Same server, engine jar built from this branch: version 200 == cycle: A <- B <- C, then ALTER TYPE A SUPERTYPE +C 200 CREATE VERTEX TYPE A -> [{"operation": "create vertex type", "typeName": "A", "created": true}] 200 CREATE VERTEX TYPE B EXTENDS A -> [{"operation": "create vertex type", "typeName": "B", "created": true}] 200 CREATE VERTEX TYPE C EXTENDS B -> [{"operation": "create vertex type", "typeName": "C", "created": true}] 200 INSERT INTO C SET x = 1 -> [{"@Rid": "#7:0", "@type": "C", "@cat": "v", "x": 1}] 400 ALTER TYPE A SUPERTYPE +C -> "SchemaException: Cannot make type 'A' a sub type of 'C': 'C' is already a sub type of 'A', and a type hierarchy cannot have a cycle" 200 SELECT name, parentTypes FROM schema:types ORDER BY name -> [{"name": "A", "parentTypes": []}, {"name": "B", "parentTypes": ["A"]}, {"name": "C", "parentTypes": ["B"]}] 200 SELECT count(*) FROM A -> [{"count(*)": 1}] 200 SELECT FROM A -> [{"@Rid": "#7:0", "@type": "C", "@cat": "v", "x": 1}] 200 CREATE PROPERTY A.y INTEGER -> [{"operation": "create property", "typeName": "A", "propertyName": "y", "created": true}] 200 INSERT INTO A SET x = 2 -> [{"@Rid": "#1:0", "@type": "A", "@cat": "v", "x": 2}] == cross kind: document type D gets vertex super type V; vertex type W gets edge super type E 200 CREATE VERTEX TYPE V -> [{"operation": "create vertex type", "typeName": "V", "created": true}] 200 CREATE DOCUMENT TYPE D -> [{"operation": "create document type", "typeName": "D", "created": true}] 200 CREATE EDGE TYPE E -> [{"operation": "create edge type", "typeName": "E", "created": true}] 200 CREATE VERTEX TYPE W -> [{"operation": "create vertex type", "typeName": "W", "created": true}] 200 INSERT INTO V SET n = 1 -> [{"@Rid": "#1:0", "@type": "V", "@cat": "v", "n": 1}] 200 INSERT INTO D SET n = 2 -> [{"@Rid": "#4:0", "@type": "D", "@cat": "d", "n": 2}] 200 INSERT INTO W SET n = 3 -> [{"@Rid": "#6:0", "@type": "W", "@cat": "v", "n": 3}] 400 ALTER TYPE D SUPERTYPE +V -> "SchemaException: Cannot make the document type 'D' a sub type of the vertex type 'V': a type can only extend a document type or a type of its own kind" 400 ALTER TYPE W SUPERTYPE +E -> "SchemaException: Cannot make the vertex type 'W' a sub type of the edge type 'E': a type can only extend a document type or a type of its own kind" 200 SELECT name, type, parentTypes FROM schema:types ORDER BY name -> [{"name": "D", "type": "document", "parentTypes": []}, {"name": "E", "type": "edge", "parentTypes": []}, {"name": "V", "type": "vertex", "parentTypes": []}, {"name": "W", "type": "vertex", "parentTypes": []}] 200 SELECT @Rid, @type, @cat, n FROM V -> [{"@Rid": "#1:0", "@type": "V", "@cat": "v", "n": 1}] 200 MATCH (v:V) RETURN v.n -> [{"v.n": 1}] 200 SELECT @Rid, @type, @cat, n FROM E -> [] 200 MATCH ()-[e:E]->() RETURN count(e) -> [{"count(e)": 0}] Overlap note: separate PRs for #12031, #12032, #12035, #12036, #12038 and #12039 are being prepared in the same area (`LocalDocumentType`, `LocalSchema`, `ExistingRecordsCheck`, the ALTER/CREATE TYPE statements). Textual merge conflicts with them are possible; the changes are meant to be independent. This PR and the one for #12030 both add a step at the end of `LocalDocumentType.checkCanAddSuperType`, so the second to merge needs a small rebase. ### Merge note: #12067 This PR conflicts textually with #12067 in `LocalDocumentType.java`, around line 3496. Both add private methods directly after `checkCanAddSuperType`. This PR adds `checkNoCycle`, `checkSameRecordKind` and `recordKindName`; #12067 adds `checkStoredRecordsMeetInheritedProperties`. To resolve it, keep both blocks. One ordering rule applies after the merge. #12067's stored-record scan (`checkStoredRecordsMeetInheritedProperties`, which walks `superType.getPolymorphicProperties()`) has to stay after the `checkNoCycle` call that this PR puts at the head of `checkCanAddSuperType`. Run before it, that walk could follow a cycle before the cycle check refuses it. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **Bug Fixes** * Schema inheritance now rejects cycles and incompatible record types, preventing invalid parent-child relationships from being created through SQL commands or builders. * Existing schema files with cyclic or incompatible inheritance links can still load; invalid links are skipped. * Type removal now refuses to proceed when reattaching child types would create an incompatible relationship. Same-kind inheritance and document supertypes for graph types remain supported. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: lvca <[email protected]>
…ut of a view's columns (#12231) Fixes #12229. ### Problem A Graph Analytical View keeps a property out of its columns when its types declare it with different column types, but the exclusion did not hold: 1. The collector removed the name on the conflict and the next type declaring it added it again: `A.p INTEGER`, `B.p DOUBLE`, `C.p INTEGER` gave an `INT` column for `p` (the same for edge properties: `R.w INTEGER`, `S.w DOUBLE`, `T.w INTEGER` gave an `INT` edge column for `w`). 2. When the conflict left no declared vertex property, the build fell back to sampling records for schemaless properties, and the first sampled value created a column for the conflicting name: `A.p INTEGER`, `B.p DOUBLE` gave an `INT` column. In both vertex cases the view served `p` for the `INTEGER` types from the column and held nothing for the `DOUBLE` vertices (their values do not round-trip through `INT`, so `fillProperties` skips them). ### Change `CSRBuilder`: - One collector, `declaredColumnTypes(typeNames, included, conflicting, ...)`, replaces `collectSchemaProperties` and `collectEdgeSchemaProperties`, which were the same loop with a different filter and log text. It records every name that conflicted in `conflicting` and skips that name for every later type. - The vertex path keeps that set for the build, and `sampleProperties` skips the names in it. ### Tests New `GavPropertyTypeConflictTest`: | test | `engine/src/main` from `origin/main` | this branch | |---|---|---| | `aVertexPropertyConflictStaysAcrossALaterType` (A INTEGER, B DOUBLE, C INTEGER) | fails: `{#7:0=4, #4:0=null, #4:1=null, #1:0=1}` served from the view | passes, no vertex served `p` from a column | | `aVertexPropertyConflictIsNotSampledBack` (A INTEGER, B DOUBLE) | fails: `{#4:0=null, #4:1=null, #1:0=1}` | passes | | `anEdgePropertyConflictStaysAcrossALaterType` (R INTEGER, S DOUBLE, T INTEGER) | fails: the view has an edge column | passes | `com/arcadedb/graph/olap/**/*Test` and `WeightedPathTest` (excluding `slow`): 743 tests, all pass. ### Overlap with #12194 #12194 (open) changes `collectEdgeSchemaProperties` the same way for the edge case (commit eab5491, from a review comment). Whichever of the two merges second needs that method resolved to the shared `declaredColumnTypes` of this PR. --------- Co-authored-by: lvca <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.