Skip to content

Releases: thomasguillot/blockshot

1.1.2

Choose a tag to compare

@thomasguillot thomasguillot released this 10 May 19:45
7d215a9
  • Add AGENTS.md with instructions for AI coding agents to create Blockshots from a prompt — covers prerequisites, the canvas + svg block markup contract, the WP-CLI / REST recipe, the export-settings endpoint, and the browser-only export limitation
  • Add CLAUDE.md as a thin pointer to AGENTS.md

1.1.1

Choose a tag to compare

@thomasguillot thomasguillot released this 10 May 17:03
1.1.1
6715569
  • Await font loads before exporting

1.1.0

Choose a tag to compare

@thomasguillot thomasguillot released this 10 May 16:46
1.1.0
9f3928b
  • Move export controls to document panel and lock Canvas

1.0.5

Choose a tag to compare

@thomasguillot thomasguillot released this 09 May 16:47
960645b
  • Fix REST Settings::rest_update_settings TypeError on non-JSON request bodies
  • Move admin capability grants to plugin activation/deactivation hooks (no longer runs on every request); now correctly handles multisite network activation
  • Unify capability model on edit_blockshots for frontend access, REST routes, and Settings endpoints
  • Tighten REST route matching (was a fragile str_contains)
  • Return 404 instead of wp_die(403) for unauthorized frontend access; falls back to wp_die if the theme has no 404 template
  • Cache the block-template file read with is_string() guard against file_get_contents failures
  • Harden filename derivation (decode entities + strip tags + explicit site charset)
  • Add Update URI: false plugin header to prevent wp.org name-collision overwrites
  • Consolidate editor + frontend export pipelines into a shared module; export now clamps scale to [1,4] and quality to [1,100]
  • Frontend: fix DOMContentLoaded race when script is footer-enqueued; defensive blockshotSettings defaults; translated aria-label; wp_set_script_translations for both editor and frontend handles
  • Frontend: drop React createRoot for the icon (inline SVG)
  • Canvas block: declare supports.multiple: false; remove attribute back-fills that dirtied legacy posts on open; read user settings as render-time fallback
  • setDpi: warn once per session when JPEG has no JFIF APP0 segment to patch
  • First test coverage: 17 Jest tests + 12 PHPUnit tests

1.0.4

Choose a tag to compare

@thomasguillot thomasguillot released this 09 May 14:10
69f8604
  • Fix duotone filter not being applied to canvas exports

1.0.3

Choose a tag to compare

@thomasguillot thomasguillot released this 04 Mar 12:41
8ee8ba8
  • Fix outline/box-shadow focus ring on canvas when exporting
  • Fix canvas position when exporting
  • Fix CPT icon colour
  • Fix zoom iframe editor

1.0.2

Choose a tag to compare

@thomasguillot thomasguillot released this 03 Mar 12:37
dbdaa33
  • Fix missing styles for block editor iframe
  • Move export panel to Canvas block
  • Update documentation

1.0.1

Choose a tag to compare

@thomasguillot thomasguillot released this 02 Mar 19:54
c7116eb
  • Add space-between layout option to canvas

1.0.0

Choose a tag to compare

@thomasguillot thomasguillot released this 02 Mar 16:21
48cb3db
  • Initial release