Releases: shuttersh/shutter
Releases · shuttersh/shutter
v0.5.0
New Features
Vue.js integration
Go check out the @shutter/vue package, an awesome contribution by @sh7dm! 😎
Login from CLI
The new shutter login
command replaces shutter authenticate
. Login using your GitHub account from terminal!
shutter login --export
& shutter login --import=<token>
have been added for simple CI setup. Login locally, export your auth token, import in CI.
v0.4.0
New features
- Make it easy to customize
<head>
content (#23) - Submission of local files to be used on snapshotting (#23)
Example
Here is some React sample code showing the new features:
import createReactShutter, { addFile } from '@shutter/react'
import * as path from 'path'
const files = await Promise.all([
addFile(path.join(__dirname, 'styles/base.css'), '/base.css')
])
const head = (
<>
<link href='/base.css' rel='stylesheet' />
</>
)
const shutter = createReactShutter(__dirname, { files, head })
v0.3.0
v0.2.0
Initial release
v0.1.0 - Initial release
Ships with all the very basics:
@shutter/core
package@shutter/react
packageshutter
CLI tool- ...plus a couple of internal packages, like
@shutter/api
and@shutter/shutterrc
Functionality is quite limited, but you can render static HTML / CSS or React.js components, do snapshot testing and interactively update snapshots using the CLI tool.