Change Log

Changelog

All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.

1.5.3.1 - 23/06/2020

Fixed

    Custom Template Tags Not Working In Selectbox

1.5.3 - 17/06/2020

Added

    Option To Customize Page's Browser Title

Fixed

    Select Ajax Query Args Not Working Fields Outside WPOnion Module

Changed

    Bump sweetalert2 from 9.14.4 to 9.15.1
    WPOnion Core Assets CDN Version To 1.4

1.5.2 - 14/06/2020

Fixed

Changed

    Bump sweetalert2 from 9.14.0 to 9.14.4 #250
    Bump [@popperjs/core] from 2.4.0 to 2.4.2 #251

1.5.1 - 06/06/2020

Changed

    wponion_icon function now can handle image link

Fixed

    Performace Fix in Storage Interface.

1.5 - 06/06/2020

Added

    Hook Priority option in taxonomy
    WPONION_PLUGIN_FILE constant in plugin file.
    Deprecation handlers for (Function,Actions,Filters)
    Nested Array Support for Class_Options Trait
    Option to have external links in Admin Page Module
    Changes Browser URL when click tab in settings page (useful if everything loads in a single page)
    is empty check with array wponion_is_array
    Created Storage Handlers which interacts with wordpress DB.
    Action : "wponion/{$this->module()}/get/before"
    Action : "wponion/{$this->module()}/{$this->unique()}/get/before"
    Action : "wponion/{$this->module()}/{$this->unique()}/get/after"
    Action : "wponion/{$this->module()}/get/after"
    Action : "wponion/{$this->module()}/save/before"
    Action : "wponion/{$this->module()}/{$this->unique()}/save/before"
    Action : "wponion/{$this->module()}/{$this->unique()}/save/after"
    Action : "wponion/{$this->module()}/save/after"
    Filters : "wponion/{$this->module()}/get/values"
    Filters : "wponion/{$this->module()}/{$this->unique()}/get/values"
    Filters : "wponion/{$this->module()}/save/values"
    Filters : "wponion/{$this->module()}/{$this->unique()}//save/values"
    Function : wponion_cast_array
    Function : wponion_has_column_class
    Function : wponion_parse_args_mixed
    Function : wponion_parse_args_forced_values
    Function : wponion_cast_array
    Function : wponion_define
    Function : wponion_is_defined
    Function : wponion_is_set
    Function : wponion_is_version

Fixed

Changed

    Bump sweetalert2 from 9.10.12 to 9.14.0
    Reworked Admin Notice Module and changed all function names to match wponion format
    Moved Setup folder from core/ to /
    Moved Some Internal Options Arg to data folder
    Moved builder Files From Root To includes/
    Moved Templates From Root To includes/
    Moved module-fields from Root to includes/
    Moved fields from Root to includes/
    Moved integrations from core/ to includes/
    Cleanup done for core/helpers and moved to core/functions
    Renamed Certain Files With Proper Prefix
    24+ Deprecated Action
    16+ Deprecated Filters
    Deprecated Function wpo_help use wponion_tooltip
    Deprecated Function wponion_validate_bool_val use wponion_is_bool_val
    Deprecated Function wponion_get_field_class_remap use wponion_field_class_remaps
    Deprecated Function wponion_get_registry_instance
    Deprecated Function wponion_is use wponion_is_instance
    Deprecated Function wponion_field_debug use wponion_is_field_debug
    Refactor for all modules and rearranged in its proper folder.
    Base Unique Returns Unique Value if Base Unique not exists.

Removed

    Autoloader's Instance
    if(class_exists()),if(trait_exists()),if(interface_exists()) checks

1.4.6 - 06/05/2020

Fixed

Added

    All Modules in WPOnion Can Provide An Option To Load Custom Assets via "assets" => "your-asset" in module argument.
    Function ->section it can be used instead of ->container inside tab field
    ACTION wponion_query_database
    ACTION wponion_{module_slug}_db_save_before
    ACTION wponion_{module_slug}_db_save_after
    FILTER wponion_ajax_wp_query_results
    FILTER wponion_wp_query_result
    FILTER wponion_query_args
    NEW add_field Method In Builder
    wponion-inline-dependency option
    image_sizes WP Query Data Option.
    user_roles WP Query Data Option.
    capabilities WP Query Data Option.

Changed

    Deprecated field Method In Builder
    Deprecated ->container inside tab field
    Swticher style prefix changed from ckbx- to wpock-
    Moved custom asset loader functions from admin-page module to wponion_load_asset
    Rearranged Arguments for wpo_user_meta,wpo_post_meta
    Bump css-checkbox-library from 1.4.0 to 1.5.1
    Bump tippy.js from 6.2.0 to 6.2.3
    Bump [@popperjs/core] from 2.3.3 to 2.4.0
    Bump [jquery] from 3.4.1 to 3.5.1

Removed

    load_from_existing from builder
    .wponion-framework prefxed style changed from (.wponion-framework.wponion-module-settings) to (.wponion-module-settings) in css
    .wponion-framework prefxed style changed from (.wponion-framework.wponion-element-accordion) to (.wponion-element-accordion) in css

1.4.5.3 - 22/04/2020

Fixed

    Bootstrap Style issue with Porto Theme #221

Changed

    Bump @wordpress/hooks from 2.7.0 to 2.8.0
    Bump WPOnion Icons from 1.0.0' to1.0.3`
    Bump tippy.js from 6.1.1 to 6.2.0
    Bump [@wponion/flexboxgrid2 ]from 1.0.1 to 1.0.2
    Bump [@popperjs/core] from 2.3.2 to 2.3.3
    Moved Alerts CSS From normal to wpo- prefixed
    Moved Jumbotron css from normal to wpo- prefixed
    Moved table css from normal to wpo- prefixed
    Combined Multiple media query for the same style into 1.

Removed

    .wponion-element prefix for each element's style remvoed to reduce css file size
    wponion-plugins.css file combined to wponion-base.css and removed.

1.4.5.2 - 14/04/2020

Changed

    Improved Settings Page / Metabox Menu Navtion Easy.
    Improved PHP Documentation.
    Bump [@popperjs/core] from 2.2.1 to 2.3.2
    Bump sweetalert2 from 9.10.9 to 9.10.12

Fixed

    select2 CSS Bug Fixed.
    query_args in \WPO\Container callback fixed.

Removed

    Deleted All \WPO\Field Get method's comments.

1.4.5.1 - 06/04/2020

Changed

1.4.5 - 02/04/2020

Fixed

    Multiple Ajax Request when using CTRL+S
    Warning When Direct CSS Added $field->parse('color:red'); fixed.
    Updated WPOnion to use wp_nav_menu_item_custom_fields hook instead of custom walker if wordpress version is 5.4 =>

Changed

    Bump sweetalert2 from 9.10.7 to 9.10.8
    Bump WPOnion Icons from 1.0.0' to1.0.1`
    button Field type changed to UI
    modal Field type changed to UI
    wp_list_table Field type changed to UI

1.4.4 - 30/03/2020

Added

    Option to set custom css style per field $field->css('font-size:12px;')

Fixed

    Responsive Field styles.

Changed

    Column Layout changed for all field types
    Bump sweetalert2 from 9.10.6 to 9.10.7

1.4.3 - 26/03/2020

Added

    WPOnion Icon Library
    Bootstrap Style WP-List Table
    Added Markdown for tooltips.

Changed

*Bump sweetalert2 from 9.10.5 to 9.10.6

1.4.2 - 24/03/2020

Added

    Array Access Trait For ArrayAccess
    Array Iterator Trait For Iterator
    New Field Dependency Plugin WPOnion_DependOn
    Fieldset & Accordion dependency support
    Shortcut Key Press (CTRL + S) to save settings

Fixed

    TAB Field CSS Fixes.

Changed

*Bump sweetalert2 from 9.10.3 to 9.10.5

Removed

    Removed Group Field dependency support due to nested issues

1.4.1 - 20/03/2020

Fixed

    Removed ob_flush(); because of nested output buffering issue
    Field button_set now works well with wpo-btn-{status} css class
    Fixed Some Field's CSS Issue

Changed

    Bump popper.js from 1.16.0 to 2.1.1
    Bump @wordpress/hooks from 2.6.0 to 2.7.0
    Bump sweetalert2 from 9.4.3 to 9.10.3
    Bump tippy.js from 5.1.2 to 6.1.0
    Bump [acorn] from 5.7.3 to 5.7.4
    WPOnion Core Assets CDN Version To 1.3.9
    Migrated WPOnion To New Icon Set.

Added

Removed

    Old WPOnion Icon Fonts.

1.4.0 - 04/12/2019

Fixed

    Fixed Issue #161
    Fixed Issue #162
    Javascript Validation issue in nested fields like (Fieldset / Accordion / Group)

Changed

1.3.9 - 25/11/2019

Added

    __toString Function to \WPOnion\DB\Option Class.
    Split Save Feature Added

Fixed

    Tab Field CSS Flicker Issue
    Multiple Custom Metabox in same page Render Issue

Changed

    renamed wpo_taxonomy to wpo_term_meta
    renamed function wponion_fields_all_ids_defaults to wponion_extract_all_fields_ids_defaults
    Bump sweetalert2 from 8.18.6 to 9.4.0
    Bump tippy.js from 5.1.0 to 5.1.1
    WPOnion Core Assets CDN Version To 1.3.8
    Updated Fontawesome icons list

Removed

    Code Clean Up

1.3.8 - 26/10/2019

Added

    Autoloader With Pre Generated Classmpas

Changed

Removed

    Removed All Button in Dimensions field.

1.3.7 - 26/09/2019

Added

    wponion_ajax_shutdown_error New action in wponion ajax request.
    wponion_ajax_shutdown New action in wponion ajax request.
    wponion_ajax_shutdown_success New action in wponion ajax request.

Fixed

    Ajax Assets Loading #105
    Settings Page Menu Loading issue after saving settings

Changed

Removed

    WPOnion Removed From WordPress.org Refer : #106

1.3.6 - 22/08/2019

Added

    Label Support for Switcher Field
    Visual Editor Field -> CSS Basic Props like (Margin,Padding,Border,Border-Radius)
    CSS Shadow Field
    Number Field
    CSS Unit Field
    WPOnion's Custom Icon Pack
    JAVASCRIPT Hook : wponion_register_after_core_fields
    JAVASCRIPT Hook : wponion_register_after_core_themes
    Field Badge Option
    Multiple Field Description

Fixed

    Color Picker Field Saving & Showing Value
    Saving & Showing Values In WP Link Field
    Saving & Showing Values In Key Value Field
    Cloner Field Issue with CSS & Field Rendering
    Updated Spacing Field With Propr FlexGrid2 CSS

Changed

    Typogryphay Field Fully Redeveloped
    Option To Disbale Variants in FontPicker
    Option To have Empty Select in Select field empty_option => true
    Bump @wordpress/hooks from 2.4.0 to 2.6.0
    Bump sweetalert2 from 8.14.0 to 8.17.1
    Bump tippy.js from 4.3.4 to 4.35
    Bump easy-gulp-tasker from 1.0.10 to 1.0.15
    Bump [wordpress-js-ports] from 1.0.6 to 1.0.9

1.3.5 - 29/07/2019

Added

    WordPress Importer Integration
    WPO Metabox Builder
    title_column && fieldset_column Function in Field Builder
    wponion_ajax_args which returns common ajax arguments functions.
    column_cb predefined in WPListTable
    .wpo-badge-outline-danger Badge Style
    .wpo-badge-plain-danger Badge Style
    Option To Remove A Field From Builder
    Added wponion_success_toast function in js

Fixed

    Settings Page Javascript Validation When Ajax Enabled

Changed

    subheading And heading Fields Description Style.
    Bump sweetalert2 from 8.13.6 to 8.14.0
    Bump @simonwep/pickr from 1.2.2 to 1.2.4
    Bump [select2] from 4.0.7 to 4.0.8

Removed

    template_path argument in metabox
    tabindex in WPModal

1.3.4 - 19/07/2019

Added

    Auto Generate Unique Instance ID For each module instance
    inline argument to show checkbox / radio in a single line
    New ColorPicker Library #77
    New Tab Styles

Changed

    Updated Vendor Support Version
    Combined all javascript files into wponion-core.js
    Combined all css files into wponion-core.css
    Core & Fields Javascript Fully Redeveloped from ground
    Bump sweetalert2 from 8.13.4 to 8.13.6

Removed

    clipboard.min.js
    WP Color Picker Source

1.3.3 - 10/07/2019

Added

Fixed

    Customizer Field Errors Fixed
    Icon Picker Issue With Taxonomy & Metabox Module
    Select2 & Selectize Ajax Data Loding Issue With Taxonomy & Metabox
    Field Wrap Class Issue When Inputmask Active
    Elementor Integration Dynamic Class #67
    Select2/Selectize/Chosen Issue in Metabox #73
    Improved Icon Picker Field.

Changed

1.3.2 - 04/07/2019

Added

    Top icons Libs Added

Fixed

Removed

    \WPOnion\Helper::get_material_design_colors()
    CDN Status Validator

1.3.1 - 01/07/2019

Fixed

    Settings Page Ajax Save Error.

1.3 - 01/07/2019

Added

    Field Arg builder_path -- Passes Actual Path For The Field In The Builder
    Custom Field Argument nopreview For OEmbed Field which uses it when no preview found for the given url.
    array_insert_before Function
    array_insert_after Function
    'wponion-element-type-{type}' New HTML Field Element Class
    'wponion-field-type-{type}' New HTML Field Element Class
    data-wponion-field-type New HTML Field Element Attribute
    wponion_catch_output php function
    WPOnion Cache Module
    WPOnion New Ajax Module
    Modal Field
    Import / Export Field.
    Spinner Field
    Range Slider Field
    Code Editor Field
    wponion_after_setup Javascript Hook
    List Table Field Builder
    Button Field Builder
    Import / Export Builder
    Builder Import / Export wponion_builder_export && wponion_builder_import

Changed

    Bump CDN Version From 1.0 to 1.2
    Bump sweetalert2 from 8.11.7 to 8.13.0.
    Bump @wordpress/hooks from 2.3.0 to 2.4.0.
    Bump tippy.js from 4.3.3 to 4.3.4.
    Builder Now Uses Nested Array Fetch Eg : $builder->get('page1/section1/field1')
    Template Files Updated To Pass Current Container & Subcontanier Instead of its slug
    Files Reorganized
    Core Ajax Handler now has a method to return ajax url.
    Updated Ajax Abstract Handler
    changed .wponion-framework pre to .wponion-framework .wpo-copy
    Moved data/google_fonts.php to data/fonts/google.php
    moved websafe fonts from functions to data file
    moved backup fonts from functions to data file
    wponion_is_domain New Validators
    wponion_is_mac_id New Validators
    wponion_is_regex New Validators

Removed

    Backup Handler Fields Related Codes
    Removed File Header Comments
    wponion_highlight_string Function
    wponion_extract_font_variant Function
    wponion_noninput_fields Function
    wponion_get_set_db Function
    wponion_get_db Function
    wponion_update_db Function

1.2.1 - 10/06/2019

Added

    reload method to reload values from database in \WPOnion\DB\Option

Fixed

    Values Not Showing Properly Once Settings Saved Via Ajax

1.2 - 09/06/2019

Added

    Database Option Retrive Handler
    wpo_settings function to retrive settings page options
    wpo_network_settings function to retrive network settings page options
    wpo_post_meta function to retrive post meta options
    wpo_user_meta function to retrive user meta options
    wpo_term_meta function to retrive term meta options
    Field error support in WC Settings.
    wponion_wc_product To create custom option @ woocommerce product metabox
    wponion_wc_settings to create custom settings page @ woocommerce settings
    set_group method in container to group its fields under container's slug.

Removed

    class-save-handler.php
    wponion_is_builder function

1.1 - 05/06/2019

Added

    Field dependency in nested fields
    FAQ Field Builder
    CopyToClipboard Action For pre tag inside .wponion-framework div
    Option To Set switcher field width
    Image POPUP Util wpo_image()
    New PHP Functions
      wpo_help
      wpo_tooltip
      wpo_icon
      wpo_ajax
      wpo_image
    new wponion_markdown php function
    markdown support for before, after, desc,desc_field in field arguments

Changed

    pre & code HTML tag css updated
    Updated Parsedown library to 1.8.0-beta-7
    Redesinged System Information Field
    Bump sweetalert2 from 8.11.6 to 8.11.7
    Bump tippy.js from 4.3.1 to 4.3.3

Removed

    color_palette Field

1.0 - 29/05/2019

First Stable Release.

Beta : 0.0.10.5 - 20/05/2019

Added

    Hidden Field Builder
    Page Debug Timer
    Element Debug Timer
    Loaded Some Major Assets via CDN
    Logic Shortcode logic | logic_1 | logic_2 | logic_3 | wp_logic | wpo_logic
    ToolTip Shortcode wpo_tooltip
    Page Actions Module Created
    Sysinfo Emailer
    Custom Post Type & Custom Taxonomy Generator

Changed

    FAQ Field
    TippyJS from 3.4.1 to 4.3.1
    @wordpress/hooks from 2.2.0 to 2.3.0
    tar from 2.2.1 to 2.2.2
    sweetalert2 from 8.10.0 to 8.11.6
    Codeclean up done.

Removed

    ColorPalette Field
    Deleted Unused File.

Beta : 0.0.10.4 - 23/05/2019

Added

    FAQ Field
    Metabox Field

Removed

    Google Maps Field
    ChangeLog Field
    Card Field