Skip to content

Releases: htmlburger/carbon-fields

v3.1.1

11 Apr 09:51
Compare
Choose a tag to compare
  • Fixed hierarchy resolving logic in association field. (#636, #703) props @joeyblake
  • Fixed initial fetching of selected options in association field.
  • Fixed minor layout issues in association field.

v3.1.0

01 Apr 07:38
Compare
Choose a tag to compare
  • Added support for nested blocks 🎉 . See the documentation for more details.
  • Added registerContainerType & getContainerType to public API of metaboxes package.
  • Added support for alpha transparency to color field. (#648)
  • Fixed incorrect URL of edit link in association field. (#662)
  • Fixed loading of paginated results in association field.
  • Fixed layout of association field when the items have very long titles.
  • Fixed missing the block attributes in render callback. (#642)
  • Fixed locked "Update" button caused by required fields in hidden containers. (#653, #693)
  • Fixed interoperability between default and '' values in post_template condition.
  • Removed usage of _wpLoadGutenbergEditor variable.

v3.1.0-beta.1

27 Feb 10:33
Compare
Choose a tag to compare
  • Added support for nested blocks 🎉 . See the documentation for more details.
  • Added support for alpha transparency to color field. (#648)
  • Fixed incorrect URL of edit link in association field. (#662)
  • Fixed missing the block attributes in render callback. (#642)

3.0.2

14 Jan 12:44
Compare
Choose a tag to compare
  • Fix nested vertically tabbed complex width issue
  • Merge PR #637 to address #636
  • Merge PR #638

v3.0.1

02 Jan 15:27
Compare
Choose a tag to compare
  • Added new carbon_fields_attachment_id_base_url & carbon_fields_attachment_id_from_url filters - #624.
  • Updated language files.
  • Fixed regression in the locking of save button - #627.

3.0.0

21 Dec 11:08
Compare
Choose a tag to compare
  • Added support for Gutenberg.
  • Added Block::make to allow creating Gutenberg's blocks.
  • Added a new set of hooks to allow modification of fields at runtime.
  • Added support for revisions.
  • Removed lazyload attribute of fields.
  • Reworked frontend to integrate better the ecosystem around Gutenberg.
  • Compacting of the input is enabled by default.

2.2.0

16 Mar 09:18
Compare
Choose a tag to compare
  • Added Multiselect field.
  • Added alpha selection to Color field.
  • Added Network container.
  • Added placeholder attribute to date/time/datetime fields.
  • Upgraded to React 16.
  • Added and improved a number of translations.
  • Fixed WP 4.9 widget support.
  • Fixed meta queries for simple root fields.
  • Various other fixes and improvements.

Special thanks to all contributors for this release (in no particular order):

2.1.1

16 Nov 15:51
Compare
Choose a tag to compare
  • Added $_index template tag for set_header_template()
  • Added Collapse/Expand All button to complex fields
  • Added generic carbon_get( $object_id, $name, $container_type, $container_id = '' ) function
  • Added generic carbon_set( $object_id, $name, $value, $container_type, $container_id = '' ) function
  • Field validation will no longer be enforced when saving posts with a status other than publish (e.g. draft, pending) so users can save drafts without filling in all required fields
  • Fixed post_level not working for level 1
  • Fixed CUSTOM operator support for post_level and term_level conditions
  • Fixed complex field styling in term and user meta containers.
  • Fixed term meta container not resetting it's values properly when creating a new term from the terms listing screen
  • Fixed conditional logic not behaving as expected for fields which depend on fields which depend on fields etc.
  • Fixed rare crash related to post levels
  • Fixed date parse error when loading values in an unexpected format from the database
  • Fixed usage of empty() which is not compatible with PHP 5.3
  • Fixed Association field error when dealing with deleted terms
  • Fixed set_page_parent() not working when the parent container uses set_page_file()
  • Fixed file-based fields error caused by missing files from disk
  • Fixed issues with missing newlines and change detection of rich text field

2.1.0

25 Sep 09:32
Compare
Choose a tag to compare
  • New: Icon field (https://github.com/htmlburger/carbon-field-icon)
  • New: (#232) Media Gallery field (https://carbonfields.net/docs/fields-media-gallery/?crb_version=2-1-0)
  • New: (#185) oEmbed field (https://carbonfields.net/docs/fields-oembed/?crb_version=2-1-0)
  • New: Pre-built plugin release zips are now available (https://carbonfields.net/release-archive/)
  • New: (#351) carbon_field_exists( $name, $container_type, $container_id = '' ) function which allows you to check if a specific field exists by it's name and container type or container id
  • New: (#329) set_attributes( $attributes ) method to fields as a shortcut to avoid calling set_attribute() multiple times
  • New: (#346) post_ancestor_id post meta container condition (https://carbonfields.net/docs/containers-condition-types/?crb_version=2-1-0)
  • New: (#346) term_parent term meta container condition
  • New: (#346) term_ancestor term meta container condition
  • New: (#315) set_attribute() support to select-based fields (select, gravity forms)
  • New: Date/Time fields can now be edited manually as well
  • New: (#358) Italian translation thanks to @filippozanardo
  • Update: Complex fields' "Remove" label moved to the right to avoid accidental clicks
  • Update: post_template condition will now deal with empty template values as if they are "default" (this way you only have to deal with "default" or exact template names)
  • Update: (#316) Improved translation strings
  • Update: (#337) Russian translations thanks to @9585999
  • Update: (#316) German and Formal Germal translations thanks to @erichk4
  • Update: (#321) Finnish translation thanks to @timiwahalahti
  • Update: Performance improvements for container conditions
  • Fix: set_value_type( 'url' ) causing PHP errors when used on File/Image fields
  • Fix: post_template condition when the post in question has recently been changed to be the page for posts
  • Fix: (#346) Error caused by term conditions used in conjunction with the CUSTOM operator
  • Fix: Containers not appearing immediately when adding multiple nav menu items in a single action
  • Fix: Image fields in containers causing multiple media browsers to be opened after reordering
  • Fix: (#320) post_type container condition misbehaving when in an OR relationship
  • Fix: (#307) Various Rich text field issues
  • Fix: (#304) Support for fields with hypens in their names
  • Fix: The proxy Container::make() method is missing the $id parameter
  • Fix: Numerical keys support in select/set field options
  • Fix: Selecting multiple files in a file/image field inside a complex
  • Fix: Container validation issues
  • Fix: Various issues with widgets

Also big thanks to all contributors for this release - @vvasilev-, @jorostoyanov, @timiwahalahti, @campusboy87, @9585999, @soulseekah, @erichk4, @filippozanardo and @bjrhodes!

2.0.5-beta.2

04 Sep 13:18
Compare
Choose a tag to compare
2.0.5-beta.2 Pre-release
Pre-release

Beta for internal use