Skip to content

Commit e56b2f9

Browse files
authored
Merge pull request #180 from farcasterxyz/changeset-release/main
chore: version packages
2 parents 511528e + 2f534b8 commit e56b2f9

11 files changed

Lines changed: 55 additions & 34 deletions

File tree

.changeset/bright-items-move.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

.changeset/square-grid-cells.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

.changeset/tidy-buttons-smile.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

apps/emulator-native/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @farcaster/snap-emulator-native
22

3+
## 1.0.36
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`efaf84c`](https://github.com/farcasterxyz/snap/commit/efaf84c1d7365d7e3547930e5753fe606a1ed6e8), [`511528e`](https://github.com/farcasterxyz/snap/commit/511528eb952da9ed6f830ca77076328222532844), [`96ad223`](https://github.com/farcasterxyz/snap/commit/96ad223f704b5a23e4b9b745483805de35bb102f)]:
8+
- @farcaster/snap@2.5.0
9+
310
## 1.0.35
411

512
### Patch Changes

apps/emulator-native/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@farcaster/snap-emulator-native",
3-
"version": "1.0.35",
3+
"version": "1.0.36",
44
"private": true,
55
"main": "index.ts",
66
"scripts": {

pkgs/hono/CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# @farcaster/snap-hono
22

3+
## 2.1.4
4+
5+
### Patch Changes
6+
7+
- [#183](https://github.com/farcasterxyz/snap/pull/183) [`511528e`](https://github.com/farcasterxyz/snap/commit/511528eb952da9ed6f830ca77076328222532844) Thanks [@bob-obringer](https://github.com/bob-obringer)! - Add `cellAspectRatio` support to `cell_grid`.
8+
9+
`cell_grid` now accepts `cellAspectRatio: "square"` to keep each cell square as snap width changes, while preserving the existing `rowHeight` behavior by default. This makes board-style snaps such as Minesweeper render with stable cell geometry across client widths.
10+
11+
The React, React Native, static HTML, and OG image renderers now honor square grid cells. The 2.0 docs, agent-facing skill text, and `llms.txt` reference material document the new option, and a focused `cell-grid-square` example app exercises the behavior in the emulator.
12+
13+
- Updated dependencies [[`efaf84c`](https://github.com/farcasterxyz/snap/commit/efaf84c1d7365d7e3547930e5753fe606a1ed6e8), [`511528e`](https://github.com/farcasterxyz/snap/commit/511528eb952da9ed6f830ca77076328222532844), [`96ad223`](https://github.com/farcasterxyz/snap/commit/96ad223f704b5a23e4b9b745483805de35bb102f)]:
14+
- @farcaster/snap@2.5.0
15+
316
## 2.1.3
417

518
### Patch Changes

pkgs/hono/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@farcaster/snap-hono",
3-
"version": "2.1.3",
3+
"version": "2.1.4",
44
"description": "Hono integration for Farcaster Snap servers",
55
"repository": {
66
"type": "git",

pkgs/snap/CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
11
# @farcaster/snap
22

3+
## 2.5.0
4+
5+
### Minor Changes
6+
7+
- [#181](https://github.com/farcasterxyz/snap/pull/181) [`efaf84c`](https://github.com/farcasterxyz/snap/commit/efaf84c1d7365d7e3547930e5753fe606a1ed6e8) Thanks [@bob-obringer](https://github.com/bob-obringer)! - Add shadcn-style media support to Snap `item` rows.
8+
9+
Items now accept an optional `props.media` object that renders in a dedicated left-side media slot while existing `children` continue to render in the right-side actions slot. Icon media uses `{ variant: "icon", name, color? }`; image media uses `{ variant: "image", url, alt?, round? }`, where `round: true` renders avatar-style circular image media.
10+
11+
The snap UI catalog now exposes the expanded `item` schema through `itemProps` and `itemMediaProps`, including the new discriminated `media` contract. The catalog keeps `variant` limited to `"default"` and does not add item sizes or media sizes, so clients continue to own the exact rendered dimensions. Catalog validation accepts icon media by `name` plus optional palette `color`, accepts image media by `url` plus optional `alt` and `round`, and rejects unsupported media fields.
12+
13+
The React and React Native renderers now support this item media slot, keep media and trailing actions vertically centered in compact rows, use smaller subtitle text for item descriptions, and remove horizontal row padding for plain lists while preserving modest inset for bordered item groups. Image media URLs are validated with the same HTTPS and loopback development rules as regular image elements.
14+
15+
This also adds a runnable `examples/item-media` app with real image media examples and updates the 2.0 item documentation and machine-readable guidance.
16+
17+
- [#183](https://github.com/farcasterxyz/snap/pull/183) [`511528e`](https://github.com/farcasterxyz/snap/commit/511528eb952da9ed6f830ca77076328222532844) Thanks [@bob-obringer](https://github.com/bob-obringer)! - Add `cellAspectRatio` support to `cell_grid`.
18+
19+
`cell_grid` now accepts `cellAspectRatio: "square"` to keep each cell square as snap width changes, while preserving the existing `rowHeight` behavior by default. This makes board-style snaps such as Minesweeper render with stable cell geometry across client widths.
20+
21+
The React, React Native, static HTML, and OG image renderers now honor square grid cells. The 2.0 docs, agent-facing skill text, and `llms.txt` reference material document the new option, and a focused `cell-grid-square` example app exercises the behavior in the emulator.
22+
23+
- [#178](https://github.com/farcasterxyz/snap/pull/178) [`96ad223`](https://github.com/farcasterxyz/snap/commit/96ad223f704b5a23e4b9b745483805de35bb102f) Thanks [@bob-obringer](https://github.com/bob-obringer)! - Infer button-only stack and toggle group orientation from visible label content in the React and React Native components. The components render horizontally only when total visible label text fits these limits: 2 controls <= 20 chars, 3 controls <= 15 chars, 4 controls <= 11 chars, and 5 controls <= 8 chars. Six controls, or any button/toggle set over its limit, renders vertically.
24+
25+
Button-only stacks now default to the `sm` gap when `gap` is omitted, regardless of whether the content resolves horizontal or vertical. Horizontal button-only stacks use content-proportional widths by default, and `equalWidth: true` can be set on a horizontal stack to force equal-width children.
26+
327
## 2.4.0
428

529
### Minor Changes

pkgs/snap/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@farcaster/snap",
3-
"version": "2.4.0",
3+
"version": "2.5.0",
44
"description": "Farcaster Snaps 🫰",
55
"repository": {
66
"type": "git",

pkgs/turso/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @farcaster/snap-turso
22

3+
## 2.0.11
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`efaf84c`](https://github.com/farcasterxyz/snap/commit/efaf84c1d7365d7e3547930e5753fe606a1ed6e8), [`511528e`](https://github.com/farcasterxyz/snap/commit/511528eb952da9ed6f830ca77076328222532844), [`96ad223`](https://github.com/farcasterxyz/snap/commit/96ad223f704b5a23e4b9b745483805de35bb102f)]:
8+
- @farcaster/snap@2.5.0
9+
310
## 2.0.10
411

512
### Patch Changes

0 commit comments

Comments
 (0)