You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+11-2Lines changed: 11 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,17 @@
1
-
## [Unreleased]
1
+
## [0.2.0]
2
+
3
+
### Added
4
+
5
+
-`ignored_css_classes` to keep specific selectors unscoped in generated CSS; `component_class("name")` returns the original class name for ignored classes.
2
6
3
7
### Changed
4
8
5
-
- Renamed gem to `view_component-scoped_styles` and module to `ViewComponent::ScopedStyles` (was `view_component-scoped_css` / `ViewComponent::ScopedCSS`).
9
+
- Style registration and writes to `components.scoped.css` run only in development; production and test use the committed stylesheet.
10
+
11
+
### Fixed
12
+
13
+
- Require `digest` explicitly and qualify `Digest::MD5` so scoped class IDs generate correctly in test and other load orders.
14
+
- Railtie development reload uses an initializer so `to_prepare` runs after Rails is fully loaded.
0 commit comments