Skip to content

chore: version packages#28

Open
github-actions[bot] wants to merge 1 commit intomainfrom
changeset-release/main
Open

chore: version packages#28
github-actions[bot] wants to merge 1 commit intomainfrom
changeset-release/main

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented Mar 20, 2026

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@simplepdf/react-embed-pdf@2.0.0

Major Changes

  • 4b86b72: Renames actions.removeFields to actions.deleteFields and the corresponding iframe event from REMOVE_FIELDS to DELETE_FIELDS. The result payload field is renamed from removed_count to deleted_count. Aligns naming with the new DELETE_PAGES event so all destructive operations use delete_* consistently.

    If you are not using actions.removeFields(...) or sendEvent("REMOVE_FIELDS", ...), you can safely update to this new major version.

    // Before
    const result = await actions.removeFields({ page: 1 });
    if (result.success) {
      console.log(result.data.removed_count);
    }
    
    // After
    const result = await actions.deleteFields({ page: 1 });
    if (result.success) {
      console.log(result.data.deleted_count);
    }
  • 9069558: Replaces createField with detectFields for automatic form field detection. This is a breaking change: the createField action and CreateFieldOptions type have been removed.

    If you are not using actions.createField(...) or sendEvent("CREATE_FIELD", ...), you can safely update to this new major version.

    // Before (removed)
    await actions.createField({ type: 'TEXT', page: 1, x: 100, y: 700, width: 200, height: 30 });
    
    // After
    await actions.detectFields();

@github-actions github-actions Bot force-pushed the changeset-release/main branch 2 times, most recently from 4989401 to 784cb83 Compare March 26, 2026 14:25
@github-actions github-actions Bot force-pushed the changeset-release/main branch from 784cb83 to a19903d Compare March 31, 2026 09:11
@github-actions github-actions Bot force-pushed the changeset-release/main branch 6 times, most recently from 017182c to c206138 Compare April 27, 2026 17:28
@github-actions github-actions Bot force-pushed the changeset-release/main branch from c206138 to 63b3767 Compare April 27, 2026 17:30
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.

0 participants