Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/forced-colors.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/hotspot-tracking.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/init-import-snippet.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/linear-comment-stripping.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/mark-read-ids.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/panel-states.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/placement-and-theme-sync.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/popover-focusout.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/refresh-on-return.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/section-ends-at-rule.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sync-read-state.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/widget-polish.md

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ npx @shipdot/cli build # → public/shipdot.json, public/llms.txt, public/llms
**3. Add the widget**

```html
<script type="module" src="https://unpkg.com/shipdot@0.1"></script>
<script type="module" src="https://unpkg.com/shipdot@0.2"></script>
<ship-dot src="/shipdot.json"></ship-dot>
```

Expand Down
2 changes: 1 addition & 1 deletion README_es.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ npx @shipdot/cli build # → public/shipdot.json, public/llms.txt, public/llms
**3. Agrega el widget**

```html
<script type="module" src="https://unpkg.com/shipdot@0.1"></script>
<script type="module" src="https://unpkg.com/shipdot@0.2"></script>
<ship-dot src="/shipdot.json"></ship-dot>
```

Expand Down
2 changes: 1 addition & 1 deletion action/dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion apps/docs/src/content/docs/frameworks/vanilla.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ sidebar:
From a CDN, no build step:

```html
<script type="module" src="https://unpkg.com/shipdot@0.1"></script>
<script type="module" src="https://unpkg.com/shipdot@0.2"></script>
<ship-dot src="/shipdot.json"></ship-dot>
```

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/content/docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ This validates every entry, renders Markdown to sanitized HTML and writes `publi
From a CDN:

```html
<script type="module" src="https://unpkg.com/shipdot@0.1"></script>
<script type="module" src="https://unpkg.com/shipdot@0.2"></script>
<ship-dot src="/shipdot.json"></ship-dot>
```

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/content/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@ npx @shipdot/cli build # writes public/shipdot.json and llms.txt
```

```html
<script type="module" src="https://unpkg.com/shipdot@0.1"></script>
<script type="module" src="https://unpkg.com/shipdot@0.2"></script>
<ship-dot src="/shipdot.json"></ship-dot>
```
2 changes: 1 addition & 1 deletion apps/docs/src/content/docs/reference/widget.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Attributes, properties, methods, events, slots, parts and browser s
---

```html
<script type="module" src="https://unpkg.com/shipdot@0.1"></script>
<script type="module" src="https://unpkg.com/shipdot@0.2"></script>
<ship-dot src="/shipdot.json"></ship-dot>
```

Expand Down
10 changes: 10 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @shipdot/cli

## 0.2.0

### Patch Changes

- [#24](https://github.com/pipe1os/shipdot/pull/24) [`380b0d5`](https://github.com/pipe1os/shipdot/commit/380b0d5de8613e2199e18a8f34c1781247c8d766) Thanks [@pipe1os](https://github.com/pipe1os)! - `shipdot init` prints `import 'shipdot'` instead of the CDN `<script>` when your `package.json` already depends on `shipdot`, and mentions the npm option otherwise.

- [#24](https://github.com/pipe1os/shipdot/pull/24) [`380b0d5`](https://github.com/pipe1os/shipdot/commit/380b0d5de8613e2199e18a8f34c1781247c8d766) Thanks [@pipe1os](https://github.com/pipe1os)! - `shipdot draft`: the `### shipdot` section of a pull request now also ends at a horizontal rule (`---`), so footers that tools append to the description no longer leak into the in-app note.
- Updated dependencies [[`b3c79e6`](https://github.com/pipe1os/shipdot/commit/b3c79e6027da3e1a88e7bb15fa1087a523460b5d)]:
- @shipdot/core@0.2.0

## 0.1.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shipdot/cli",
"version": "0.1.1",
"version": "0.2.0",
"description": "Turn merged pull requests into reviewed in-app release notes. Builds shipdot.json and llms.txt from Markdown entries.",
"keywords": [
"shipdot",
Expand Down
6 changes: 6 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @shipdot/core

## 0.2.0

### Patch Changes

- [#26](https://github.com/pipe1os/shipdot/pull/26) [`b3c79e6`](https://github.com/pipe1os/shipdot/commit/b3c79e6027da3e1a88e7bb15fa1087a523460b5d) Thanks [@pipe1os](https://github.com/pipe1os)! - `stripHtmlComments` finds comments with a linear-time scanner instead of the Markdown parser, which took quadratic time on deeply nested lists and block quotes: a 65 KB pull request body could stall `shipdot draft` and the GitHub Action for minutes. Comments are still removed the way GitHub renders them, and `<!--` in code spans and code blocks is kept.

## 0.1.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shipdot/core",
"version": "0.1.1",
"version": "0.2.0",
"description": "Feed schema, types, validation and the isomorphic compile pipeline behind shipdot.",
"keywords": [
"shipdot",
Expand Down
24 changes: 24 additions & 0 deletions packages/shipdot/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# shipdot

## 0.2.0

### Minor Changes

- [#42](https://github.com/pipe1os/shipdot/pull/42) [`1305bae`](https://github.com/pipe1os/shipdot/commit/1305baed5771ba79ddec5980e9bb3395382fd85b) Thanks [@pipe1os](https://github.com/pipe1os)! - Feed panel improvements: an "Earlier" divider between unread and read entries, an error message (with a retry) when `src` fails to load instead of a trigger that does nothing, and live re-rendering when a refresh or locale change happens while the panel is open. The built-in bell now has an accessible name before the feed loads. New UI strings: `earlier`, `error`.

- [#37](https://github.com/pipe1os/shipdot/pull/37) [`e8290e5`](https://github.com/pipe1os/shipdot/commit/e8290e5a28fd0e5efa9221f515fe1e74e8a76de5) Thanks [@pipe1os](https://github.com/pipe1os)! - The widget fetches `src` again when a tab comes back to the foreground 10 minutes or more after the last load, so tabs left open for days see new entries. Every fetch revalidates with the server (`cache: 'no-cache'`), so an unchanged feed costs a `304`.

- [#35](https://github.com/pipe1os/shipdot/pull/35) [`ddc75e9`](https://github.com/pipe1os/shipdot/commit/ddc75e9bfbc370d6f369ad91ebc3ef908f2e0360) Thanks [@pipe1os](https://github.com/pipe1os)! - Read state syncs across tabs and widgets. Reading entries in one tab clears the badge and hotspots in the others, and widgets on the same page with the same `storage-key` share read state and draw each hotspot once. Uses a `BroadcastChannel` named after the storage key, so it also works without `localStorage`. `shipdot:read` fires only in the widget where the entries were read.

### Patch Changes

- [#42](https://github.com/pipe1os/shipdot/pull/42) [`1305bae`](https://github.com/pipe1os/shipdot/commit/1305baed5771ba79ddec5980e9bb3395382fd85b) Thanks [@pipe1os](https://github.com/pipe1os)! - The badge, the unread dot and hotspot dots stay visible in forced colors mode (Windows High Contrast). Before, they were painted with the page background.

- [#34](https://github.com/pipe1os/shipdot/pull/34) [`6e791a1`](https://github.com/pipe1os/shipdot/commit/6e791a145c00aac6524a1e8d17b1b59829c5aeef) Thanks [@pipe1os](https://github.com/pipe1os)! - Hotspots follow targets that move without a scroll or resize, such as content inserted above them or a CSS transition. Reading one entry no longer rebuilds the other hotspots, so their pulse does not restart and an open tooltip stays open.

- [#28](https://github.com/pipe1os/shipdot/pull/28) [`8510a37`](https://github.com/pipe1os/shipdot/commit/8510a378e702f4ab6f15044fdea04baf2bc19b13) Thanks [@pipe1os](https://github.com/pipe1os)! - `markRead(ids)` marks entries as read by ID, so an app with user accounts can sync read state across devices: store the IDs from `shipdot:read` on your server and pass them back. It can be called before the feed loads.

- [#38](https://github.com/pipe1os/shipdot/pull/38) [`afe02f4`](https://github.com/pipe1os/shipdot/commit/afe02f4f6c10e4d26b093cf08c98262846306520) Thanks [@pipe1os](https://github.com/pipe1os)! - A popover opened above the trigger, and a hotspot tooltip opened above its target, no longer grow down over them when images finish loading. Hotspots pick up `--shipdot-*` properties and `color-scheme` the app changes after load, for example when it switches to dark mode with a class on `<html>`.

- [#36](https://github.com/pipe1os/shipdot/pull/36) [`5836781`](https://github.com/pipe1os/shipdot/commit/5836781571bce091857b9190fbaf1b6fd7c2ce00) Thanks [@pipe1os](https://github.com/pipe1os)! - The popover closes when Tab moves focus out of it, and focus stays where it went. Before, it stayed open and a later Esc anywhere sent focus back to the trigger.

- [#33](https://github.com/pipe1os/shipdot/pull/33) [`962cca3`](https://github.com/pipe1os/shipdot/commit/962cca34e1716f3ca01fb7ec886310fbe9c82752) Thanks [@pipe1os](https://github.com/pipe1os)! - Widget fixes and polish: the popover opens above the trigger when it does not fit below (bells in footers or bottom bars); hotspots hide when their target scrolls out of an inner scroll container; a slotted custom trigger gets `aria-expanded` and `aria-haspopup`; when `src` changes quickly, a slower earlier response no longer replaces the newer feed; the popover, modal and hotspot tooltip fade in (skipped with `prefers-reduced-motion`).

## 0.1.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/shipdot/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
`<ship-dot>`: a zero-dependency web component for in-app changelogs and **feature hotspots**. About 6.5 KB min+gzip.

```html
<script type="module" src="https://unpkg.com/shipdot@0.1"></script>
<script type="module" src="https://unpkg.com/shipdot@0.2"></script>
<ship-dot src="/shipdot.json"></ship-dot>
```

Expand Down
2 changes: 1 addition & 1 deletion packages/shipdot/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "shipdot",
"version": "0.1.1",
"version": "0.2.0",
"description": "<ship-dot>: a tiny, zero-dependency web component for in-app changelogs and feature hotspots.",
"keywords": [
"changelog",
Expand Down
Loading