carbon-fields

WordPress Custom Fields Library ✨

OTHER License

Downloads
512.3K
Stars
1.4K
Committers
92

Bot releases are hidden (Show)

carbon-fields - v3.1.1

Published by vvasilev- over 5 years ago

  • 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.
carbon-fields - v3.1.0

Published by vvasilev- over 5 years ago

  • 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.
carbon-fields - v3.1.0-beta.1

Published by vvasilev- over 5 years ago

  • 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)
carbon-fields - 3.0.2

Published by ggeorgiev96 almost 6 years ago

  • Fix nested vertically tabbed complex width issue
  • Merge PR #637 to address #636
  • Merge PR #638
carbon-fields - v3.0.1

Published by vvasilev- almost 6 years ago

  • 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.
carbon-fields - 3.0.0

Published by vvasilev- almost 6 years ago

  • 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.
carbon-fields - 2.2.0

Published by atanas-dev over 6 years ago

  • 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):

  • @dmincheva
  • @nadia_geneva
  • @vvasilev-
  • @Peac36
  • @timiwahalahti
  • @ppetrov2create
  • @joshstoik1
  • @mimosafa
  • @bantosz
  • @jorostoyanov
  • @awisniewska
  • @BenBroide
  • @conveydk
carbon-fields - 2.1.1

Published by atanas-dev almost 7 years ago

  • 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
carbon-fields - 2.1.0

Published by atanas-dev about 7 years ago

  • 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!

carbon-fields - 2.0.5-beta.2

Published by atanas-dev about 7 years ago

Beta for internal use

carbon-fields - 2.0.5-beta.1

Published by atanas-dev about 7 years ago

Beta for internal use

carbon-fields - 2.0.4

Published by atanas-dev about 7 years ago

  • Added a clear button to Color field
  • Reworked Header/Footer Scripts fields to allow better control over the hook and hook priority used, for example
  • Added container instance reference to carbon_fields_*_container_admin_only_access filters for easier filtering
  • Checkbox field now accepts boolean values when being set through carbon_set_*() methods
  • Fixed Nav_Menu_Item_Container not appearing for newly added menu items
  • Fixed Rich_Text not enqueuing some optional scripts
  • Fixed nested complex field validation on form submission
  • Fixed submit button sometimes being blocked when an error occurrs.
  • Various other minor fixes
carbon-fields - 2.0.3

Published by htmlburger-git over 7 years ago

  • Fixed field validation (e.g. optional complex fields showing validation errors)
  • Fixed nested complex fields with different layouts becoming uncollapsible visually
  • Added an internal release guide to avoid missed release steps in the future
carbon-fields - 2.0.2

Published by atanas-dev over 7 years ago

  • Plugin support has been separated into it's own composer package so htmlburger/carbon-fields is a normal composer package while the new htmlburger/carbon-fields-plugin is a wordpress-plugin type composer package (which requires htmlburger/carbon-fields).
  • As a result of the above, if you wish to use Carbon Fields in your plugin or theme, require htmlburger/carbon-fields. If you want to use carbon fields as a WordPress plugin, require htmlburger/carbon-fields-plugin instead. The documentation has a new Plugin Quickstart page with more information.
  • A new custom validation jQuery event/hook has been exposed $(document).on('carbonFields.validateField', function(e, fieldName, error) {}). This allows you to validate fields on your own and return custom error messages if needed. More information has been added to the JavaScript API documentation page.
  • Theme_Options_Container's method set_page_position() has been changed to set_page_menu_position (set_page_position() is now an alias for backwards compatibility).
  • Added set_page_menu_title() to Theme Options container which allows you to override the page title in the administration menu
  • Newly added groups to complex fields using set_collapsed() will now be expanded.
  • Fixed a layout bug with tabbed complex fields and set_collapsed().
  • Other minor fixes and improvements.
carbon-fields - 2.0.1

Published by atanas-dev over 7 years ago

  • Fixed conflict with Yoast SEO (babel-polyfill duplication)
  • Allowed the usage of data-* attributes in Field::set_attribute( $name, $value )
carbon-fields - Version 1.6

Published by atanas-dev over 7 years ago

Special thanks to all contributors for this release including @pedro-mendonca, @elvishp2006, @timiwahalahti, @campusboy87, @m1r0, @pkostadinov-2create, @georgeHtmlBurger, @yuliyan and others.

  • Added a new field: Radio Image
  • Added new conditional logic comparison operators: INCLUDES and EXCLUDES which work for array-based fields (e.g. Set_Field) and string-based fields (e.g. Text_Field)
  • Added Complex_Field::set_collapsed() method which allows you to control if groups should display collapsed on page load
  • Added partial support for duplicate container names, the only exception being that 2 theme options containers with the same name will still not be allowed
  • Fixed several Sidebar/Widget related issues
  • Fixed Relationship/Assosiation field issues with deleted items
  • Fixed User Meta container title being visible when the container itself is not.
  • Fixed error messages sometimes not being shown for containers
  • Updated ->set_options() and ->add_options() to both be able to receive callbacks and arrays.
  • Fixed various Nav_Menu_Container issues
  • Fixed "Click Here" adding 2 entries to empty complex fields
  • Added User_Meta_Container::show_for() method to allow users other than administrators to interact with user meta containers
  • The Media popup will now properly mark any previously selected attachment
  • A number of i18n updates, stability improvements and fixes.
carbon-fields - Version 1.5

Published by m1r0 almost 8 years ago

  • Improved GUI! Big thanks to @holmar and @georgknabl for the great contribution! (preview)
  • Added Brazilian Portuguese (pt_BR) translation (thanks to @elvishp2006).
  • Many bugfixes and improvements.
carbon-fields - Version 1.4

Published by m1r0 about 8 years ago

  • Introduced the Complex Field vertical tabbed layout.
  • Allow fields with the same name to be used in different Carbon Containers.
  • Added German (de_DE) translation (thanks to @AlexBa).
  • Added Swedish (sv_SE) translation (thanks to @fhqvst).
  • Added Russian (ru_RU) translation (thanks to @andrewostrin).
  • Added Spanish (es_ES) translation (thanks to @fitodac).
  • Performance improvements.
  • Some i18n improvements.
  • Few bugs squashed.
carbon-fields - Version 1.3

Published by m1r0 about 8 years ago

  • Introduced the Complex Field tabbed layout (example).
  • Added Portuguese (pt_PT) translation (thanks @pedro-mendonca).
  • Allow saving empty complex field groups.
  • Added a filter for the Google Maps API key.
  • Minor improvements and fixes.
carbon-fields - Version 1.2

Published by tyxla over 8 years ago

  • Ensured compabitility with the WordPress Coding Standards.
  • Introduced new Time field type.
  • Introduced new Date_Time field type.
  • Enhanced the Composer configuration.
  • Fixed an issue with handling numeric indexes in Predefined_Options_Field field types.
  • Fixed several issues with set_width() in nested or sibling Complex fields.
  • Fixed issue with attaching user_meta container under certain conditions.
  • Enhanced post_meta container to use page post type when calling the show_on_page_children(), show_on_page() and show_on_template() methods.
  • Added French translation.
  • Introduced interface for managing header template for Complex field groups.
  • Introduced a filter for the save button on the theme_options container.
  • Renamed the textdomain to be compatible with the one, used in GlotPress.
  • Added new tests.
  • Performed various other code and UI fixes and improvements.