Skip to content

Version Packages#327

Merged
manzt merged 1 commit into
mainfrom
changeset-release/main
Oct 10, 2023
Merged

Version Packages#327
manzt merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Oct 5, 2023

Copy link
Copy Markdown
Contributor

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

anywidget@0.7.0

Minor Changes

  • feat(experimental)!: Require include in _get_anywidget_state signature (#317)

    Allows implementors to avoid re-serializing fields which aren't needed to send
    to the front end. This is a BREAKING change because it requires implementors
    of _get_anywidget_state to account for include in the function signature.

    from dataclasses import dataclass, asdict
    from io import BytesIO
    
    import polars as pl
    import psygnal
    
    @psygnal.evented
    @dataclass
    class Foo:
      value: int
      df: pl.DataFrame
    
      def _get_anywidget_state(self, include: set[str] | None):
        data = asdict(self)
        if include and "df" in include:
          with BytesIO() as f:
            self.df.write_ipc(f)
            data["df"] = f.getvalue()
        else:
          del data["df"] # don't serialize df to bytes
        return data

@anywidget/deno@0.0.3

Patch Changes

  • feat: Try to discover installed anywidget version (#326)

  • feat: Add Install/Uninstall scripts for widget front end (#329)

    deno run -A https://deno.land/x/anywidget/install.ts

@netlify

netlify Bot commented Oct 5, 2023

Copy link
Copy Markdown

Deploy Preview for anywidget canceled.

Name Link
🔨 Latest commit f924675
🔍 Latest deploy log https://app.netlify.com/sites/anywidget/deploys/6525b98d3b556100089db54a

@github-actions
github-actions Bot force-pushed the changeset-release/main branch 7 times, most recently from a392b93 to f10d513 Compare October 10, 2023 01:08
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from f10d513 to f924675 Compare October 10, 2023 20:52
@manzt
manzt merged commit 2764f1a into main Oct 10, 2023
@manzt
manzt deleted the changeset-release/main branch October 10, 2023 21:15
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