Release 0.2.0 with `null` output payloads

Open
#13 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
55/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
github, javascript, react

Research direction

Start with .agents/skills/release/SKILL.md, then inspect the # Unreleased section in news.md and the package manifests for @posit-dev/shiny-bindings-core and @posit-dev/shiny-bindings-react. Follow the prescribed release PR flow, including versioning the packages and dependency ranges to 0.2.0. Done means the release PR and GitHub release exist, the npm packages are staged and approved in the required order, and the checklist is completed.

Written by the indexing model from the issue text.

Description

Publish a new release of @posit-dev/shiny-bindings-core and @posit-dev/shiny-bindings-react as 0.2.0. The last release (0.1.0) predates January 2024, so npm users still get output callbacks typed as T that receive null at runtime.

What ships (see # Unreleased in news.md):

  • Output callbacks typed as T | null (posit-dev/shiny-bindings#12). Code that reads the payload without a null check stops compiling, where it already crashes at runtime.
  • React helpers get props from data-* attributes and initialValue as a function (posit-dev/shiny-bindings#21).
  • React input helpers keep server-rendered contents as children (posit-dev/shiny-bindings#22).
  • React 19 support (posit-dev/shiny-bindings#24).
  • Fixes to the web component helpers (posit-dev/shiny-bindings#17).

Steps: follow the release skill (.agents/skills/release/SKILL.md). It covers the release PR, the GitHub release, npm staging, and approving core before react.

  • Docs ready for the release (posit-dev/shiny-bindings#29)
  • Release PR: bump core and react to 0.2.0, ranges to ^0.2.0, rename # Unreleased in news.md
  • GitHub release v0.2.0, then approve the staged versions on npm
  • Follow-ups in other repos (sub-issues below)
Dominant language
JavaScript
Stars
10
Forks
5
Avg merge
10h 1m
Merged PRs (30d)
20

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.