- Fixed location of config dir (you can
mv ~/.asciinema ~/.config/asciinema
).
This major release brings many new features, improvements and bugfixes. The most notable ones:
- new asciicast v2 file format
- recording and playback of arbitrarily long session with minimal memory usage
- ability to live-stream via UNIX pipe:
asciinema rec unix.pipe
+asciinema play unix.pipe
in second terminal tab/window - optional stdin recording (
asciinema rec --stdin
) - appending to existing recording (
asciinema rec --append <filename>
) - raw recording mode, storing only stdout bytes (
asciinema rec --raw <filename>
) - environment variable white-listing (
asciinema rec --env="VAR1,VAR2..."
) - toggling pause in
asciinema play
by Space - stepping through a recording one frame at a time with . (when playback paused)
- new
asciinema cat <filename>
command to dump full output of the recording - playback from new IPFS URL scheme:
dweb:/ipfs/
(replacesfs:/
) - lots of other bugfixes and improvements
- dropped official support for Python 3.3 (although it still works on 3.3)
- Dropped distutils fallback in setup.py - setuptools required now (thanks Jakub "@jakubjedelsky" Jedelsky!)
- Dropped official support for Python 3.2 (although it still works on 3.2)
- New
--speed
option forasciinema play
(thanks Bastiaan "@bastiaanb" Bakker!) - Ability to set API token via
ASCIINEMA_API_TOKEN
env variable (thanks Samantha "@samdmarshall" Marshall!) - Improved shutdown on more signals: CHLD, HUP, TERM, QUIT (thanks Richard "@typerlc"!)
- Fixed stdin handling during playback via
asciinema play
This release brings back the original Python implementation of asciinema. It's based on 0.9.8 codebase and adds all features and bug fixes that have been implemented in asciinema's Go version between 0.9.8 and 1.2.0.
Other notable changes:
- Zero dependencies! (other than Python 3)
- Fixed crash when resizing terminal window during recording (#167)
- Fixed upload from IPv6 hosts (#94)
- Improved UTF-8 charset detection (#160)
-q/--quiet
option can be saved in config file now- Final "logout" (produced by csh) is now removed from recorded stdout
rec
command now tries to write to target path before starting recording
- Added playback from stdin:
cat demo.json | asciinema play -
- Added playback from IPFS:
asciinema play ipfs:/ipfs/QmcdXYJp6e4zNuimuGeWPwNMHQdxuqWmKx7NhZofQ1nw2V
- Added playback from asciicast page URL:
asciinema play https://asciinema.org/a/22124
-q/--quiet
option added torec
command- Fixed handling of partial UTF-8 sequences in recorded stdout
- Final "exit" is now removed from recorded stdout
- Longer operations like uploading/downloading show "spinner"
- Fixed putting terminal in raw mode (fixes ctrl-o in nano)
--max-wait
option is now also available forplay
command- Added support for compilation on FreeBSD
- Improved locale/charset detection
- Improved upload error messages
- New config file location (with backwards compatibility)
--max-wait
and--yes
options can be saved in config file- Support for displaying warning messages returned from API
- Also, see changes for 1.0.0 release candidates below
- All dependencies are vendored now in Godeps dir
- Help message includes all commands with their possible options
-y
and-t
options have longer alternatives:--yes
,--title
--max-wait
option has shorter alternative:-w
- Import paths changed to
github.com/asciinema/asciinema
due to repository renaming -y
also suppresess "please resize terminal" prompt
- New asciicast file format
rec
command can now record to file- New commands:
play <filename>
andupload <filename>
- UTF-8 native locale is now required
- Added handling of status 413 and 422 by printing user friendly message
- Rewritten in Go
- License changed to GPLv3
--max-wait
option added torec
command- Recorded process has
ASCIINEMA_REC
env variable set (useful for "rec" indicator in shell's$PROMPT/$RPROMPT
) - No more terminal resetting (via
reset
command) before and after recording - Informative messages are coloured to be distinguishable from normal output
- Improved error messages
- Rename user_token to api_token
- Improvements to test suite
- Send User-Agent including client version number, python version and platform
- Handle 503 status as server maintenance
- Handle 404 response as a request for client upgrade
- Depend on requests==1.1.0, not 2.0
- Remove install script
- Introduce proper python package: https://pypi.python.org/pypi/asciinema
- Make the code compatible with both python 2 and 3
- Use requests lib instead of urrlib(2)
- Fixed measurement of total recording time
- Improvements to install script
- Introduction of Homebrew formula
- Use python2.7 in shebang
- Re-enable resetting of a terminal before and after recording
- Add Arch Linux source package
- Use os.uname over running the uname command
- Add basic integration tests
- Make PtyRecorder test stable again
- Move install script out of bin dir
- Split monolithic script into separate classes/files
- Remove upload queue
- Use python2 in generated binary's shebang
- Delay config file creation until user_token is requested
- Introduce command classes for handling cli commands
- Split the recorder into classes with well defined responsibilities
- Drop curl dependency, use urllib(2) for http requests
- Project rename from "ascii.io" to "asciinema"
- Initial release