Releases: themeum/kirki
Releases · themeum/kirki
Version 1.0.0-beta2
- NEW: Added more PHPUnit tests
- NEW: Use wp_add_inline_style to add customizer styles
- NEW: Rebuilt the background fields calculation
- NEW: Now using Formstone for switches & toggles
- FIX: Properly saving values in the db when using serialized options
- FIX: Check if classes & functions exist before adding them (allows for better compatibility when embedded in a theme)
- FIX: PHP Warnings & Notices
- FIX: Other minor bugfixes
- FIX: Now using consistently
option_type
instead ofoptions_type
everywhere - FIX:
Kirki::get_option()
method now works for all fields, including background fields. - TWEAK: Simplify the Colourlovers integration.
- TWEAK: Improve sanitization
- TWEAK: Improve the Kirki_Styles_Customizer class
- TWEAK: Code cleanups
- TWEAK: Added more inline docs
Version 1.0.0-beta1
- NEW: Added a new API. See https://github.com/aristath/kirki/wiki for documentation.
- NEW: Minimum PHP requirement is now PHP 5.2
- NEW: Added a Select2 field type.
- NEW: Introducing the Kirki::get_option() method to get values.
- NEW: added 'prefix' and 'suffix' arguments to output. See #200 (comment)
- NEW: Added ability to get variables for CSS preprocessors from the customizer values
- NEW: $units to all outputs to support '!important'
- NEW: Ability to create panels & sections using the new API.
- NEW: added a get_posts method to the Kirki class.
- NEW: Implement width argument in the styling options. See https://github.com/aristath/kirki/wiki/Styling-the-Customizer
- NEW: add kirki/control_types filter
- FIX: avoid errors when Color is undefined
- FIX: Use WP_Filesystem to get the google fonts array from a json file
- FIX: Radio-Button styling
- FIX: PHP Notices
- FIX: Typos
- FIX: Properly sanitising rgba colors
- FIX: Properly sanitize numbers
- FIX: Make sure all variables are escaped on output
- TWEAK: allow using serialized options.
- TWEAK: Use active_callback for required arguments instead of custom JS
- TWEAK: Adding some more inline docs
- TWEAK: Updated translation files
- TWEAK: Better color manipulation in the Kirki_Color class
- TWEAK: Move secondary classes instantiation to the Kirki() function.
- TWEAK: set a $kirki global
- TWEAK: deprecate getOrThrow method in the Kirki_Config class.
- TWEAK: Move sanitisation functions to a Kirki_Sanitize class.
- TWEAK: Rename Kirki_Framework to Kirki_Toolkit.
- TWEAK: Move variables to the new API
- TWEAK: simplify Kirki_Controls class
- TWEAK: move the kirki/fields & kirki/controls filters to the new API
- REMOVED: remove the 'stylesheet_id' from the configuration.
Version 0.8.4
April 6, 2014, dev time: 0.5 hours
- Fix: Color sanitization was distorting 0 characters in the color hex.
- Fix: Properly sanitizing ColorAlpha controls
- Fix: Sanitizing more properties in the Fields class
- Fix: removing remnant double-sanitization calls from the controls classes
Version 0.8.3
April 5, 2014, dev time: 28 hours
- New: Introduce a Field class
- New: Introduce a Builder class
- Tweak: Code Cleanups
- New: Added ability to use 'option' as the setting type
- Fix : Bugs in the color calculation class
- Tweak: Everything gets sanitized in the "Field" class
- Fix: Bugs in sortable field
- Fix: Editor control had no description
- New: Added a color-alpha control. To use it just set an rgba color as the default value.
- Tweak: SCSS & CSS improvements
- Fix: Various PHP notices and warnings when no fields are defined
- Tweak: More efficient color sanitization method
- Tweak: Improved number control presentation
- Tweak: Improved the way background fields are handled
- Tweak: Checkboxes styling
- New: Allow using rgba values for background colors
- Fix: CSS fix - :focus color for active section
- New: Add a static 'prepare' method to the ScriptRegistry class
- Fix: Issues with the URL when Kirki is embedded in a theme
Version 0.8.2
- Fix: Autoloader could not properly include files due to strtolower()
Version 0.8.1
- Fix: Translation strings now overridable using the config filter.
Version 0.8.0
March 30, 2014, dev time: 32 hours
- Improvement: OOP redesign (props @vpratfr)
- New: Added Palette control
- New: Added Editor control (WYSIWYG - uses TinyMCE)
- New: Added Custom control (free html)
- New: Added a Kirki_Colourlovers class to use palettes from the colourlovers API
- New: Added a composer file (props @vpratfr)
- Fix: Wrong settings IDs
- Fix: Color calculation on RGBA functions were off
- Tweak: Restructuring the plugin (props @vpratfr)
- New: added a functional kirki_get_option() function
- Tweak: Simplified configuration options.
- New: Turn Kirki into a singleton and a facade (props @vpratfr)
- Tweak: Completely re-written the customizer styles
- New: Using SASS for customizer styles
- Tweak: Deprecating the group_title control in favor of the new custom control
- Tweak: Changed the CSS for checkboxes
Version 0.8.0-dev
- Improvement: Started working on an OOP redesign (props @vpratfr)
- New: Added Palette control
- New: Added Editor control (WYSIWYG - uses TinyMCE)
- New: Added Custom control (free html)
- New: Added a Kirki_Colourlovers class to use palettes from the colourlovers API
- New: Added a composer file (props @vpratfr)
- Fix: Wrong settings IDs
- Fix: Color calculation on RGBA functions were off
- Tweak: Restructuring the plugin (props @vpratfr)
- New: added a functional kirki_get_option() function
- Tweak: Simplified configuration options.
- New: Turn Kirki into a singleton and a facade (props @vpratfr)
- Tweak: Completely re-written the customizer styles
- New: Using SASS for customizer styles
- Tweak: Deprecating the group_title control in favor of the new custom control
Version 0.7.1
- Removed: Remove the
kirki_get_option
function that was introduced in 0.7 as it's not working properly yet. - Fix: Undefined index notice when a default value for the control was not defined
- Tweak:
logo_image
now injects animg
element instead of adiv
with custom background - New: Added
description
argument in the kirki configuration (replaces the theme description)
Version 0.7
0.7 - 2014-03-14, dev time: 10 hours
- Fix: Array to string conversion that happened conditionally when used with googlefonts. (props @groucho75)
- Fix: Background opacity affects background-position of bg image
- Fix: font-weight not being applied on google fonts
- New: Added
kirki_get_option( $setting );
function that also gets default values - Tweak: Singleton for main plugin class
- Fix: Prevent empty help tooltips
- New: Added
toggle
control - New: Added
switch
control - Fix: Color controls were not being reset to default:
- Tweak: Tooltips now loaded via jQuery
- Tweak: Renamed
setting
to settings for consistency with WordPress core - Tweak: Renamed
description
tohelp
andsubtitle
to `description for consistency with WordPress core - Tweak: Backwards-compatibility improvements
- New: Allow hiding background control elements by not including default values for them
- Tweak: Performance improvements
- Tweak: Using WordPress core controls instead of custom ones when those are available
- Tweak: Separate logic for multiple-type controls that were using the "mode" argument. This has been deprecated in favor of completely separate control types.