Skip to content

Update re2js version#10104

Open
le0pard wants to merge 3 commits into
firebase:mainfrom
le0pard:update-re2js
Open

Update re2js version#10104
le0pard wants to merge 3 commits into
firebase:mainfrom
le0pard:update-re2js

Conversation

@le0pard

@le0pard le0pard commented Jun 20, 2026

Copy link
Copy Markdown

Update re2js version, which supported and use highly optimized methods (test) for search.

More info:

@le0pard le0pard requested review from a team as code owners June 20, 2026 09:20
@changeset-bot

changeset-bot Bot commented Jun 20, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 8ab39c3

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@firebase/firestore Patch
firebase Patch
@firebase/firestore-compat Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request upgrades the re2js dependency from version 0.4.2 to 2.8.3 in package.json and yarn.lock. It also updates the type definition path in externs.json and simplifies the regex evaluation in expressions.ts by using regex.test(value) instead of regex.matcher(value).find(). There are no review comments, so I have no feedback to provide.

@le0pard le0pard requested a review from a team as a code owner June 20, 2026 09:22
Comment thread .changeset/thick-berries-cheat.md Outdated
@@ -0,0 +1,5 @@
---
'firebase': major

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will leave it up to the Firestore team to determine whether we can bump re2js at all but if we were to do so, our policy is a patch bump for external dependency bumps (even if the external dependency bump is major), and it should be for "@firebase/firestore" ("firebase" will automatically pick up patch bumps when specified in dependent packages).

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is what generated yarn changeset

@wu-hui wu-hui self-assigned this Jul 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants