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
13 changes: 0 additions & 13 deletions .changeset/decoy-count-follows-piece-size.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/log-assigned-detector-bundle.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/provider-caddy-least-conn.md

This file was deleted.

7 changes: 7 additions & 0 deletions demos/provider-mock/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @prosopo/provider-mock

## 2.8.207
### Patch Changes

- Updated dependencies [5c9792b]
- Updated dependencies [4201cf0]
- @prosopo/provider@5.21.1

## 2.8.206
### Patch Changes

Expand Down
2 changes: 1 addition & 1 deletion demos/provider-mock/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@prosopo/provider-mock",
"version": "2.8.206",
"version": "2.8.207",
"author": "PROSOPO LIMITED <info@prosopo.io>",
"license": "Apache-2.0",
"type": "module",
Expand Down
8 changes: 8 additions & 0 deletions dev/scripts/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @prosopo/scripts

## 3.1.211
### Patch Changes

- Updated dependencies [5c9792b]
- Updated dependencies [4201cf0]
- @prosopo/provider@5.21.1
- @prosopo/cli@3.9.2

## 3.1.210
### Patch Changes

Expand Down
2 changes: 1 addition & 1 deletion dev/scripts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@prosopo/scripts",
"version": "3.1.210",
"version": "3.1.211",
"description": "Dev scripts for working with prosopo packages",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@prosopo/captcha",
"packageManager": "pnpm@11.27.1",
"version": "3.9.1",
"version": "3.9.2",
"author": "Prosopo",
"type": "module",
"repository": {
Expand Down
7 changes: 7 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @prosopo/cli

## 3.9.2
### Patch Changes

- Updated dependencies [5c9792b]
- Updated dependencies [4201cf0]
- @prosopo/provider@5.21.1

## 3.9.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": "@prosopo/cli",
"version": "3.9.1",
"version": "3.9.2",
"description": "CLI for Prosopo Provider",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
14 changes: 14 additions & 0 deletions packages/provider/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# @prosopo/provider

## 5.21.1
### Patch Changes

- 5c9792b: Stop the puzzle burying the background under decoys, especially on phones.

The difficulty ladder draws `decoyCount` and `pieceScale` from a band independently — one in `samplePuzzleDifficulty`, the other in the renderer's own piece-size draw — so nothing tied how many decoys there were to how big they were. Ten decoys against a 126px piece is a different puzzle from ten against a 42px one, and a level was not monotonic in what the user actually saw: at the current bands a level-0 render could be crowded roughly seven times harder than a level-3 one.

Touch was worse rather than better. `easePieceScaleForTouch` raises the piece-scale floor so a finger cannot hide the piece, but it left the decoy count alone — bigger decoys in the same number is strictly more crowding. At level 4 the *minimum* coverage on a touch device was 1.56x the background area, so every render was a pile of overlapping pieces no one could read.

The decoy count is now trimmed against the piece size actually drawn, so the decoys cannot cover more of the background than a ceiling allows. Touch takes a lower ceiling than desktop, which is what makes easing for touch help instead of hurt. The cap only ever reduces the count, so no render becomes harder than the ladder intended, and a count already inside the ceiling is untouched — a render drawn near the middle of any level is unaffected and only the crowded corner is trimmed.

The trimmed count is what gets rendered *and* what is written to `render.settings.decoyCount` on the challenge record, so a replay reproduces the puzzle the user saw. The browser renderer takes the count as an input rather than deriving it, so the node and JS paths stay in step without a change to `@prosopo/puzzle-assets`.
- 4201cf0: The provider now logs `Detector bundle assigned` with the `bundleId`, its `release` and the `detectorSessionId` every time `detector/assign` hands out a bundle. Before this nothing recorded which bundle went out, so after a harvest we could only estimate how much of the pool had leaked.

## 5.21.0
### Minor Changes

Expand Down
2 changes: 1 addition & 1 deletion packages/provider/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@prosopo/provider",
"version": "5.21.0",
"version": "5.21.1",
"author": "PROSOPO LIMITED <info@prosopo.io>",
"license": "Apache-2.0",
"type": "module",
Expand Down
Loading