Skip to content

Conversation

@DmitryAnansky
Copy link
Contributor

@DmitryAnansky DmitryAnansky commented Oct 14, 2025

What/Why/How?

  • Added new export bundleOas that support only OAS bundling. Minimized bundle size with only bundleOas and empty config should be near ~ 299.83KiB.
  • Reorganized utils to allow importing isolated functions.
  • Removed jest-matcher-utils from respect-core.
  • Migrated from minimatch to picomatch.

Reference

Testing

Screenshots (optional)

Check yourself

  • Code changed? - Tested with Redoc/Realm/Reunite (internal)
  • All new/updated code is covered by tests
  • New package installed? - Tested in different environments (browser/node)
  • Documentation update considered

Security

  • The security impact of the change has been considered
  • Code follows company security practices and guidelines

@changeset-bot
Copy link

changeset-bot bot commented Oct 14, 2025

🦋 Changeset detected

Latest commit: 95b4c72

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

This PR includes changesets to release 3 packages
Name Type
@redocly/openapi-core Minor
@redocly/cli Minor
@redocly/respect-core Minor

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

@DmitryAnansky DmitryAnansky changed the title chroe: wip feat: introduced minimal bundleOas export function Oct 14, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Oct 14, 2025

Command Mean [s] Min [s] Max [s] Relative
redocly lint packages/core/src/benchmark/benches/rebilly.yaml 1.420 ± 0.021 1.375 1.447 1.00
redocly-next lint packages/core/src/benchmark/benches/rebilly.yaml 1.425 ± 0.033 1.394 1.504 1.00 ± 0.03

@DmitryAnansky DmitryAnansky marked this pull request as ready for review October 14, 2025 19:13
@DmitryAnansky DmitryAnansky requested review from a team as code owners October 14, 2025 19:13
@DmitryAnansky DmitryAnansky requested review from ohorbachevskyi and removed request for ohorbachevskyi October 14, 2025 19:15
@DmitryAnansky DmitryAnansky self-assigned this Oct 14, 2025
@DmitryAnansky DmitryAnansky added the snapshot Create experimental release PR label Oct 15, 2025
@github-actions
Copy link
Contributor

📦 A new experimental 🧪 version v0.0.0-snapshot.1760519150 of Redocly CLI has been published for testing.

Install with NPM:

npm install @redocly/[email protected]
# or
npm install @redocly/[email protected]
# or
npm install @redocly/[email protected]

⚠️ Note: This is a development build and may contain unstable features.

@DmitryAnansky DmitryAnansky added snapshot Create experimental release PR and removed snapshot Create experimental release PR labels Oct 15, 2025
@github-actions
Copy link
Contributor

📦 A new experimental 🧪 version v0.0.0-snapshot.1760542816 of Redocly CLI has been published for testing.

Install with NPM:

npm install @redocly/[email protected]
# or
npm install @redocly/[email protected]
# or
npm install @redocly/[email protected]

⚠️ Note: This is a development build and may contain unstable features.

Copy link
Collaborator

@tatomyr tatomyr left a comment

Choose a reason for hiding this comment

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

Overall looks good, the only question is regarding what we export.

@DmitryAnansky DmitryAnansky added snapshot Create experimental release PR and removed snapshot Create experimental release PR labels Oct 16, 2025
@github-actions
Copy link
Contributor

📦 A new experimental 🧪 version v0.0.0-snapshot.1760615215 of Redocly CLI has been published for testing.

Install with NPM:

npm install @redocly/[email protected]
# or
npm install @redocly/[email protected]
# or
npm install @redocly/[email protected]

⚠️ Note: This is a development build and may contain unstable features.

Copy link
Collaborator

@tatomyr tatomyr left a comment

Choose a reason for hiding this comment

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

LGTM

@DmitryAnansky DmitryAnansky merged commit f5ce2e8 into main Oct 17, 2025
36 checks passed
@DmitryAnansky DmitryAnansky deleted the bundle-opt-for-oas branch October 17, 2025 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

snapshot Create experimental release PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants