Skip to content

v0.4.4

Latest

Choose a tag to compare

@anishfyi anishfyi released this 29 Sep 20:20
· 1 commit to main since this release
238e698

Summit.js 0.4.4 moves the documentation to velofy.co and fixes the version the library reports. There is no API or behavior change.

What changed

  • Summit.version now reports the real package version. It returned "0.1.0" in every release from 0.1.0 to 0.4.3. A test now fails if it differs from package.json.
  • Diagnostic messages link to the new documentation at https://velofy.co/summitjs/. Directives without their own page (s-id, s-resize, s-resource) link to the page that covers them.
  • npm run release:npm now fails when npm publish fails.
  • The old documentation site forwards every page to the matching page on velofy.co. summit.min.js, summit-net.min.js, and the stylesheets are still served from the old address, so existing script tags keep working.
  • Removed a broken preview script and two unused development dependencies.
  • Checks: 102 tests pass, the bundle is 16.59 KB gzipped against an 18 KB budget, and all 136 documentation examples run without errors.

Install

npm still serves 0.4.3 until 0.4.4 is published there. The two versions behave the same apart from the version string and the documentation links.

npm install summitjs

To install 0.4.4 today, use the tarball attached to this release:

npm install https://github.com/velofy/summitjs/releases/download/v0.4.4/summitjs-0.4.4.tgz

Documentation

https://velofy.co/summitjs/

Changelog: https://velofy.co/summitjs/changelog/