== 1.2.1 ==
Issue #10: Third-Party Library Documentation Required in thirdpartylibs.xml
Issue #9: Adhere to Moodle Naming Conventions and Coding Style
Issue #7: Hard-coded language string
Issue #6: Adhere to Moodle Naming Conventions and Coding Style

== 1.2.2 ==
Issue #15: Fix error message: Deprecated: Creation of dynamic property tiny_widgethub\ymlsetting::$partials
Issue #18: Improve stability of the widget mini-preview. Make UI styles less dependent on custom themes

== 1.3.0 ==
Adapt the plugin for the Moodle version 5.0:
 - Widget repository: add data-bs- attributes to BS5 components
 - Include the possibility to refactor non data-bs- widgets in page to support BS5
 - Adapt card-group and jumbotron widgets to support BS5
 - onInit refactor to BS5 data-bs- properties
Issue #21: Feature request (minor): sorting and ordering of widgets (and categories) both in backend, reflected in frontend dialog
 - Management page: widgets are sorted by its name
 - Frontend dialog: custom sorting of categories and buttons via order attribute

== 1.3.1 ==
New Features:
- Issue #27: Added support for external JavaScript dependencies.
- Issue #25: Enhanced widget visibility control with role-based permissions.

Improvements:
- Save button on the management page no longer redirects to the widget index page.
- Improved validation for ymlsetting.
- Documentation updates:
  - Added an example of a widget that requires JavaScript.
  - Added CONTRIBUTING.md with guidelines for contributing new widgets.

Fixes and Technical Changes:
- Issue #29: Updated how the template part is displayed.
  - Replaced js-yaml with https://github.com/eemeli/yaml to improve consistency in block literal handling.


== 1.4.0 ==
New Features:
  - Repeatable parameters.
  - Widget editor in admin settings includes a linter to validate yml schema.
  - Configuration of several widget insert mechanisms.
Fixes:
  - Issue #35: A significant number of strings have not yet been localized.
    Widget repository is localized and it uses the site's default language when installed.
  - Issue #37: Sharecss bug ? 
    Now share styles option in admin setting can be turned off.
  - Issue #38 Error on contextmenu remove or insert: unrecognized expression
Changes:
  - Bindings with get/set functions which use jQuery elements are deprecated.
    Please use getValue/setValue instead which use regular DOM elements.

== 1.4.1 ==
  Hotfix: Rename to lowercase contextinit.js

== 1.5.0 ==
  - Issue #23 Suggestion to Enhance the Widget Modal Layout. Implementation of a grid view.
  - Issue #39: Migration jQuery to vanilla Javascript. Reduce the quantity of code relying on jQuery.
  - Issue #46: Do not install widgets that have been removed during plugin upgrades.
  - Hotfix: Activate image pickers on repeatable parameters.
  New features:
  - New capability tiny/widgethub:manage to manage widgets.
  Improvements:
  - Implementation of the widgethub_view_mode option to switch between grid and list views.
  - Updated YML API to support icon property.
  - Make the versions of jQuery and Bootstrap injected into the editor's iFrame configurable.
  - Improved mouse leave detection on widget preview.
  - Detect context actions on widgets that include iframe, like YouTube or Vimeo.
  - Improved administrator widget table and widget editor.
  - Widget definitions are no longer updated automatically during plugin upgrades.
    Administrators must manually update widgets via the management page ("Update widgets" button)
    to allow for manual fine-tuning and to prevent overwriting custom changes.
