Skip to content

Commit

Permalink
Bump version to 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dkniffin committed Mar 10, 2022
1 parent 22fe29f commit 59f624d
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 4 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# CHANGELOG

## 2.0.0

This activeadmin theme is entirely JS and CSS, and there is no custom ruby code. Therefore, since v2, active_material has been converted from a ruby gem to an npm/JS package. As part of this process, sprockets is also no longer supported.

### Breaking changes
- Sprockets is no longer supported
- The library is converted from ruby gem to npm/JS package

### Upgrading

To upgrade from v1 to v2, follow these steps:
1. Follow the instructions in the readme for "installation" to add the npm/JS version
2. Remove references to active_material in `app/assets/stylesheets/active_admin.scss`. Any customizations should be moved over to wherever the new scss import is.
3. Remove references to active_material in `app/assets/javascripts/active_admin.js`.
4. Remove the `gem 'active_material'` from your Gemfile (and run `bundle install` to update Gemfile.lock)

## 1.4.1

- Add `!default` flag to `$am-theme-error-400` color
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ An ActiveAdmin skin based on Google's Material Design.

## Upgrading from v1 to v2

This activeadmin theme is entirely JS and CSS, and there is no custom ruby code. Therefore, since v2, active_material has been converted from a ruby gem to an npm package. As part of this process, sprockets is also no longer supported.
This activeadmin theme is entirely JS and CSS, and there is no custom ruby code. Therefore, since v2, active_material has been converted from a ruby gem to an npm/JS package. As part of this process, sprockets is also no longer supported.

To upgrade from v1 to v2, follow these steps:
1. Follow the instructions above for "installation" to add the npm version
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "active_material",
"version": "1.5.2",
"version": "2.0.0",
"description": "ActiveAdmin skin based on Google's Material Design.",
"main": "src/javascripts/active_material.js",
"directories": {
Expand Down
5 changes: 3 additions & 2 deletions publishing.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
2. Update the version in `package.json`
3. `npm publish`
4. Update the changelog
5. `git tag X.Y.Z`
6. `git push origin X.Y.Z`
5. Commit
6. `git tag X.Y.Z`
7. `git push origin X.Y.Z`

0 comments on commit 59f624d

Please sign in to comment.