Releases: wh0/snail-cli
Releases · wh0/snail-cli
v2.20.0
v2.19.0
Spotlight change:
- When an API request errors, we now show what came in the body of the response.
Little things:
a cpnow properly detects if there's an error when copying the asset.
Developer changes:
- Added TypeScript type checking, which actually found a real bug. Good work, TypeScript.
OtClientis now just an object that you pass to various otClient functions, instead of being a class
v2.18.0
v2.17.0
Spotlight change:
- The new
console persistent-tokencommand gives you a script to copy your persistent token from a browser where you're already signed in. This is handy if you prefer to use one of the SSO methods to sign in to Glitch.
New features:
- And once you get your persistent token, you can use the new
auth persistent-tokencommand to save it in Snail. - We've made it simpler to delete your existing persistent token file by adding a
logoutcommand for that. This comes after Glitch started rotating the persistent tokens more often, so you end up needing to do this a lot lately. By the way, we usually refer to this as signing in and signing out, but this command is named after various "logout" commands in other tools.
Little things:
- We now create the persistent token file in mode
600, i.e. such that other user accounts on your computer can't read it anymore. Usually your whole.configdirectory prevents other users from looking inside, but this is just in case.
v2.16.0
v2.15.0
Spotlight change:
logsnow shows messages from the installation step too
New features:
- We now remove leading and trailing whitespace when you enter an email address or sign in code into interactive prompts. That should make it so that you don't get locked out when unseen forces in the universe conspire to make you copy an extra space in front of the sign in code. Password inputs still retain all whitespace though, so be careful
Materials:
- Colors used in terminal snippets on our website are tweaked. They're still not entirely within accesibility guidelines for contrast, but I think they're closer than before
v2.14.0
v2.13.0
Spotlight change:
- When uploading assets too large to be served from
cdn.glitch.global, we now give you thecdn.glitch.meURL instead. You know, in case you wanted something that would actually work
Non-change notes:
- Creating a new anonymous user on the Glitch website now sends a captcha result.
auth anoncan't do that, and I've seen it fail. Perplexingly, I've also seen it succeed. Anyway, for nowauth anonremains as is. Maybe cross your fingers when you run it
v2.12.0
v2.11.0
Spotlight change:
- There's a new
console add-mecommand to help add your anonymous account to a project
New features:
- There's a new
a cpcommand to duplicate assets. This might be useful if you want to use them under a new name or prevent upstream projects from modifying them without your knowledge
Catching up:
- Asset URLs now use the new
cdn.glitch.globaldomain - Asset URLs no longer URL-encode the
/between the project ID and the asset name
Little things:
termnow skips switching stdin into raw mode if it's not a terminal. However, note that it still expects raw terminal bytes on stdin. It'll just not crash anymore when it comes from a pipe or something