Releases: thomasguillot/blockshot
Releases · thomasguillot/blockshot
Release list
1.1.2
- Add
AGENTS.mdwith 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.mdas a thin pointer toAGENTS.md
1.1.1
1.1.0
- Move export controls to document panel and lock Canvas
1.0.5
- Fix REST
Settings::rest_update_settingsTypeError 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_blockshotsfor 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 towp_dieif the theme has no 404 template - Cache the block-template file read with
is_string()guard againstfile_get_contentsfailures - Harden filename derivation (decode entities + strip tags + explicit site charset)
- Add
Update URI: falseplugin header to prevent wp.org name-collision overwrites - Consolidate editor + frontend export pipelines into a shared module; export now clamps
scaleto [1,4] andqualityto [1,100] - Frontend: fix
DOMContentLoadedrace when script is footer-enqueued; defensiveblockshotSettingsdefaults; translated aria-label;wp_set_script_translationsfor both editor and frontend handles - Frontend: drop React
createRootfor 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
- Fix duotone filter not being applied to canvas exports
1.0.3
- 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
- Fix missing styles for block editor iframe
- Move export panel to Canvas block
- Update documentation
1.0.1
- Add space-between layout option to canvas