Skip to content

Releases: wh0/snail-cli

v2.20.0

17 May 07:17
@wh0 wh0

Choose a tag to compare

Spotlight change:

  • Fixed a bug that made pipe not correctly forward the return value from the command that it runs.

v2.19.0

09 Jul 05:50
@wh0 wh0

Choose a tag to compare

Spotlight change:

  • When an API request errors, we now show what came in the body of the response.

Little things:

  • a cp now 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.
  • OtClient is now just an object that you pass to various otClient functions, instead of being a class

v2.18.0

08 Mar 07:56
@wh0 wh0

Choose a tag to compare

Spotlight change:

  • There was slight change to the asset upload API. We're updating the a push and a policy commands to restore compatibility.

v2.17.0

10 Sep 19:24
@wh0 wh0

Choose a tag to compare

Spotlight change:

  • The new console persistent-token command 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-token command to save it in Snail.
  • We've made it simpler to delete your existing persistent token file by adding a logout command 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 .config directory prevents other users from looking inside, but this is just in case.

v2.16.0

03 Oct 03:38
@wh0 wh0

Choose a tag to compare

Spotlight change:

  • project create by default now remixes the Fastify-based glitch-hello-node project. Goodbye unfinished Spanish e-commerce code!

Little things:

  • Corrected a typo in the a push help

v2.15.0

20 Apr 07:10
@wh0 wh0

Choose a tag to compare

Spotlight change:

  • logs now 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

10 Apr 19:44
@wh0 wh0

Choose a tag to compare

Spotlight change:

  • Added web details, which is an alright URL for sharing

v2.13.0

28 Mar 00:33
@wh0 wh0

Choose a tag to compare

Spotlight change:

  • When uploading assets too large to be served from cdn.glitch.global, we now give you the cdn.glitch.me URL 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 anon can't do that, and I've seen it fail. Perplexingly, I've also seen it succeed. Anyway, for now auth anon remains as is. Maybe cross your fingers when you run it

v2.12.0

01 Mar 07:37
@wh0 wh0

Choose a tag to compare

Spotlight change:

  • ot request-join -r now makes you show up with a snail icon if you don't have your own avatar

v2.11.0

18 Jan 05:36
@wh0 wh0

Choose a tag to compare

Spotlight change:

  • There's a new console add-me command to help add your anonymous account to a project

New features:

  • There's a new a cp command 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.global domain
  • Asset URLs no longer URL-encode the / between the project ID and the asset name

Little things:

  • term now 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