acf-composer

Compose ACF Fields, Blocks, Widgets, and Option Pages with ACF Builder on Sage 10.

MIT License

Downloads
419.1K
Stars
417
Committers
20

Bot releases are hidden (Show)

acf-composer - v1.3.0

Published by Log1x over 4 years ago

Change log

Bug fixes

  • fix(options): Use DummyClass inside of the updatedMessage() method in the options stub
acf-composer - v1.2.9

Published by Log1x over 4 years ago

Change log

Thank you @alwaysblank <3

Enhancements

  • feat(options): Add missing option page properties (#13)
  • feat(options): Add missing option properties to options.full.stub (#13)
  • chore(options): Clean up the class properties

Bug fixes

  • fix(options): Add missing $slug property to options.full.stub
acf-composer - v1.2.8

Published by Log1x over 4 years ago

Change log

Bug fixes

  • fix(composer): Remove comma in function
acf-composer - v1.2.7

Published by Log1x over 4 years ago

Change log

Bug fixes

  • fix(options): Alias Options to Field to avoid generic class name clash

Enhancements

  • enhance(deps): Change ACF Builder from a suggestion to a dependency
  • chore(deps): Change minimum PHP version to 7.2.5 to be in line with Acorn
  • chore(options): Make Options stub docblocks uniform
acf-composer - v1.2.6

Published by Log1x over 4 years ago

Change log

Enhancements

  • enhance(options): Add Options folder to paths array. (#12)
acf-composer - v1.2.5

Published by Log1x over 4 years ago

Change log

Enhancements

  • enhance(console): Clean up CLI integration

Bug fixes

  • bugfix(views): Fix views not properly being converted to slugs
  • bugfix(widget): Add missing widget ID to get_field() in the items method
  • bugfix(widget): Prevent widget title from rendering on empty widgets
acf-composer - v1.2.4

Published by Log1x over 4 years ago

Change log

Enhancements

  • feat(blocks): Make block classes available in $block->classes
  • chore(deps): Bump dependencies

Bug fixes

  • bugfix(blocks): Fix block rendering after post save
acf-composer - v1.2.3

Published by Log1x over 4 years ago

Change log

Bug fixes

  • fix(widget): Fix missing widget slug
acf-composer - v1.2.2

Published by Log1x over 4 years ago

Change log

Bug fixes

  • fix(options): Add missing namespace for Illuminate\Support\Str
acf-composer - v1.2.1

Published by Log1x over 4 years ago

Change log

Enhancements

  • feat(autoload): Fields, blocks, and widgets classes are now autoloaded and no longer need added to the config.
  • refactor(options): Refactor options page implementation into its own class with documented properties.
  • enhance(stubs): Use camelCase for keys on generated stubs
  • fix(block): Change properties to public
  • fix(widget): Change properties to public
  • chore(docs): Improve documentation
  • chore(docblocks): Improve docblocks
acf-composer - v1.2.0

Published by Log1x over 4 years ago

Change log

Breaking Changes

  • BREAKING(blocks): register() has been deprecated. Block options are now set using class variables. Please see the available stubs for an example.

Enhancements

  • refactor(composer): Most functionality has been moved to a separate parent class.
  • feat(widgets): Added ACF sidebar widget functionality. Batteries included.
  • feat(options): Added the ability to easily create option pages.
  • feat(console): Added commands / stubs for acf:widget and acf:options
  • chore(console): Clean up existing stubs.
  • chore(docs): Write actual documentation.
  • chore(composer): Add suggestion for log1x/modern-acf-options
acf-composer - v1.1.3

Published by Log1x almost 5 years ago

Change log

Enhancements

  • enhance(defaults): Move field_group defaults out of build()
  • chore(config): Improve acf.php config documentation
acf-composer - v1.1.2

Published by Log1x almost 5 years ago

Change log

Enhancements

  • feat(defaults): Allow setting defaults for field groups
acf-composer - v1.1.1

Published by Log1x almost 5 years ago

Change log

Bug fixes

  • fix(defaults): fix default field type mapping
acf-composer - v1.1.0

Published by Log1x almost 5 years ago

Change log

Enhancements

  • feat(defaults): Recursively apply defaults to fields inside of groups
acf-composer - v1.0.9

Published by Log1x almost 5 years ago

Change log

Bug fixes

  • fix(global): Allow overwriting field type defaults per-field (tl;dr swap array_merge())
acf-composer - v1.0.8

Published by Log1x almost 5 years ago

Change log

Enhancements

  • feat(blocks): Add class variables to fetch block content, preview status, and current post ID from ACF.

Bug fixes

  • fix(phpcs): Fix linting ignore directory for resources.
acf-composer - v1.0.7

Published by Log1x almost 5 years ago

Change log

Enhancements

  • feat(global): Add global default field types to config 🎉
  • feat(blocks): Allow setting default field type settings per block 🎉
  • feat(fields): Allow setting default field type settings per field 🎉
  • chore(deps): Bump dependencies
  • feat(blocks): Rewrite the render_callback method
  • chore(global): Use cleaner syntax on various methods
acf-composer - v1.0.6

Published by Log1x almost 5 years ago

Change log

Enhancements

  • Change $block to an object
  • Give access to $this->block in controller
acf-composer - v1.0.5

Published by Log1x almost 5 years ago

Change log

Enhancements

  • Pass $block to the Block view. (Fixes #1)