Skip to content

Commit

Permalink
Released v0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanvotti committed Aug 2, 2016
1 parent 82fc7bd commit 5b73b4f
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 8 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@
/libpeerconnection.log
npm-debug.log
testem.log
project.sublime-project
project.sublime-workspace
26 changes: 23 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
## SVGJar Change Log

### v0.9.0
- [FEATURE] The viewer allows downloading selected assets
- [FEATURE] The viewer allows copying selected assets' code to the clipboard
- [FEATURE] The viewer now shows original and optimized file sizes
- [BREAKING ENHANCEMENT] `stripPath` is now `true` by default

This release contains a potentially breaking change. In previous versions of the addon `stripPath` was set to `false` by default. It means that some of your asset IDs could look like `{{svg-jar "icons/filled/twitter"}}`. When `stripPath` is `true` the same helper will look like this `{{svg-jar "twitter"}}`.

If you prefer the old behavior, just add the code below to the `ember-cli-build.js`:

```javascript
let app = new EmberApp(defaults, {
svgJar: {
stripPath: false
}
});
```

[Full changelog](https://github.com/ivanvotti/ember-svg-jar/compare/v0.8.3...v0.9.0)

### v0.8.3
- [BUGFIX] Custom helper attrs shouldn't affect the inline assets store
- [DOC] Add CHANGELOG.md
Expand All @@ -14,13 +34,13 @@
[Full changelog](https://github.com/ivanvotti/ember-svg-jar/compare/v0.8.1...v0.8.2)

### v0.8.1
- [BUGFIX] Assets viewer correctly shows SVGs with undefined height & width
- [BUGFIX] The viewer correctly shows SVGs with undefined height & width

[Full changelog](https://github.com/ivanvotti/ember-svg-jar/compare/v0.8.0...v0.8.1)

### v0.8.0
- [FEATURE] Add support for old Ember versions
- [ENHANCEMENT] Add sidebar links to the assets viewer
- [ENHANCEMENT] Add sidebar links to the viewer

[Full changelog](https://github.com/ivanvotti/ember-svg-jar/compare/v0.7.0...v0.8.0)

Expand All @@ -41,7 +61,7 @@
- [CLEANUP] Improve assets validation
- [CLEANUP] Switch to ES6 for broccoli modules
- [CLEANUP] Add ESLint and cleanup the code
- [CLEANUP] Remove compiled files of the assets viewer from the repo
- [CLEANUP] Remove compiled files of the viewer from the repo
- [INTERNAL] Upgrade broccoli-symbolizer

[Full changelog](https://github.com/ivanvotti/ember-svg-jar/compare/v0.5.0...v0.6.0)
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
The best way to bring SVG goodness to your Ember application
</h4>

![](https://s3-us-west-2.amazonaws.com/ivanvotti-uploads/svg-jar-0.4.1.png)
![](https://s3-us-west-2.amazonaws.com/ivanvotti-uploads/svg-jar-0.9.0.png)

### What’s in the Box?
- “install it and forget it” mode (no configuration needed)
Expand All @@ -51,7 +51,7 @@

## Usage

Just drag and drop SVG images to your source directory and copy & paste them from the assets viewer to your templates.
Just drag and drop SVG images to your source directory and copy & paste them from the viewer to your templates.

The viewer is available at: `http://localhost:4200/ember-svg-jar/index.html`

Expand Down Expand Up @@ -110,7 +110,7 @@ The addon is compatible with Ember 1.10.1 and beyond.

For more information on using ember-cli, visit [http://www.ember-cli.com/](http://www.ember-cli.com/).

## Assets viewer
## Asset viewer

The viewer is a separate Ember application, which repository can be found at [this link](https://github.com/ivanvotti/svg-jar).

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": "ember-svg-jar",
"version": "0.8.3",
"version": "0.9.0",
"description": "Comprehensive SVG support for Ember applications",
"directories": {
"doc": "doc",
Expand Down
2 changes: 1 addition & 1 deletion src/viewer-builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ ViewerBuilder.prototype.getViewerModel = function() {
];

if (this.options.hasManyStrategies) {
filterBy.push({ name: 'Base strategy', key: 'strategy' });
filterBy.push({ name: 'Strategy', key: 'strategy' });
}

let links = [
Expand Down

0 comments on commit 5b73b4f

Please sign in to comment.