Control Panel JS
Version 3.0.0
February 20, 2024
Changed
- Craft 5 compatibility.
Version 2.6.0
December 15, 2022
Changed
- The "Additional JavaScript" field is now powered by the Code Editor package. (thanks @khalwat)
Version 2.5.0
April 2, 2022
Added
- Craft 4 compatibility.
Version 2.4.0
September 21, 2021
Added
- Added
cacheBusting
config setting to enable/disable hash-based cache busting. - Now logs warnings if unable to generate a hash for cache busting.
Changed
- Split up
sha1_file
in order to reduce risk of CP hanging while generating a hash.
Version 2.3.1
August 20, 2021
Fixed
- Prevents Matrix fields from reloading JS on each block. (thanks @bencroker)
Version 2.3.0
December 18, 2020
Added
- Now allows for multiple, comma-separated file paths. (thanks @nickolasjadams)
Version 2.2.1
April 4, 2020
Changed
- Made the viewing area larger. (thanks @SayChi)
Version 2.2.0
June 24, 2019
Added
- File path now includes proper support for environmental values.
Version 2.1.0
January 1, 2018
Added
- Custom JS now loads after the default Craft JS.
Changed
- Refactored to make better use of Asset Bundles.
- Refactored to load custom JS just before template loads.
Version 2.0.1
December 30, 2017
Changed
- Updated minimum required version of Craft.
- Now references
hasCpSettings
from PHP instead of Composer.
Version 2.0.0
November 29, 2017
Added
- Craft 3 compatibility.
Version 1.1.0
November 28, 2015
Added
- Craft 2.5 compatibility.
Version 1.0.5
December 20, 2014
Changed
- Formatted
additionalJs
field using CodeMirror.
Version 1.0.4
August 22, 2014
Changed
- Removed useless error message.
Version 1.0.3
August 10, 2014
Added
- Formatted
additionalJs
field to nicely display code snippets.
Version 1.0.2
August 7, 2014
Changed
- Improved error messaging.
Version 1.0.1
July 15, 2014
Added
- Added cache busting for file-based JS.
Version 1.0.0
June 18, 2014
Initial release.