Skip to content

Comments

Bump gremlin.version from 3.4.10 to 3.5.1#2

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/maven/gremlin.version-3.5.1
Closed

Bump gremlin.version from 3.4.10 to 3.5.1#2
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/maven/gremlin.version-3.5.1

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 16, 2021

Bumps gremlin.version from 3.4.10 to 3.5.1.
Updates gremlin-core from 3.4.10 to 3.5.1

Changelog

Sourced from gremlin-core's changelog.

=== TinkerPop 3.5.1 (Release Date: July 19, 2021)

This release also includes changes from .

  • Added support for g.tx() in Javascript.
  • Fixed bug in Javascript error message related to validating anonymous traversal spawns.
  • Changed close of Python and Javascript connections to no longer send a "close message" as the server no longer acknowledges it as of 3.5.0.
  • Fixed bug where the Graph instance was not being assigned to child traversals.
  • Removed sending of deprecated session close message from Gremlin.Net driver.

==== Bugs

  • TINKERPOP-2358 Potential connection leak on client disposing
  • TINKERPOP-2554 Extracting step metrics from ProfileStep throws NPE if the step was not triggered
  • TINKERPOP-2565 GraphMLWriter does not check vertexLabelKey conflict
  • TINKERPOP-2566 Incomplete error message in bytecode step generation
  • TINKERPOP-2568 Graph instance not set for child traversals
  • TINKERPOP-2578 Set arguments to P within/without are wrapped in List
  • TINKERPOP-2579 EventStrategy doesn't work with anonymous traversal
  • TINKERPOP-2580 Update the custom DSL documentation

==== Improvements

  • TINKERPOP-2548 Add getter for indexer used in IndexStep
  • TINKERPOP-2551 Setup scripts to publish Gremint to npm
  • TINKERPOP-2557 Support remote transactions in Javascript
  • TINKERPOP-2559 Stop sending the close message for .NET
  • TINKERPOP-2560 Stop sending close message for Python
  • TINKERPOP-2561 Stop sending close message in Javascript
  • TINKERPOP-2576 Setup automatic updates via Dependabot for Gremlin.NET
  • TINKERPOP-2577 Remove unused test coverage dependencies from Gremlin.NET

[[release-3-5-0]] === TinkerPop 3.5.0 (Release Date: May 3, 2021)

This release also includes changes from .

  • Changed transport implementation to use AIOHTTP instead of Tornado for gremlin-python.
  • Added max_content_length and unit test for it in gremlin-python.
  • Removed compression_option support for transport in gremlin-python.
  • Fixed event loop issues and added unit test for it in gremlin-python.
  • Fixed DriverRemoteConnection multithreading issues and added unit test for it in gremlin-python.
  • Fixed heartbeat timeout issues and tested with local server manually for gremlin-python.
  • Fixed build errors emitted for gremlin-python (asyncio task destroyed but is pending error).
  • Added gremlin-language module.
  • Allowed the possibility for the propagation of null as a Traverser in Gremlin.
  • Added a fully shaded version of gremlin-driver.
  • Exposed websocket connection status in JavaScript driver.
  • Fixed a bug where spark-gremlin was not re-attaching properties when using dedup().
  • Fixed a bug in WsAndHttpChannelizer pipeline configuration where failed object aggregation could not write back HTTP responses.

... (truncated)

Commits
  • d8cf7b5 Merge branch '3.4-dev' into 3.5-dev
  • ace4a1d Remove more gremlint binaries from source release CTR
  • e0426e9 TinkerPop 3.5.1 release
  • de85794 Merge branch '3.4-dev' into 3.5-dev
  • 6333c73 TinkerPop 3.4.12 release
  • 1508152 Minor release docs changes CTR
  • 87e5a1e Fixed bad link CTR
  • 7e83325 Added upgrade docs for tx() in javascript CTR
  • bb14095 Merge branch '3.4-dev' into 3.5-dev
  • 3b5e087 Describe Maven deployment config CTR
  • Additional commits viewable in compare view

Updates gremlin-groovy from 3.4.10 to 3.5.1

Changelog

Sourced from gremlin-groovy's changelog.

=== TinkerPop 3.5.1 (Release Date: July 19, 2021)

This release also includes changes from .

  • Added support for g.tx() in Javascript.
  • Fixed bug in Javascript error message related to validating anonymous traversal spawns.
  • Changed close of Python and Javascript connections to no longer send a "close message" as the server no longer acknowledges it as of 3.5.0.
  • Fixed bug where the Graph instance was not being assigned to child traversals.
  • Removed sending of deprecated session close message from Gremlin.Net driver.

==== Bugs

  • TINKERPOP-2358 Potential connection leak on client disposing
  • TINKERPOP-2554 Extracting step metrics from ProfileStep throws NPE if the step was not triggered
  • TINKERPOP-2565 GraphMLWriter does not check vertexLabelKey conflict
  • TINKERPOP-2566 Incomplete error message in bytecode step generation
  • TINKERPOP-2568 Graph instance not set for child traversals
  • TINKERPOP-2578 Set arguments to P within/without are wrapped in List
  • TINKERPOP-2579 EventStrategy doesn't work with anonymous traversal
  • TINKERPOP-2580 Update the custom DSL documentation

==== Improvements

  • TINKERPOP-2548 Add getter for indexer used in IndexStep
  • TINKERPOP-2551 Setup scripts to publish Gremint to npm
  • TINKERPOP-2557 Support remote transactions in Javascript
  • TINKERPOP-2559 Stop sending the close message for .NET
  • TINKERPOP-2560 Stop sending close message for Python
  • TINKERPOP-2561 Stop sending close message in Javascript
  • TINKERPOP-2576 Setup automatic updates via Dependabot for Gremlin.NET
  • TINKERPOP-2577 Remove unused test coverage dependencies from Gremlin.NET

[[release-3-5-0]] === TinkerPop 3.5.0 (Release Date: May 3, 2021)

This release also includes changes from .

  • Changed transport implementation to use AIOHTTP instead of Tornado for gremlin-python.
  • Added max_content_length and unit test for it in gremlin-python.
  • Removed compression_option support for transport in gremlin-python.
  • Fixed event loop issues and added unit test for it in gremlin-python.
  • Fixed DriverRemoteConnection multithreading issues and added unit test for it in gremlin-python.
  • Fixed heartbeat timeout issues and tested with local server manually for gremlin-python.
  • Fixed build errors emitted for gremlin-python (asyncio task destroyed but is pending error).
  • Added gremlin-language module.
  • Allowed the possibility for the propagation of null as a Traverser in Gremlin.
  • Added a fully shaded version of gremlin-driver.
  • Exposed websocket connection status in JavaScript driver.
  • Fixed a bug where spark-gremlin was not re-attaching properties when using dedup().
  • Fixed a bug in WsAndHttpChannelizer pipeline configuration where failed object aggregation could not write back HTTP responses.

... (truncated)

Commits
  • d8cf7b5 Merge branch '3.4-dev' into 3.5-dev
  • ace4a1d Remove more gremlint binaries from source release CTR
  • e0426e9 TinkerPop 3.5.1 release
  • de85794 Merge branch '3.4-dev' into 3.5-dev
  • 6333c73 TinkerPop 3.4.12 release
  • 1508152 Minor release docs changes CTR
  • 87e5a1e Fixed bad link CTR
  • 7e83325 Added upgrade docs for tx() in javascript CTR
  • bb14095 Merge branch '3.4-dev' into 3.5-dev
  • 3b5e087 Describe Maven deployment config CTR
  • Additional commits viewable in compare view

Updates gremlin-test from 3.4.10 to 3.5.1

Changelog

Sourced from gremlin-test's changelog.

=== TinkerPop 3.5.1 (Release Date: July 19, 2021)

This release also includes changes from .

  • Added support for g.tx() in Javascript.
  • Fixed bug in Javascript error message related to validating anonymous traversal spawns.
  • Changed close of Python and Javascript connections to no longer send a "close message" as the server no longer acknowledges it as of 3.5.0.
  • Fixed bug where the Graph instance was not being assigned to child traversals.
  • Removed sending of deprecated session close message from Gremlin.Net driver.

==== Bugs

  • TINKERPOP-2358 Potential connection leak on client disposing
  • TINKERPOP-2554 Extracting step metrics from ProfileStep throws NPE if the step was not triggered
  • TINKERPOP-2565 GraphMLWriter does not check vertexLabelKey conflict
  • TINKERPOP-2566 Incomplete error message in bytecode step generation
  • TINKERPOP-2568 Graph instance not set for child traversals
  • TINKERPOP-2578 Set arguments to P within/without are wrapped in List
  • TINKERPOP-2579 EventStrategy doesn't work with anonymous traversal
  • TINKERPOP-2580 Update the custom DSL documentation

==== Improvements

  • TINKERPOP-2548 Add getter for indexer used in IndexStep
  • TINKERPOP-2551 Setup scripts to publish Gremint to npm
  • TINKERPOP-2557 Support remote transactions in Javascript
  • TINKERPOP-2559 Stop sending the close message for .NET
  • TINKERPOP-2560 Stop sending close message for Python
  • TINKERPOP-2561 Stop sending close message in Javascript
  • TINKERPOP-2576 Setup automatic updates via Dependabot for Gremlin.NET
  • TINKERPOP-2577 Remove unused test coverage dependencies from Gremlin.NET

[[release-3-5-0]] === TinkerPop 3.5.0 (Release Date: May 3, 2021)

This release also includes changes from .

  • Changed transport implementation to use AIOHTTP instead of Tornado for gremlin-python.
  • Added max_content_length and unit test for it in gremlin-python.
  • Removed compression_option support for transport in gremlin-python.
  • Fixed event loop issues and added unit test for it in gremlin-python.
  • Fixed DriverRemoteConnection multithreading issues and added unit test for it in gremlin-python.
  • Fixed heartbeat timeout issues and tested with local server manually for gremlin-python.
  • Fixed build errors emitted for gremlin-python (asyncio task destroyed but is pending error).
  • Added gremlin-language module.
  • Allowed the possibility for the propagation of null as a Traverser in Gremlin.
  • Added a fully shaded version of gremlin-driver.
  • Exposed websocket connection status in JavaScript driver.
  • Fixed a bug where spark-gremlin was not re-attaching properties when using dedup().
  • Fixed a bug in WsAndHttpChannelizer pipeline configuration where failed object aggregation could not write back HTTP responses.

... (truncated)

Commits
  • d8cf7b5 Merge branch '3.4-dev' into 3.5-dev
  • ace4a1d Remove more gremlint binaries from source release CTR
  • e0426e9 TinkerPop 3.5.1 release
  • de85794 Merge branch '3.4-dev' into 3.5-dev
  • 6333c73 TinkerPop 3.4.12 release
  • 1508152 Minor release docs changes CTR
  • 87e5a1e Fixed bad link CTR
  • 7e83325 Added upgrade docs for tx() in javascript CTR
  • bb14095 Merge branch '3.4-dev' into 3.5-dev
  • 3b5e087 Describe Maven deployment config CTR
  • Additional commits viewable in compare view

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 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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file java labels Aug 16, 2021
@arcade-player
Copy link
Contributor

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/maven/gremlin.version-3.5.1 branch from 5b01e21 to c67e0dc Compare August 31, 2021 22:23
Bumps `gremlin.version` from 3.4.10 to 3.5.1.

Updates `gremlin-core` from 3.4.10 to 3.5.1
- [Release notes](https://github.com/apache/tinkerpop/releases)
- [Changelog](https://github.com/apache/tinkerpop/blob/master/CHANGELOG.asciidoc)
- [Commits](apache/tinkerpop@3.4.10...3.5.1)

Updates `gremlin-groovy` from 3.4.10 to 3.5.1
- [Release notes](https://github.com/apache/tinkerpop/releases)
- [Changelog](https://github.com/apache/tinkerpop/blob/master/CHANGELOG.asciidoc)
- [Commits](apache/tinkerpop@3.4.10...3.5.1)

Updates `gremlin-test` from 3.4.10 to 3.5.1
- [Release notes](https://github.com/apache/tinkerpop/releases)
- [Changelog](https://github.com/apache/tinkerpop/blob/master/CHANGELOG.asciidoc)
- [Commits](apache/tinkerpop@3.4.10...3.5.1)

---
updated-dependencies:
- dependency-name: org.apache.tinkerpop:gremlin-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.apache.tinkerpop:gremlin-groovy
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.apache.tinkerpop:gremlin-test
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/maven/gremlin.version-3.5.1 branch from c67e0dc to 19dbd21 Compare September 1, 2021 22:18
@lvca
Copy link
Contributor

lvca commented Sep 16, 2021

It's not backward compatible with 3.4.x

@lvca lvca closed this Sep 16, 2021
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 16, 2021

OK, I won't notify you again about this release, but will get in touch when a new version is available. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@lvca lvca self-assigned this Sep 16, 2021
@lvca lvca added the invalid This doesn't seem right label Sep 16, 2021
@dependabot dependabot bot deleted the dependabot/maven/gremlin.version-3.5.1 branch September 16, 2021 15:51
mindreframer added a commit to mindreframer/arcadedb that referenced this pull request Nov 21, 2025
… results )

## Bug: 

When using non-unique indexes in ArcadeDB, queries failed to find records after certain update operations:
- Records were correctly updated in the database (verified by queries without WHERE clause)
- Queries using indexed WHERE clauses returned incorrect/incomplete results (0 instead of expected values)
- The bug occurred after updating a record's indexed field value multiple times

**Test Case Scenario:**
```javascript
// Create 3 children with status='synced'
Child c1, c2, c3 (all status='synced')

// Update c1 and c2 to 'pending'
UPDATE c1, c2 SET status='pending'

// Query for pending - WORKS
SELECT WHERE status='pending' → [c1, c2] ✓

// Update c1 back to 'synced'
UPDATE c1 SET status='synced'

// BUG: Query for pending - FAILED (before fix)
SELECT WHERE status='pending' → [] ✗ (expected [c2])

// BUG: Query for synced - FAILED (before fix)
SELECT WHERE status='synced' → [c1] ✗ (expected [c1, c3])

// AFTER FIX: Both queries work correctly
SELECT WHERE status='pending' → [c2] ✓
SELECT WHERE status='synced' → [c1, c3] ✓
```

## Root Cause

**File**: `engine/src/main/java/com/arcadedb/index/lsm/LSMTreeIndexAbstract.java`
**Method**: `lookupInPageAndAddInResultset()` (lines 568-627)

### The Problem

The original code tracked deleted **KEYS** instead of deleted **RIDs**:

```java
// ORIGINAL CODE (BUGGY):
if (rid.getBucketId() < 0) {
    removedKeys.add(keys);  // ❌ Marks entire KEY as deleted
    continue;
}

if (removedKeys.contains(keys))  // ❌ Skips ALL RIDs with this key
    continue;
```

**Impact**: For non-unique indexes where a key maps to multiple RIDs:
1. When a deletion marker `#-4:0` was found (meaning "RID ArcadeData#2:0 was deleted")
2. The code added the entire KEY (e.g., "pending") to `removedKeys`
3. Then ALL subsequent RIDs with that same key were skipped
4. Example: `("pending", [ArcadeData#2:0, ArcadeData#2:1])` + deletion marker `#-4:0` → **skipped both ArcadeData#2:0 AND ArcadeData#2:1**

### Why This Happened

LSM-tree indexes use **tombstone deletion**:
- Deleting `ArcadeData#2:0` creates a deletion marker `#-4:0` (negative bucketId)
- The marker is appended as a NEW entry (doesn't modify existing entries)
- During queries, the code reads backwards through pages and filters out deleted RIDs
- The filtering logic was incorrect for non-unique indexes

### The Fix

Track deleted **RIDs** instead of just deleted **KEYS**:

```java
// NEW CODE (FIXED):
final Set<RID> deletedRIDs = new HashSet<>();

for (int i = allValues.size() - 1; i > -1; --i) {
    final RID rid = allValues.get(i);

    if (rid.getBucketId() < 0) {
        // Convert deletion marker to original RID
        final RID originalRID = getOriginalRID(rid);
        deletedRIDs.add(originalRID);  // ✅ Track the SPECIFIC deleted RID

        // For unique indexes, ALSO mark the entire key as removed
        if (mainIndex.isUnique()) {
            removedKeys.add(keys);
        }
        continue;
    }

    // For unique indexes, check if the entire key has been removed
    if (mainIndex.isUnique() && removedKeys.contains(keys)) {
        continue;
    }

    // For all indexes, check if THIS SPECIFIC RID has been deleted
    if (deletedRIDs.contains(rid)) {  // ✅ Only skip the specific deleted RID
        continue;
    }

    validRIDs.add(rid);
    set.add(new IndexCursorEntry(originalKeys, rid, 1));
}
```

### Key Changes

1. **Track Individual RIDs**: Added `Set<RID> deletedRIDs` to track which specific RIDs have been deleted
2. **Convert Deletion Markers**: Use `getOriginalRID(rid)` to convert deletion marker (e.g., `#-4:0`) back to original RID (e.g., `ArcadeData#2:0`)
3. **Differentiate Index Types**:
   - **Unique indexes**: Continue to use `removedKeys` (only one RID per key, so marking the key as deleted is correct)
   - **Non-unique indexes**: Use `deletedRIDs` to only skip the specific deleted RIDs, not all RIDs with that key

## Test Results

### Before Fix
```
Pending (WHERE): 0 → []  ❌ Expected [c2]
Synced (WHERE): 1 → [ "c1" ]  ❌ Expected [c1, c3]

 0 pass
 1 fail
```

### After Fix
```
Pending (WHERE): 1 → [ "c2" ]  ✅
Synced (WHERE): 2 → [ "c3", "c1" ]  ✅

 1 pass
 0 fail
 3 expect() calls
```
robfrank added a commit that referenced this pull request Jan 20, 2026
- Dynamically retrieve version using mvn help:evaluate
- Replace hardcoded version strings with PROJECT_VERSION variable
- Improves maintainability and prevents version drift

Addresses PR review comment #2
mergify bot added a commit that referenced this pull request Feb 5, 2026
…0 in /studio in the build-tools group [skip ci]

Bumps the build-tools group in /studio with 1 update: [webpack](https://github.com/webpack/webpack).
Updates `webpack` from 5.104.1 to 5.105.0
Release notes

*Sourced from [webpack's releases](https://github.com/webpack/webpack/releases).*

> v5.105.0
> --------
>
> ### Minor Changes
>
> * Allow resolving worker module by export condition name when using `new Worker()` (by [`@​hai-x`](https://github.com/hai-x) in [#20353](https://redirect.github.com/webpack/webpack/pull/20353))
> * Detect conditional imports to avoid compile-time linking errors for non-existent exports. (by [`@​hai-x`](https://github.com/hai-x) in [#20320](https://redirect.github.com/webpack/webpack/pull/20320))
> * Added the `tsconfig` option for the `resolver` options (replacement for `tsconfig-paths-webpack-plugin`). Can be `false` (disabled), `true` (use the default `tsconfig.json` file to search for it), a string path to `tsconfig.json`, or an object with `configFile` and `references` options. (by [`@​alexander-akait`](https://github.com/alexander-akait) in [#20400](https://redirect.github.com/webpack/webpack/pull/20400))
> * Support `import.defer()` for context modules. (by [`@​ahabhgk`](https://github.com/ahabhgk) in [#20399](https://redirect.github.com/webpack/webpack/pull/20399))
> * Added support for array values ​​to the `devtool` option. (by [`@​hai-x`](https://github.com/hai-x) in [#20191](https://redirect.github.com/webpack/webpack/pull/20191))
> * Improve rendering node built-in modules for ECMA module output. (by [`@​hai-x`](https://github.com/hai-x) in [#20255](https://redirect.github.com/webpack/webpack/pull/20255))
> * Unknown import.meta properties are now determined at runtime instead of being statically analyzed at compile time. (by [`@​xiaoxiaojx`](https://github.com/xiaoxiaojx) in [#20312](https://redirect.github.com/webpack/webpack/pull/20312))
>
> ### Patch Changes
>
> * Fixed ESM default export handling for `.mjs` files in Module Federation (by [`@​y-okt`](https://github.com/y-okt) in [#20189](https://redirect.github.com/webpack/webpack/pull/20189))
> * Optimized `import.meta.env` handling in destructuring assignments by using cached stringified environment definitions. (by [`@​xiaoxiaojx`](https://github.com/xiaoxiaojx) in [#20313](https://redirect.github.com/webpack/webpack/pull/20313))
> * Respect the `stats.errorStack` option in stats output. (by [`@​samarthsinh2660`](https://github.com/samarthsinh2660) in [#20258](https://redirect.github.com/webpack/webpack/pull/20258))
> * Fixed a bug where declaring a `module` variable in module scope would conflict with the default `moduleArgument`. (by [`@​xiaoxiaojx`](https://github.com/xiaoxiaojx) in [#20265](https://redirect.github.com/webpack/webpack/pull/20265))
> * Fix VirtualUrlPlugin to set resourceData.context for proper module resolution. Previously, when context was not set, it would fallback to the virtual scheme path (e.g., `virtual:routes`), which is not a valid filesystem path, causing subsequent resolve operations to fail. (by [`@​xiaoxiaojx`](https://github.com/xiaoxiaojx) in [#20390](https://redirect.github.com/webpack/webpack/pull/20390))
> * Fixed Worker self-import handling to support various URL patterns (e.g., `import.meta.url`, `new URL(import.meta.url)`, `new URL(import.meta.url, import.meta.url)`, `new URL("./index.js", import.meta.url)`). Workers that resolve to the same module are now properly deduplicated, regardless of the URL syntax used. (by [`@​xiaoxiaojx`](https://github.com/xiaoxiaojx) in [#20381](https://redirect.github.com/webpack/webpack/pull/20381))
> * Reuse the same async entrypoint for the same Worker URL within a module to avoid circular dependency warnings when multiple Workers reference the same resource. (by [`@​xiaoxiaojx`](https://github.com/xiaoxiaojx) in [#20345](https://redirect.github.com/webpack/webpack/pull/20345))
> * Fixed a bug where a self-referencing dependency would have an unused export name when imported inside a web worker. (by [`@​samarthsinh2660`](https://github.com/samarthsinh2660) in [#20251](https://redirect.github.com/webpack/webpack/pull/20251))
> * Fix missing export generation when concatenated modules in different chunks share the same runtime in module library bundles. (by [`@​hai-x`](https://github.com/hai-x) in [#20346](https://redirect.github.com/webpack/webpack/pull/20346))
> * Fixed `import.meta.env.xxx` behavior: when accessing a non-existent property, it now returns empty object instead of full object at runtime. (by [`@​xiaoxiaojx`](https://github.com/xiaoxiaojx) in [#20289](https://redirect.github.com/webpack/webpack/pull/20289))
> * Improved parsing error reporting by adding a link to the loader documentation. (by [`@​gaurav10gg`](https://github.com/gaurav10gg) in [#20244](https://redirect.github.com/webpack/webpack/pull/20244))
> * Fix typescript types. (by [`@​alexander-akait`](https://github.com/alexander-akait) in [#20305](https://redirect.github.com/webpack/webpack/pull/20305))
> * Add declaration for unused harmony import specifier. (by [`@​hai-x`](https://github.com/hai-x) in [#20286](https://redirect.github.com/webpack/webpack/pull/20286))
> * Fix compressibility of modules while retaining portability. (by [`@​dmichon-msft`](https://github.com/dmichon-msft) in [#20287](https://redirect.github.com/webpack/webpack/pull/20287))
> * Optimize source map generation: only include `ignoreList` property when it has content, avoiding empty arrays in source maps. (by [`@​xiaoxiaojx`](https://github.com/xiaoxiaojx) in [#20319](https://redirect.github.com/webpack/webpack/pull/20319))
> * Preserve star exports for dependencies in ECMA module output. (by [`@​hai-x`](https://github.com/hai-x) in [#20293](https://redirect.github.com/webpack/webpack/pull/20293))

... (truncated)


Changelog

*Sourced from [webpack's changelog](https://github.com/webpack/webpack/blob/main/CHANGELOG.md).*

> 5.105.0
> -------
>
> ### Minor Changes
>
> * Allow resolving worker module by export condition name when using `new Worker()` (by [`@​hai-x`](https://github.com/hai-x) in [#20353](https://redirect.github.com/webpack/webpack/pull/20353))
> * Detect conditional imports to avoid compile-time linking errors for non-existent exports. (by [`@​hai-x`](https://github.com/hai-x) in [#20320](https://redirect.github.com/webpack/webpack/pull/20320))
> * Added the `tsconfig` option for the `resolver` options (replacement for `tsconfig-paths-webpack-plugin`). Can be `false` (disabled), `true` (use the default `tsconfig.json` file to search for it), a string path to `tsconfig.json`, or an object with `configFile` and `references` options. (by [`@​alexander-akait`](https://github.com/alexander-akait) in [#20400](https://redirect.github.com/webpack/webpack/pull/20400))
> * Support `import.defer()` for context modules. (by [`@​ahabhgk`](https://github.com/ahabhgk) in [#20399](https://redirect.github.com/webpack/webpack/pull/20399))
> * Added support for array values ​​to the `devtool` option. (by [`@​hai-x`](https://github.com/hai-x) in [#20191](https://redirect.github.com/webpack/webpack/pull/20191))
> * Improve rendering node built-in modules for ECMA module output. (by [`@​hai-x`](https://github.com/hai-x) in [#20255](https://redirect.github.com/webpack/webpack/pull/20255))
> * Unknown import.meta properties are now determined at runtime instead of being statically analyzed at compile time. (by [`@​xiaoxiaojx`](https://github.com/xiaoxiaojx) in [#20312](https://redirect.github.com/webpack/webpack/pull/20312))
>
> ### Patch Changes
>
> * Fixed ESM default export handling for `.mjs` files in Module Federation (by [`@​y-okt`](https://github.com/y-okt) in [#20189](https://redirect.github.com/webpack/webpack/pull/20189))
> * Optimized `import.meta.env` handling in destructuring assignments by using cached stringified environment definitions. (by [`@​xiaoxiaojx`](https://github.com/xiaoxiaojx) in [#20313](https://redirect.github.com/webpack/webpack/pull/20313))
> * Respect the `stats.errorStack` option in stats output. (by [`@​samarthsinh2660`](https://github.com/samarthsinh2660) in [#20258](https://redirect.github.com/webpack/webpack/pull/20258))
> * Fixed a bug where declaring a `module` variable in module scope would conflict with the default `moduleArgument`. (by [`@​xiaoxiaojx`](https://github.com/xiaoxiaojx) in [#20265](https://redirect.github.com/webpack/webpack/pull/20265))
> * Fix VirtualUrlPlugin to set resourceData.context for proper module resolution. Previously, when context was not set, it would fallback to the virtual scheme path (e.g., `virtual:routes`), which is not a valid filesystem path, causing subsequent resolve operations to fail. (by [`@​xiaoxiaojx`](https://github.com/xiaoxiaojx) in [#20390](https://redirect.github.com/webpack/webpack/pull/20390))
> * Fixed Worker self-import handling to support various URL patterns (e.g., `import.meta.url`, `new URL(import.meta.url)`, `new URL(import.meta.url, import.meta.url)`, `new URL("./index.js", import.meta.url)`). Workers that resolve to the same module are now properly deduplicated, regardless of the URL syntax used. (by [`@​xiaoxiaojx`](https://github.com/xiaoxiaojx) in [#20381](https://redirect.github.com/webpack/webpack/pull/20381))
> * Reuse the same async entrypoint for the same Worker URL within a module to avoid circular dependency warnings when multiple Workers reference the same resource. (by [`@​xiaoxiaojx`](https://github.com/xiaoxiaojx) in [#20345](https://redirect.github.com/webpack/webpack/pull/20345))
> * Fixed a bug where a self-referencing dependency would have an unused export name when imported inside a web worker. (by [`@​samarthsinh2660`](https://github.com/samarthsinh2660) in [#20251](https://redirect.github.com/webpack/webpack/pull/20251))
> * Fix missing export generation when concatenated modules in different chunks share the same runtime in module library bundles. (by [`@​hai-x`](https://github.com/hai-x) in [#20346](https://redirect.github.com/webpack/webpack/pull/20346))
> * Fixed `import.meta.env.xxx` behavior: when accessing a non-existent property, it now returns empty object instead of full object at runtime. (by [`@​xiaoxiaojx`](https://github.com/xiaoxiaojx) in [#20289](https://redirect.github.com/webpack/webpack/pull/20289))
> * Improved parsing error reporting by adding a link to the loader documentation. (by [`@​gaurav10gg`](https://github.com/gaurav10gg) in [#20244](https://redirect.github.com/webpack/webpack/pull/20244))
> * Fix typescript types. (by [`@​alexander-akait`](https://github.com/alexander-akait) in [#20305](https://redirect.github.com/webpack/webpack/pull/20305))
> * Add declaration for unused harmony import specifier. (by [`@​hai-x`](https://github.com/hai-x) in [#20286](https://redirect.github.com/webpack/webpack/pull/20286))
> * Fix compressibility of modules while retaining portability. (by [`@​dmichon-msft`](https://github.com/dmichon-msft) in [#20287](https://redirect.github.com/webpack/webpack/pull/20287))
> * Optimize source map generation: only include `ignoreList` property when it has content, avoiding empty arrays in source maps. (by [`@​xiaoxiaojx`](https://github.com/xiaoxiaojx) in [#20319](https://redirect.github.com/webpack/webpack/pull/20319))

... (truncated)


Commits

* [`1486f9a`](webpack/webpack@1486f9a) chore(release): new release
* [`1a517f6`](webpack/webpack@1a517f6) feat: added the `tsconfig` option for the `resolver` options ([#20400](https://redirect.github.com/webpack/webpack/issues/20400))
* [`7b3b0f7`](webpack/webpack@7b3b0f7) feat: support `import.defer()` for context modules
* [`c4a6a92`](webpack/webpack@c4a6a92) refactor: more types and increase types coverage
* [`5ecc58d`](webpack/webpack@5ecc58d) feat: consider asset module as side-effect-free ([#20352](https://redirect.github.com/webpack/webpack/issues/20352))
* [`cce0f69`](webpack/webpack@cce0f69) test: avoid comma operator in BinaryMiddleware test ([#20398](https://redirect.github.com/webpack/webpack/issues/20398))
* [`cd4793d`](webpack/webpack@cd4793d) feat: support import specifier guard ([#20320](https://redirect.github.com/webpack/webpack/issues/20320))
* [`fe48655`](webpack/webpack@fe48655) docs: update examples ([#20397](https://redirect.github.com/webpack/webpack/issues/20397))
* [`de107f8`](webpack/webpack@de107f8) fix(VirtualUrlPlugin): set resourceData.context to avoid invalid fallback ([#2](https://redirect.github.com/webpack/webpack/issues/2)...
* [`a656ab1`](webpack/webpack@a656ab1) test: add self-import test case for dynamic import ([#20389](https://redirect.github.com/webpack/webpack/issues/20389))
* Additional commits viewable in [compare view](webpack/webpack@v5.104.1...v5.105.0)

Maintainer changes

This version was pushed to npm by [GitHub Actions](<https://www.npmjs.com/~GitHub> Actions), a new releaser for webpack since your current version.

  
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility\_score?dependency-name=webpack&package-manager=npm\_and\_yarn&previous-version=5.104.1&new-version=5.105.0)](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 show  ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore  major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore  minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore  ` will remove the ignore condition of the specified dependency and ignore conditions
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 invalid This doesn't seem right

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants