Releases: hexojs/hexo-renderer-stylus
Releases · hexojs/hexo-renderer-stylus
v3.0.1
Fixes
Dependencies
- chore(deps-dev): bump c8 from 7.13.0 to 8.0.0 by @dependabot in #145
- chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.4 by @dependabot in #149
- chore(deps): bump @adobe/css-tools from 4.0.1 to 4.3.1 by @dependabot in #155
- chore(deps): bump actions/checkout from 3 to 4 by @dependabot in #157
- chore(deps-dev): bump eslint from 8.40.0 to 8.51.0 by @dependabot in #162
- chore(deps-dev): bump chai from 4.3.7 to 4.3.10 by @dependabot in #161
- chore(deps-dev): bump c8 from 8.0.0 to 8.0.1 by @dependabot in #150
- chore(deps): bump stylus from 0.59.0 to 0.60.0 by @dependabot in #156
- chore(deps): bump actions/setup-node from 3 to 4 by @dependabot in #164
- chore(deps-dev): bump hexo from 6.3.0 to 7.0.0 by @dependabot in #165
- chore(deps): bump stylus from 0.60.0 to 0.61.0 by @dependabot in #167
- chore(deps-dev): bump eslint from 8.51.0 to 8.53.0 by @dependabot in #166
- chore(deps): bump stylus from 0.61.0 to 0.62.0 by @dependabot in #168
- chore(deps-dev): bump eslint from 8.53.0 to 8.54.0 by @dependabot in #169
- chore(ci): drop dependabot for npm by @yoshinorin in #136
New Contributors
Full Changelog: v3.0.0...v3.0.1
v3.0.0
Breaking Changes
- chore: require node.js +14 by @yoshinorin in #135
Dependencies
- chore(deps): bump stylus from 0.57.0 to 0.58.1 by @dependabot in #101
- chore(deps): bump stylus from 0.58.1 to 0.59.0 by @dependabot in #107
- chore(deps): bump moment from 2.29.2 to 2.29.4 by @dependabot in #109
- chore(deps): bump moment-timezone from 0.5.34 to 0.5.37 by @dependabot in #111
- chore(deps-dev): bump eslint from 8.15.0 to 8.22.0 by @dependabot in #108
- chore(deps-dev): bump hexo from 6.2.0 to 6.3.0 by @dependabot in #112
- chore(deps): bump json5 from 2.2.0 to 2.2.3 by @dependabot in #125
- chore(deps): bump nunjucks from 3.2.3 to 3.2.4 by @dependabot in #138
- chore(deps): delete
chai-as-promised
by @yoshinorin in #134 - chore(deps): replace
nyc
withc8
and update deps by @yoshinorin in #140
Misc
- docs:
http
tohttps
in docs by @yoshinorin in #133 - chore: update CI badge in
README
by @yoshinorin in #137
Full Changelog
2.1.0
Dependencies
- chore(deps-dev): bump hexo from 5.4.0 to 6.0.0 by @dependabot in #69
- chore(deps-dev): bump hexo from 6.0.0 to 6.1.0 by @dependabot in #85
- chore(deps-dev): bump hexo from 6.1.0 to 6.2.0 by @dependabot in #95
- chore(deps-dev): bump eslint from 7.32.0 to 8.1.0 by @dependabot in #66
- chore(deps-dev): bump eslint from 8.5.0 to 8.6.0 by @dependabot in #70
- chore(deps-dev): bump eslint from 8.6.0 to 8.7.0 by @dependabot in #73
- chore(deps-dev): bump eslint from 8.7.0 to 8.11.0 by @dependabot in #84
- chore(deps-dev): bump eslint from 8.11.0 to 8.15.0 by @dependabot in #94
- chore(deps-dev): bump eslint-config-hexo from 4.2.0 to 5.0.0 by @dependabot in #71
- chore(deps-dev): bump mocha from 8.4.0 to 9.0.0 by @dependabot in #62
- chore(deps-dev): bump mocha from 9.1.3 to 9.2.0 by @dependabot in #74
- chore(deps-dev): bump mocha from 9.2.0 to 9.2.2 by @dependabot in #86
- chore(deps): bump actions/setup-node from 2 to 3 by @dependabot in #80
- chore(deps): bump actions/checkout from 2 to 3 by @dependabot in #83
- chore(deps-dev): bump chai from 4.3.4 to 4.3.6 by @dependabot in #76
- chore(deps): bump stylus from 0.56.0 to 0.57.0 by @dependabot in #87
- chore(deps): bump stylus from 0.54.8 to 0.55.0 by @dependabot in #63
- chore(deps): bump prismjs from 1.25.0 to 1.27.0 by @dependabot in #81
- chore(deps): bump minimist from 1.2.5 to 1.2.6 by @dependabot in #88
- chore(deps): bump moment from 2.29.1 to 2.29.2 by @dependabot in #90
Misc
- Fix typo by @stevenjoezhang in #58
- Upgrade to GitHub-native Dependabot by @dependabot-preview in #61
- Switch to github actions by @tomap in #67
- fix: Lcov file not found by @iChenLei in #97
New Contributors
- @stevenjoezhang made their first contribution in #58
- @dependabot made their first contribution in #62
- @iChenLei made their first contribution in #97
Full Changelog: 2.0.1...2.1.0
2.0.1
2.0.0
Breaking change
Feature
- feat: execute hexo filter with stylus context [#45]
- It's now possible to interact with stylus API via hexo's filter API, see our guide.
hexo.extend.filter.register('stylus:renderer', function(style) { style // we may define a global variable by passing a `Node` .define('has-canvas', require('stylus').nodes.false); // stylus also casts JavaScript values to their Stylus equivalents when possible .define('families', ['Helvetica Neue', 'Helvetica', 'sans-serif']) // also allows you to provide a JavaScript-defined function to Stylus .define('get-list', function(){ return ['foo', 'bar', 'baz']; }); })