Title: 1.12..0 Sync full bundle and enhance WebSocket support with new types by JosunLP · Pull Request #93 · bQuery/bQuery · GitHub
Open Graph Title: 1.12..0 Sync full bundle and enhance WebSocket support with new types by JosunLP · Pull Request #93 · bQuery/bQuery
X Title: 1.12..0 Sync full bundle and enhance WebSocket support with new types by JosunLP · Pull Request #93 · bQuery/bQuery
Description: This pull request updates the bQuery.js project to version 1.12.0, introducing new teardown APIs for store plugins, promoting a WebSocket payload type to public, and improving bundle/type export validation. Documentation and guidance files have been updated to reflect these changes, and import samples now include the new APIs and types. New APIs and Type Exports: Store plugin teardown: Added unregisterPlugin() and clearPlugins() to @bquery/bquery/store for removing or resetting registered plugins, supporting test isolation and runtime plugin reloads. (F82d88d1L77R77, [1] [2] [3] [4] WebSocket payload type: Promoted WebSocketSendData to a public type-only export from @bquery/bquery/reactive, making it available for custom serializers and matching the server-side union. (F82d88d1L77R77, [1] [2] [3] [4] Bundle and Tooling Improvements: Full bundle/type export validation: The /full bundle now re-exports all public type-only module exports from platform, a11y, and media barrels. The bun run check:full-bundle script now statically validates both runtime and type export drift before release. (F82d88d1L77R77, [1] [2] Documentation and Guidance Updates: All key documentation files (README.md, AGENT.md, .clinerules, .cursorrules, .github/copilot-instructions.md, CHANGELOG.md) have been updated to reflect the new APIs, public types, and validation requirements. [1] [2] [3] [4] [5] [6] [7] Import samples and API tables now include WebSocketSendData, unregisterPlugin, and clearPlugins where relevant. [1] [2] [3] [4] Changelog and Metadata: The version baseline is updated to 1.12.0 across all metadata and guidance files. The changelog details all new features, changes, and fixes for this release. [1] [2] [3] [4] Release Process: Contributors are now reminded to run bun run check:full-bundle when public exports change, ensuring full alignment before release. These changes ensure better testability, clearer API boundaries, and more robust type export validation for bQuery.js. Summary by CodeRabbit New Features Added unregisterPlugin() and clearPlugins() for store plugin lifecycle Promoted WebSocketSendData as a public reactive type Added full-bundle export validation tooling (check:full-bundle) Documentation Expanded guides: store, reactive (WebSocket), server, SSR, README, and changelog for v1.12.0 Chores Bumped package to v1.12.0 and updated dev tooling/dependencies Tests Added/expanded tests for full-bundle checks, store plugins, reactive WebSocket, platform, SSR, and utilities
Open Graph Description: This pull request updates the bQuery.js project to version 1.12.0, introducing new teardown APIs for store plugins, promoting a WebSocket payload type to public, and improving bundle/type export va...
X Description: This pull request updates the bQuery.js project to version 1.12.0, introducing new teardown APIs for store plugins, promoting a WebSocket payload type to public, and improving bundle/type export va...
Opengraph URL: https://github.com/bQuery/bQuery/pull/93
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:ffccfc89-f977-8a8f-8442-b0c1ae222964 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A1C0:2E1FD9:D87983:12A4A42:6A4DD237 |
| html-safe-nonce | 10dd196d828753bd8aacf2d9ff80c726d61562cf18c3d59f75cae60bebac59b9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMUMwOjJFMUZEOTpEODc5ODM6MTJBNEE0Mjo2QTRERDIzNyIsInZpc2l0b3JfaWQiOiIyNDg5MzkwMTIwODkwNDE0NjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b7b9bd20e58ff3657b89a238aec30d3cd36619731fc6ec99476052ec94aa9563 |
| hovercard-subject-tag | pull_request:3695276483 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/bQuery/bQuery/pull/93/files |
| twitter:image | https://avatars.githubusercontent.com/u/20913954?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/20913954?s=400&v=4 |
| og:image:alt | This pull request updates the bQuery.js project to version 1.12.0, introducing new teardown APIs for store plugins, promoting a WebSocket payload type to public, and improving bundle/type export va... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/bQuery/bQuery git https://github.com/bQuery/bQuery.git |
| octolytics-dimension-user_id | 256381806 |
| octolytics-dimension-user_login | bQuery |
| octolytics-dimension-repository_id | 1139284244 |
| octolytics-dimension-repository_nwo | bQuery/bQuery |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1139284244 |
| octolytics-dimension-repository_network_root_nwo | bQuery/bQuery |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width