Releases: charcoalphp/charcoal
Releases · charcoalphp/charcoal
v3.0.5
v3.0.4
v3.0.3
v3.0.2
v3.0.1
v3.0.0
3.0.0 (2022-07-20)
⚠ BREAKING CHANGES
- (BC):
- Method
widgetOptions()
now returns an array instead of a JSON serialized string to allow for easier overriding in subclasses.
Added:
- Methods
widgetOptionsAsJson()
andescapedWidgetOptionsAsJson()
for rendering widget options as JSON. - Method
widgetDataForJs()
to replace hardcoded widget data options in view file.
Changed:
- Stringify the widget's title.
Features
- admin: Add new group display mode for quick form widget (524ec25), closes locomotivemtl/charcoal-admin#63 locomotivemtl/charcoal-admin#d27a30e44b0e6e06899a481322015b09e743dc82
- admin: Improve dialog in widget.js (1855d3b), closes locomotivemtl/charcoal-admin#8eb005a375875a7158537898c357b050ab066050
- admin: Improve error handling in form.js (8340eb6), closes locomotivemtl/charcoal-admin#6659001b72230e62f353ac533e449ffec40221d4
- admin: Improve generic graph widgets (b8a03f6), closes locomotivemtl/charcoal-admin#8e482bd13688c8b3d2770078424b6117eba3d0
- admin: Improve reloading in widget.js (f409aac), closes locomotivemtl/charcoal-admin#d8d977c1609515b144837d1d1ca3f11677972
- admin: Improve showLanguageSwitch integration (41f341f), closes locomotivemtl/charcoal-admin#9c436ea57c5a37e90f97f90cf78994ab66cd0083
- admin: Improve switch language in form.js (22c30ec), closes locomotivemtl/charcoal-admin#e9d29556820f0b2f4e6a6adc127c31dad86fae04
- admin: Improve validate/save in component_manager.js (423c84b), closes locomotivemtl/charcoal-admin#1759d2bb90297ff7f03c5c94a0211b22dd2796 locomotivemtl/charcoal-admin#e5e0741666cb52ca84a09cabce6619a8ec61c7c2
Bug Fixes
- admin: Add missing localizations (9496922), closes locomotivemtl/charcoal-admin#47012a22e696bd090adb08ded9954ac1a50e84
- admin: Ensure widgetL10n is available with attachment.js (8cea251), closes locomotivemtl/charcoal-attachment#496b9bec978bb01065e59c36e4291fe8e3384
- admin: Improve hasL10nFormProperties resolution (3be40b0), closes locomotivemtl/charcoal-admin#2c4c3797bb8463241e723e6d157589291c832a0
- admin: Improve internals of attachment.js (a387db3), closes locomotivemtl/charcoal-admin#45135ef015723f319ed246bf28eac4d4d2dccbe4
- admin: Improve resolveSimpleJsonXhr in charcoal.js (1eee836), closes locomotivemtl/charcoal-admin#bc8327e7aadeb57ea6e1ec931051aba4d630d409
- admin: Update Bootstrap to v4.6.2 (1fb8b4a), closes locomotivemtl/charcoal-admin#e6ac7b6f3b447cf08b7d9578b3d888d178a3639
- property: Fix parsing + error handling in Sprite Property (831f16d), closes locomotivemtl/charcoal-property#d1ef3c66122781581a856721fe233a816fc5b0b6 locomotivemtl/charcoal-property#8f3403145b55c43190e447dae1c8f4dea249cc33
Performance Improvements
- admin: Fix and improve event namespacing in JS components (db46534), closes locomotivemtl/charcoal-admin#738ae375ed4fa92cdd2ddbdadb2dca3cab8bbe96
- admin: Improve elements in form.js and quickform.js (81b9cad), closes locomotivemtl/charcoal-admin#bee1d393d313fdfc0a8b9a5918a7678a46b33d21
- admin: Improve internals of feedback.js (cb6a4f6), closes locomotivemtl/charcoal-admin#45b76606fc945ab2526ccdd9db8219b11fb8ca10
- export: improve performance of exporter (9a1de4c), closes locomotivemtl/charcoal-admin#19192817861a2faed50ad7aeb8b10dfbcc63ce25
Reverts
- admin: Disable
will_save
constraint in attachment.js (3e78bcd), closes locomotivemtl/charcoal-admin#1759d2bb90297ff7f03c5c94a0211b22dd2796 locomotivemtl/charcoal-admin#6fb62c401db2192693d09cd42b8b2250d7af57b6
Code Refactoring
- Integration of Attachment widget data and options (c24ebc7), closes locomotivemtl/charcoal-attachment#994dcc357626c0fd716b864812dffdc1ca742d93
v2.3.0
2.3.0 (2022-07-14)
Features
- twig: first version of Twig implementation in Charcoal using Twig 3.4 (c1ffed3)
Bug Fixes
- twig: fix condition getCacheKey (01d78c3)
- twig: fix Twig UrlHelpers and split functionnality with new DebugHelpers (bf4056f)
- twig: update twig version for dev dependencies (563f59f)
Performance Improvements
- twig: apply suggestions from code review (63a9c4f)