Repository navigation
Releases
Releases · inline0/blockstudio
7.7.15
- Fix: imported block comments with flat field values retain selections and hydrate the editor correctly, saving subsequent edits in the existing nested format without changing WordPress-owned attributes (#208)
- Fix: page sync reports children whose parent is unavailable instead of creating them at the top level or reparenting existing pages (#212)
- Fix: synced page sources outside a symlinked theme stay portable within the WordPress installation, while legacy theme paths still resolve after relocation
- Fix: static prerender build steps can reject a changed state directory before using it, and plans distinguish missing dependency chunks from new routes
- Performance: static prerender plans reuse shared dependency hashes and leave unchanged build artifacts in place
- Performance: optional forked batch prerendering reuses a single WordPress bootstrap, with HTTP fallback
- Performance: cache writes and eviction avoid unnecessary directory scans and filesystem checks
- Performance: Markdown conversion and documentation sanitization reuse cached output for unchanged input
- New: the
blockstudio/tailwind/sourcesfilter lets pages share a cached stylesheet built from configured source files and directories
7.7.14
- New:
bs_block_schema()includes matching saved-value examples from block definitions, excluding editor-only image placeholders (#203) - Fix: the admin Databases view displays its records table when opening and revisiting schema tabs (#205, #206)
- Fix: version migrations also run for Composer packages loaded by the theme
- Fix: pruning PHP cache files and deleting retired cache trees invalidates their compiled scripts in OPcache before removal
- Fix: configured settings lists replace defaults completely, including empty lists and shorter lists
- Fix: raw Markdown pages support HEAD with matching GET headers, a source-based token estimate, and no response body
- Fix: bundled TailwindPHP 1.8.6 preserves zero units in minified CSS functions and avoids quadratic minifier scanning
- Performance: frequently read options use autoloaded values where appropriate, while large collection configurations and persistent populate-cache versions retain separate caching (#204, #207)
7.7.13
- New:
bs_block_schema()describes canonical stored field values as JSON Schema, including matching extensions, groups, repeaters, and resolved options (#199) - Fix: post meta storage preserves literal backslashes, quotes, and nested values when saving and resaving block fields (#200, #202)
- Fix: meta-backed and custom-post-type database records preserve backslashes across creates, updates, and unrelated record rewrites (#200)
- Security: bundled Symfony YAML and Filesystem libraries are updated to 7.4.23 (#201)
- Fix: prerender cache hits retain
Linkheaders and other explicitly allowed response headers throughperformance.staticPrerender.replayHeaders
7.7.12
- Fix: file-backed pages preserve custom CSS classes in core block attributes and saved HTML, including mapped headings, groups, and button styles, on their next explicit sync (#196)
- Fix: page and pattern sources containing serialized WordPress blocks preserve attributes, nested blocks, and dynamic blocks instead of being reparsed as HTML (#196)
- New: saved-value validation suggests the closest storage key for unknown fields while preserving its machine-readable finding format (#198)
- Fix: custom-field documentation clarifies that override properties replace complete option, condition, and nested-field lists (#197)
7.7.11
- Performance: frontend asset and component processing avoids repeated full-markup searches for every registered block and field (#193)
- New: saved-value validation reports unknown top-level attributes and misplaced values missing the blockstudio wrapper without changing stored content (#194)
- Fix: RichText and InnerBlocks component tags preserve single-quoted, unquoted, empty, and boolean attributes, including nested RichText field paths (#195)
- Fix: SQLite journal activity no longer invalidates warm block metadata caches while source-file changes remain detected
- New: component pages: a
renderentry inpage.json, frontmatter, loader entries, or collection defaults renders the page through a renderer registered withBlockstudio\Page_Renderers; sync stores oneblockstudio/pageblock whose inner blocks are the page'sindex.*slot, and entry or data edits no longer count as page changes - New: renderer layouts such as
layout.tsxwith an optionallayout.data.phpwrap pages likelayout.php - New:
"scope": "site"collections group standalone pages and apply defaults without changing their keys, URLs, parents, or layouts, while nested collections keep their own manifests - New:
Assets::register_owner()gives non-block output, such as renderer assets, block asset processing and once-per-page tags that prerendered documents keep - New:
schemas/pages.jsondescribes collection manifests, and PHPStan checkspage.jsonrender entries and data loaders - Fix: pages read through a symlinked theme directory keep their layouts and store portable
theme:paths and prerender dependencies - New: loader-discovered Markdown pages can share a registered page renderer with loader-level and per-path render defaults
- New: PHPStan checks DOM attribute selectors and Interactivity API directives in React components, including attribute objects
- Fix: PHPStan theme-level diagnostics no longer abort analysis when a missing root or scan limit points to a directory
- Fix: PHPStan recognizes the
cache/namespaceGracesetting - Fix: sources containing a single shortcode are stored as a Shortcode block without extra paragraph markup
- Fix: bundled TailwindPHP 1.8.4 improves utility compatibility, class extraction, variant output, and class merging
- Performance: rendering one component page loads only its page data instead of hydrating all synced pages
7.7.10
- Fix: field schemas and TypeScript definitions include the supported radio, checkbox, code, WYSIWYG, repeater, color, and gradient options (#191)
- New: PHPStan reports unknown built-in field properties in
block.jsonandfield.json, with type-aware typo suggestions and separately suppressible diagnostics (#190, #192)
7.7.9
- New: fields support
translate: falseto keep technical values and nested container fields out of generated WPML translation configuration (#180) - New: custom string field types can opt into generated WPML translation configuration through their registration (#187)
- New:
wp bs blocks rendersmoke-tests block templates, examples, and explicit field values with structured PHP diagnostics and CI-friendly exit codes (#188) - Fix: icon requests and saved values can only resolve bundled icon files, including when old cached values exist (#186)
- Fix: Tabler icons and default icon subsets match the bundled files, and failed picker requests can retry (#185)
- Fix: unsupported tabs inside repeaters show an editor notice and PHPStan diagnostic without breaking sibling fields (#183)
- Fix: the field-patterns guide uses the correct tabs configuration and explains its field storage (#184)
- Performance: icon sets load on first picker interaction, share concurrent requests, and no longer create full-set database transients (#185)
7.7.8
- Fix: RPC, database clients, and realtime polling refresh credentials outside cached page HTML and recover from expired tokens without relaxing access checks (#176)
- Fix: cron documentation distinguishes standalone deactivation from bundled installs and documents host-plugin and theme cleanup hooks (#177)
- New: dynamic islands can opt into signed queried-page context with page-specific fragment caching and read-access checks (#178)
- New: extensions support an exclude list of block names and wildcard patterns in the editor and frontend (#179)
- New: bundled AI-generated translations cover WordPress-supported locales and regional variants while preserving the existing German and formal German translations
- Performance: warm frontend builds reuse resolved asset metadata and module stylesheet lists while preserving request-time URL and disable filters (#173)
- Performance: small cache payloads use OPcache-friendly PHP arrays when supported, with bounded compressed fallbacks and a
blockstudio/cache/compressfilter (#174) - Performance: unchanged resolved settings reuse their request-local fingerprint while reloads and mutable values remain correctly invalidated (#175)
7.7.7
- New:
bs_is_buffering()reports whether Blockstudio is buffering the frontend response, so themes can choose the correct stylesheet loading path (#157) - New:
bs_block_values()reads a stored block's transformed field values, defaults, and matching extension fields without running its template (#160) - New:
bs_strip_render_markers()removes registered block markers from HTML sent outside the buffered page without stripping other comments (#161) - Fix: selects populated with dynamic attribute arguments preserve saved selections and their configured return formats when rendered (#156)
- Fix: dependent populated fields resolve nested arguments and re-fetch options using the current editor values (#156)
- Fix: dependent selects preserve configured defaults and fallbacks, including single-option objects and matching static labels (#171)
- Fix: synced page sources use portable theme locations and resolve legacy paths across CLI, web-server, and deployment roots without request-time synchronization (#172)
- Fix: component-filter documentation describes the registered block argument and uses an HTML attribute string for
useBlockProps(#159) - Fix: the bundled dependency inventory lists every packaged library for security and SBOM tooling (#158)
- Fix: release downloads no longer include stale development source maps (#166)
- Fix: files-field examples use the actual attachment keys and image-size dimensions (#167)
- Fix: attribute render-filter examples handle one field value and register all three callback arguments (#167)
- Fix: quoted angle brackets in editor component props no longer truncate attributes or JSON values (#168)
- Performance: files fields can resolve fewer image sizes through
blockstudio/blocks/attributes/files/sizes, preserving WordPress image URL filters and existing output by default (#162) - Performance: post content primes files-field attachments across blocks, repeaters, and matching extensions in batches instead of loading each block's attachments separately (#163)
- Performance: repeated settings reads reuse their file check for one second while explicit reloads, path changes, and database-only settings remain immediate (#164)
- Performance: frontend
useBlockPropsprocessing skips a redundant HTML pass while preserving editor markers and rendered markup (#165) - Performance: editor markup uses the browser's native parser to reduce the initial bundle while preserving component props, JSON values, and table fragments (#168)
- Performance: code, classes, attributes, and WYSIWYG editors load on first use, keeping their shared libraries out of the initial editor download (#169)
- Performance: optional
assets.inlineLimitinlines small frontend block stylesheets within a page-wide byte budget while preserving cascade order and keeping unsafe CSS linked (#170)
7.7.6
- New:
bs_is_editor()andbs_is_preview()expose the same render mode as template variables to theme helpers and filters (#140) - New: WPML configuration uses translated link labels and supports custom translation-editor labels through
blockstudio/wpml/config/label(#142) - Fix: blocks rendered outside the main query receive their post ID from block context, preserving documented Query Loop behavior (#141)
- Fix: REST editor previews set up the edited post consistently and isolate post state and permissions between batch entries (#143)
- Fix: scoped updater dependencies recognize WordPress constants, functions, WP-CLI, and Debug Bar (#144)
- Fix: WP-CLI loads the updater with dot segments in the WordPress path and plugins symlinked from outside WordPress (#155)
- Fix: class-token previews find CSS rules for plain and escaped class names (#153)
- Fix: bundled select popups fit narrow viewports and position correctly with long labels and reduced motion (#154)
- Fix: bundled card titles, descriptions, and other shared text components load their required typography styles (#154)
- Fix: bundled controlled fields follow parent value changes and resets, including checkbox and switch form values
- Fix: number fields without explicit minimum or maximum values no longer clamp every edit to zero
- Fix: standalone toggles respond to pointer and keyboard input, and disabled collapsible triggers disable their buttons
- Fix: toolbar separators span the toolbar and follow its orientation without overflowing narrow viewports
- Fix: selected select options align with compact toolbar triggers, and menubar items use consistent popup spacing and hover styles
- Fix: field cards use an inset content surface with consistent header spacing and responsive field widths
- Performance: ordinary blocks skip hidden field initialization, and new nested repeaters receive their minimum rows before insertion without extra undo steps (#151)
- Performance: editor HTML and CSS formatters load on demand instead of in the initial bundle (#149)
- Performance: superseded single-block preview requests are aborted without clearing the current preview (#150)
- Performance: files fields prime attachment caches together instead of querying every file separately (#145)
- Performance: blocks without matching extensions skip unused attribute transformations (#146)
- Performance: editing locks and login bookkeeping no longer refresh populated choices; ignored meta keys are configurable (#147)
- Performance: profiling stops early for visitors who cannot receive its output (#148)
- Performance: per-request options load together, and ordinary frontend requests skip the editor capture transient lookup (#152)