Release Notes
Release Notes for the Business Forms Panel.
4.2.0 (2024-07-18)
Features / Enhancements
- Updated Docker Compose and E2E pipeline (#446, #447)
- Improved unit tests (#447)
- Updated Business Forms tutorial (#451)
- Updated the logic for comparing values with the initial values (#454)
- Updated position of Query fields for initial values (#455)
4.1.0 (2024-07-09)
![](/img/blog/2024-07-02-form-panel-4.0.0/banner.png)
Features / Enhancements
- Updated context parameters migration (#433)
- Updated provisioning files (#433)
- Updated Checkbox list with custom options (#435)
- Updated code defaults to use context properties (#438)
- Updated E2E workflow using Docker (#441)
4.0.0 (2024-07-01)
Breaking changes
- Requires Grafana 10 and Grafana 11
- Data Source requests were updated to use Query Editor.
- Removed non-context code parameters. Please update parameters to use
context
.
Code parameters migration guide
- data -> context.panel.data
- elements -> context.panel.elements
- initial -> context.panel.initial
- initialRequest -> context.panel.initialRequest
- locationService -> context.grafana.locationService
- notifyError -> context.grafana.notifyError
- notifySuccess -> context.grafana.notifySuccess
- notifyWarning -> context.grafana.notifyWarning
- onChange -> context.panel.onChange
- onOptionsChange -> context.panel.onOptionsChange
- options -> context.panel.options
- replaceVariables -> context.grafana.replaceVariables
- response -> context.panel.response
- setInitial -> context.panel.setInitial
- templateService -> context.grafana.templateService
- toDataQueryResponse -> context.utils.toDataQueryResponse
Features / Enhancements
- Updated name to Business Forms Panel (#361)
- Added support frontend data sources (#361)
- Updated elected type for a new option (#402)
- Prepared for Grafana 11 (#399)
- Updated Reset button handler (#422)
- Updated Confirmation Window (#420)
- Updated Error handling in code editors showIf, disableIf, getOptions (#410)
- Updated description for Get Options Code (#404)
- Added custom color/background color for elements (#386)
- Added Collapsable Sections (#409)
- Updated to Grafana 11.1 and dependencies (#426)
- Updated Date Time query field (#429)
3.8.0 (2024-05-30)
Features / Enhancements
- Added Checkbox List element (#382)
- Updated syntax support in Code Editor (#383)
- Added plugin e2e tests and remove cypress (#390)
- Added server-based form elements example (#392)
- Added input type time (#385)
- Updated hiding/show multi-select element (#389)
- Updated allowed files for file type (#388)
- Added Form validation provisioning dashboard (#411)
3.7.0 (2024-03-10)
Breaking changes
- Requires Grafana 9.2 and Grafana 10
Features / Enhancements
- Added update enabled option and variables examples, fix sync option (#356)
- Added files upload examples and fix form data header (#357)
- Added code parameters with builder and add initial request to element value changed code (#358)
- Allowed to disable columns in confirmation modal (#360)
- Updated dependencies and Actions (#368)
- Added skipping elements hidden using Show If from update payload (#369)
- Add multiple files option (#375)
3.6.0 (2024-01-10)
Features / Enhancements
- Add backend service to custom code (#331)
- Add support for file base64 encoding in payload (#331)
- Add Context parameter to Payload (#331)
Bugfixes
- Fix element custom options source (#334)
3.5.0 (2024-01-04)
Features / Enhancements
- Add disable if code (#321)
- Update reset request visibility if reset button is hidden (#322)
- Add code options source for select element (#323)
- Add value changed code (#324)
- Update to Node 20 (#326)
- Add suggestions for code editors (#327)
- Add reset button confirmation (#328)
3.4.0 (2023-12-14)
![](/img/blog/2024-01-05-form-panel-3.4.0/banner.png)
Features / Enhancements
- Add ability to disable panel syncing (#298)
- Update ESLint configuration and refactor (#299)
- Update Collapse from @volkovlabs/components (#299)
- Add EventBus and AppEvents to Context (#307)
- Add replacing variables in Payload functions (#309)
- Update to Grafana 10.2.2 and Volkov labs packages (#313)
- Add options migration (#315)
Bugfixes
- Fix draggable control to support upcoming Grafana changes (#314)
3.3.0 (2023-11-21)
![](/img/blog/2023-12-03-form-panel-3.3.0/banner.png)
Features / Enhancements
- Add Disabled Text Area element type (#243)
- Add Confirmation Window options (#242)
- Add context object to the custom code (#255)
- Add Select Options From Query (#254)
- Add NumberInput component which allows to enter decimals (#291)
- Update to Plugin Tools 2.1.1 (#292)
- Use Grafana Access Policy to sign plugin (#292)
- Update to Grafana 10.2.1 (#292)
- Update ESLint configuration (#294)
- Add Autosize Code Editor (#295)
- Add Data Source option for Reset button (#296)
- Add Link Element (#297)
Bugfixes
- Allow to enter zero value in number field (#288)
3.2.1 (2023-09-07)
![](/img/blog/2023-10-10-form-panel-3.2.1/banner.png)
Features / Enhancements
- Added the backward compatibility for option identifiers (#244).
3.2.0 (2023-09-06)
Features / Enhancements
- Added the minimum and maximum date for the date time element (#225).
- Added the mapping of data source values to form elements (#224).
- Updated the Show If element to support variables (#230).
- Added the clearing of errors before initial and update requests (#232).
- Added the URL encoding into variables (#231).
- Allowed the section name to be empty (#228).
- Added the query field picker for an initial request (#227).
- Added the file element type for file upload (#229).
- Added the conversion of option values to string and number based on type (#233).
- Added the loading states for the initial request and the Update and Reset button actions (#234).
- Added the support for asynchronous execution of custom code (#234).
- Update the initial request to work with Query and Data Source (#237).
- Added icons for radio buttons and select boxes (#238).
3.1.0 (2023-08-13)
![](/img/blog/2023-08-23-form-panel-3.1.0/banner.png)
Features / Enhancements
- Updated
jest
selectors to use thenpm
package (#209). - Added the
onChange
function to update elements in the local state within the custom code (#214). - Updated ESLint configuration (#215).
- Added the multi-select element (#217).
- Added the conditional element visibility (#219).
- Added the code editor for the Custom Payload section (#220).
- Added the code editor for the Custom Reset section (#221).
- Added the Data Source request (#222).
3.0.0 (2023-07-15)
Breaking changes
- Requires Grafana 9 or Grafana 10.
- Form elements are kept in the local state and are not saved into the dashboard by default.
- The refactoring of local states and elements may introduce breaking changes. Please test this version before updating the plugin on production Grafana instances.
![](/img/blog/2023-07-15-form-panel-3.0.0/banner.png)