Skip to content

Conversation

neet
Copy link
Owner

@neet neet commented Apr 27, 2025

No description provided.

@Copilot Copilot AI review requested due to automatic review settings April 27, 2025 01:06
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR promotes Symbol.dispose for WebSocketSubscription from an experimental API to stable status by removing experimental workarounds and documentation. Key changes include:

  • Removal of fallback assignments for Symbol.dispose and Symbol.asyncDispose in test utility files.
  • Deletion of the experimental documentation comments in WebSocketSubscription.

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
test-utils/jest-setup-after-env-unit.ts Removed experimental Symbol assignments
test-utils/jest-environment.ts Removed experimental Symbol assignments from globals
src/adapters/ws/web-socket-subscription.ts Removed experimental API comments to mark stable usage

Copy link

pkg-pr-new bot commented Apr 27, 2025

Open in StackBlitz

npm i https://pkg.pr.new/neet/masto.js/masto@1284

commit: abd385a

Copy link

github-actions bot commented Apr 27, 2025

size-limit report 📦

Path Size
dist/index.js 6.52 KB (0%)

@neet neet force-pushed the stable-dispose-api branch from b38b61c to abd385a Compare April 27, 2025 01:12
@neet neet changed the title feat: Mark Symbol.dispose for WebSocketSubscription as stable feat: Promote Symbol.dispose for WebSocketSubscription to a stable API Apr 27, 2025
@neet neet enabled auto-merge April 27, 2025 01:14
@neet neet merged commit ff2139c into main Apr 27, 2025
7 checks passed
@neet neet deleted the stable-dispose-api branch April 27, 2025 01:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant