Releases: Log1x/sage-directives
Releases · Log1x/sage-directives
v2.0.6
v2.0.5
v2.0.4
Change log
Enhancements
- ✨ Add
@menu,@hasmenuand@endhasmenuWordPress directives (#147)
New Contributors
- @davidwebca made their first contribution in #147
Full Changelog: v2.0.3...v2.0.4
v2.0.3
Change log
Bug fixes
- 🚚 Rename
@styleto@stylesheet(Fixes #142) - 🐛 Fix parsing when using the
@imagedirective (Fixes #135, Fixes #117)
Enhancements
- ✨ Add a
@thememoddirective (#102) - ♻ Refactor directives into classes
- 🎨 Improve directive registration
- 🙈 Add
composer.lockto.gitignore - ⬆ Bump documentation dependencies
- 📝 Update the
@imagedocumentation - ✅ Update tests to reflect output changes
New Contributors
Full Changelog: v2.0.2...v2.0.3
v2.0.2
v2.0.1
Important
Read the v2.0.0 release notes.
🚀 This release closes every remaining issue.
Change log
Enhancements
- enhance(directives): Add Blade
$loopvariable support to@posts(#96) - enhance(directives): Add proper Blade
$loopvariable support to@repeat - enhance(directives): Add support for customizing the
@fieldformat value (Fixes #43) (#97) - chore(test): Redo
@poststests for$loopsupport - chore(test): Update the
@repeattest for$loopsupport - chore(docs): Add mention of
$loopto the@postsdocs section - chore(test): Add tests for
@fieldformat values - chore(deps): Bump docs dependencies (#95)
- chore(docs): Update the docs homepage to match repo README (#94)
- chore(ci): Bump CI node version to 16
Bug fixes
- fix(test): Fix invalid
@poststest
v2.0.0
Important
Sage Directives v2.0.0 drops support for Sage 9, PHP 7.x, and PHP 8.0.
Warning
Breaking Changes
All Font Awesome (@fa, @fab, etc.) directives have been removed. Use Blade Icons instead.
Otherwise, this release should fix way more then it breaks and now has full test coverage matching examples in the docs.
Change log
Bug fixes
- fix(docs): Fix typo on
@termand@termsexample parameters - fix(directives): Fix a lot of instances where directives didn't work as described by the docs (Fixes #75, Fixes #73, Fixes #70, Fixes #63, Fixes #50, Fixes #44, Fixes #42, Fixes #40, Fixes #37, Fixes #30, Supersedes #76, Supersedes #74, Supersedes #68, Supersedes #65, and probably more.)
- fix(directive): Fix
@publishedand@modifieddirectives with custom date format (Fixes #57) - fix(directive): Fix missing closing tag for
@noposts(Fixes #59) (#60)
Enhancements
- feat(tests): Add blade compiler tests for directives
- chore(git): Add Acorn test directory to
.gitignore - chore(git): Add
/teststo.gitattributes - chore: Remove
CHANGELOG.md - chore: Remove unnecessary license year
- enhance(provider): Move Sage Directives registration into a Service Provider (Fixes #80, Supersedes #81)
- chore: Rename the
Utilitiesclass toUtil - chore(docs): Remove deprecated Font Awesome directives
- enhance(directives): Use new
isIdentifierutility as needed - chore(directives): Change
<?=to<?php echo - enhance(directives): Clean up directive implementation
- chore(directives): Remove Font Awesome directives
- chore(deps): Use PSR-4 autoloading
- chore(deps): Autoload tests
- chore(deps): Bump minimum PHP requirement to 8.1
- chore(deps): Add
roots/acorn,pestphp/pest, andlaravel/pintas dev-dependencies - chore(deps): Remove
sage-svgsuggestion - chore(deps): Add
acornto package keywords - chore(ci): Add Dependabot to the project
- chore(ci): Bump tested PHP versions
- build(deps): bump actions/cache from 2 to 3
- build(deps): bump actions/setup-node from 2 to 3
- build(deps): bump actions/checkout from 2 to 3
- enhance(util): Improve the parse utility when dealing with delimiters
- chore(test): Add tests for
@publishedand@modifiedusing custom date format - chore(directive): Remove unnecessary
str_replaceon implode - enhance(directives): Add support for passing multiple roles to
@role(Fixes #49) - chore(test): Add test for passing multiple roles to
@role - chore(docs): Update docs for
@role - enhance(directives): Add a
@postmetadirective (Fixes #79) - chore(test): Add tests for
@postmeta - chore(docs): Add
@postmetato the docs - enhance(directives): Add a
@postclassdirective (Fixes #31) - chore(test): Add tests for
@postclass - chore(docs): Add
@postclassto the docs - enhance(directives): Add a
@sidebar,@hassidebar, and@endhassidebardirective (Fixes #71) - chore(test): Add tests for
@sidebar,@hassidebar, and@endhassidebar - chore(docs): Add
@sidebarto the docs - chore(directive): Rename
ACFtoAcf - chore(directive): Update directive class namespaces
v1.1.9
Change log
Enhancements
- feat(wordpress): Add
@__translate directive (#38) - feat(wordpress): Add @wpbodyopen directive (#46)
- chore(docs): Document @wpbodyopen directive
- feat(acf): Add
@hasfieldsand@endhasfieldsdirectives (#52) - chore(docs): Add @hasfields and @endhasfields to docs (#53)
- enhance(package): Add
log1x/sage-directives/namespacefilter for overriding default namespace (#33) - feat(directives): Add
@hasoptions&@endhasoptions(#54) - chore(changelog): Add v1.1.7 – v1.1.9 to the changelog
Bug fixes
v1.1.8
v1.1.7
Change log
Bug fixes
- Fix
@thumbnail()havingthumbnailhardcoded as its image size when passedfalseas the second value.- This was intended behavior so hopefully it doesn't break something else.
- Please report if it does – if so, this directive may need a rewrite tbh.