Skip to content

Latest commit

 

History

History
254 lines (189 loc) · 9.06 KB

File metadata and controls

254 lines (189 loc) · 9.06 KB

v1.9.1

04/30/2026

    • Fixed PHP 8.1+ deprecation notice — explicit string casts where null was being passed to string-typed function arguments.

v1.9.0

04/27/2026

    • Grav 2.0 Compatibility
    • bin/plugin devtools i18n-blueprints — new CLI command that audits blueprint YAML files (blueprints.yaml, blueprints/**/*.yaml, admin/blueprints/**/*.yaml) across plugins and themes, classifying every label / title / description / help / placeholder / hint value as either a translation key or hardcoded English. Supports auditing a single plugin, a user/plugins (or user/themes) directory, or a full Grav root (auto-detected via system/defines.phpuser/plugins and user/themes are expanded automatically). Reports per-plugin counts and a hardcoded ratio.
    • --fix mode rewrites blueprint YAML in place, replacing each hardcoded value with a generated PLUGIN_FOO.STRING_KEY reference and emitting matching KEY: "Original string" entries directly into the plugin's existing language file. Detects both lang-file conventions: appends to languages.yaml (multi-locale, single file) when present, otherwise to languages/<lang>.yaml (per-locale), creating languages/en.yaml when neither exists. Plugin prefix (PLUGIN_FOO) is read from the existing language file's keys (preserving the author's chosen convention) or derived from the directory name. Existing keys are reused when both key and value match — re-running --fix is idempotent. --icu emits keys under an ICU: block instead, for plugins targeting Grav 2 / Admin2.
    • --interactive (-i) mode walks each finding one at a time with a y/n/a/s/q prompt for per-value review, useful for filtering false positives that the heuristic flags (CSS class strings, file paths, etc.) before any rewrite happens.
    • --key-length=N controls the maximum generated key length (default 40, minimum 10) — long values are trimmed back to the last underscore boundary. Collisions get _2, _3 suffixes automatically.
    • --details, --threshold, --dry-run, and --json flags for inspecting findings without rewriting, scoping the report to plugins above a hardcoded ratio, previewing --fix output, and machine-readable output.

v1.8.0

04/21/2025

    • Added "version:" to composer.json as it now requires it
    • Updated to Tailwind 3 version 3.3.3
    • Better autoload instructions
    • Fixed some https links in README.md to https

v1.7.1

06/14/2023

    • Removed platform-config #81

v1.7.0

02/15/2023

    • Created non-opinionated and basic Tailwind CSS theme as default tailwind solution
    • Moved the opinionated Tailwind CSS theme with Laravel Mix to a separate option

v1.6.1

01/02/2023

    • Improved FlexObjects default blueprint

v1.6.0

12/28/2022

    • Added new "FlexObjects" basic plugin type #77
    • Improvements for Tailwind CSS theme + AlpineJS #74
    • Updated languages.yaml #76
    • Updated links + default branch #72
    • Various PSR Fixes #71

v1.5.4

10/26/2021

    • Moved offline check to CLI flag #70
    • Updated footer copyrights for Pure Blank

v1.5.3

06/16/2021

    • Fixes over-zealous regex that caused duplication in copy tasks #69

v1.5.2

05/19/2021

    • Added basic TailwindCSS theme #65
    • Fixed typo #67
    • Use canonical URLs #58
    • Replace theme_config with config.theme #60
    • Fixed a bad path regarding composer install after plugin creation

v1.5.1

03/17/2021

    • Clearer instructions for composer initialization #62
    • Comment out autoload subscription event by default now that Grav 1.7 is out #62

v1.5.0

02/18/2021

    • Updated CLI commands for latest standards
    • Pass phpstan level 8 tests
    • Output cmd does not correctly show colors #56

v1.4.2

12/02/2020

    • User return typehints in plugin.php
    • Add proper twig escapes into a new theme

v1.4.1

05/20/2020

    • Make name key Composer 2.0 compatible #48
    • Correct type for themes #49

v1.4.0

04/27/2020

    • Added new required slug: and type: attributes to blueprints
    • Fixed plugin autoload

v1.3.1

02/24/2020

    • Set validation: loose in plugin blueprints by default
    • Add Grav 1.6 dependency to all new plugins and themes

v1.3.0

02/13/2020

    • Added composer-based autoloader to the new-plugin command

v1.2.4

11/06/2019

    • Added the ability to use devtools without an online connection to GPM
    • Regression fix for missing theme_config in pure-blank #45

v1.2.3

06/20/2019

    • pure-blank: Use new 'deferred' blocks for header
    • pure-blank: Use home_url variable
    • pure-blank: Improved README.md.twig

v1.2.2

04/21/2019

    • Add Github username field to new-theme template #39

v1.2.1

08/04/2018

    • Fixed incorrect folder name as a result of renaming typo of inheritence to inheritance #32

v1.2.0

07/25/2018

    • Internationalization for blank plugin component #30
    • Added a new check for reserved PHP words #7
    • Improved regex for valid emails #21
    • Fix broken renaming when doing a theme 'copy'
    • Typos #31

v1.1.1

03/29/2018

    • Fixed theme inheritance bug #25

v1.1.0

03/29/2018

    • Added new Theme copy option to create a new theme from another
    • Stop flushing GPM cache on each call to speed things up considerably!
    • Updated README.md #23
    • Properly extend Theme or Plugin #24

v1.0.8

10/02/2017

  1. inherited theme is after new theme #9

v1.0.7

10/02/2017

    • Various fixes for things that broke with the blueprint generation PR #20

v1.0.6

09/28/2017

    • Added blueprint generation #17
    • changed Pure CDN location #19
    • Fixed readme referencing githubid #13

v1.0.5

02/26/2017

    • Added GitHub ID prompt #5
    • Added missing closing html tag #12

v1.0.4

10/19/2016

    • More complete README.md
    • Typo in Error template

v1.0.3

09/16/2016

    • Removed Theme from theme's class causing events to not process - getgrav/grav#1047
    • Typo in README.md

v1.0.2

07/20/2016

    • Removed old header.html.twig

v1.0.1

05/06/2016

    • Fix for Grav 1.0.x

v1.0.0

04/19/2016

    • ChangeLog started...