Skip to content

Releases: hexojs/hexo-renderer-stylus

v3.0.1

14 Jan 04:56
beaef38
Compare
Choose a tag to compare

Fixes

  • fix:hexo-config() return '' causing error while should be 0 in some themes by @kusurin in #170

Dependencies

New Contributors

Full Changelog: v3.0.0...v3.0.1

v3.0.0

19 May 13:22
4504315
Compare
Choose a tag to compare

Breaking Changes

Dependencies

Misc

Full Changelog

2.1.0...v3.0.0

2.1.0

21 May 03:02
4535a33
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: 2.0.1...2.1.0

2.0.1

05 Sep 03:14
5af594e
Compare
Choose a tag to compare

Fix

  • fix: enable disableNunjucks to avoid rendering nunjucks tag [#55]
    • it's now safe to use:
    div::before
      content: "{{}}"
    

2.0.0

16 Aug 01:36
223c0fd
Compare
Choose a tag to compare

Breaking change

Feature

  • feat: execute hexo filter with stylus context [#45]
    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'];
        });
    })

Misc

  • docs: setting variables [#41]
    • This feature has been available since 0.3.1 but not documented until now.
    • Refer to our guide.

1.1.0

07 Sep 07:16
Compare
Choose a tag to compare

Feature

feat: configurable plugins #38

1.0.0

06 Sep 01:11
cd33c4c
Compare
Choose a tag to compare

Breaking change

  • chore: require at least node 8 (#33)

Fix

  • upgrade dependencies and make it be compatible with node v6 (#13)

Refactor

  • refactor: es6-fy (#34)

Housekeeping

  • chore(package): delete jscs (#26)
  • remove useless file from npm module (#27)