Version 3.0.0

February 20, 2024

Changed

  • Craft 5 compatibility.

Version 2.3.0

March 30, 2022

Added

  • Craft 4 compatibility.

Version 2.2.1

July 27, 2020

Added

  • Craft 3.5 compatibility.

Version 2.2.0

April 4, 2020

Added

  • Added entryversion-* classes to denote version type of entry being edited.

Changed

  • Now requires a minimum of Craft 3.2.

Version 2.1.1

July 19, 2019

Fixed

  • Fixed minor Craft 3.2 compatibility issue.

Version 2.1.0

May 10, 2018

Added

  • Added userid-* class for ID of logged-in user.
  • Added profileid-* class for ID of user profile being viewed.
  • Added entriessite-* class to denote current site of entry being viewed.

Version 2.0.1

December 30, 2017

Changed

  • Updated minimum required version of Craft.
  • Now references hasCpSettings from PHP instead of Composer.
  • Now references services from PHP instead of Composer.
  • Renamed BodyClasses services file.

Version 2.0.0

November 29, 2017

Added

  • Craft 3 compatibility.

Version 1.2.1

July 7, 2016

Added

  • Added entriessection-* class to denote entries section.

Version 1.2.0

June 22, 2016

Added

  • Added currentsection-* class to denote current CP section.
  • Added currentpage-* class to denote current page.

Changed

  • Significantly refactored for greater flexibility.
  • Re-released as "Control Panel Body Classes".

Version 1.1.1

February 19, 2016

Added

  • Added userlevel-admin class for admin users.
  • Added profilelevel-admin class for admin profiles.

Version 1.1.0

November 30, 2015

Added

  • Craft 2.5 compatibility.

Version 1.0.0

October 5, 2015

Added

  • Added profile-based user group classes.

Version 0.9.9

August 20, 2015

Initial release (as "Control Panel User Group").