Now that we've moved into the release candidate phase, there will be no
more new features added to Meteor 1.8.1, and all remaining effort will be
focused on fixing bugs.
Please test the release candidate if you have time, by running the
following command in any application directory:
meteor update --release 1.8.1-rc.0
* Update the default CSS parsing/combining/minifying tools
The `minifier-css` package is currently using outdated
(and abandoned) npm packages (`css-parse` and `css-stringify`),
as part of its parsing/minification process. This commit
replaces those packages with the robust, modern and maintained
`postcss` package.
* Adjust CSS source file fallback value
* Self test adjustments and cleanup
* Disable sourcesContent generation by postcss
The `standard-minifier-css` package is already associating
source content with the source map, so we don't need to
do this twice.
* Add History.md entry covering backwards compatibility details
* Bump major version due to backwards compatibility breaking changes
* Bump minor versions
* Code review changes (boolean formatting, concat to spread)
Another issue is URLs that are only a hash (this happens with inline SVG):
filter:url("#lightGreen")
In the current version of the codebase, gets rewritten to :
filter:url("")
The pull request also fixes this issue.
For certain use cases, like SVG filters, the url needs to have a # symbol. For example, the following css property :
```filter:url("filters.svg#lightGreen")```
In the current version of the codebase, gets rewritten to :
```filter:url("http://myapp.com/filters.svg")```
Whereas the proper behaviour should be:
```filter:url("http://myapp.com/filters.svg#lightGreen")```
This simple change will fix the issue.
I had to scrap the 1.4.2-beta.8 release because meteor-tool@1.4.2-beta.8
got published by a partial run of the publish-release script, but then the
publish-release script thought meteor-tool changed after that, and I
didn't want to republish it as something like 1.4.2-1-beta.8.