Skip to content

v0.5.0 Jackfruit

Compare
Choose a tag to compare
@bobheadxi bobheadxi released this 19 Jan 19:16
95291de

Bug fixes, two-factor authentication, polish, reorganized commands, internal refactors, and more bug fixes!

Deployed with Inertia


# MacOS
brew install ubclaunchpad/tap/inertia

# Windows
scoop bucket add ubclaunchpad https://github.com/ubclaunchpad/scoop-bucket ; scoop install inertia

⚠️ Breaking Changes

  • Environment variable encryption format has been changed - old encrypted variables will need to be deleted and added again
  • A number of CLI commands have been moved, and flags renamed - refer to CLI tooltips for more details (some are documented here as well)
  • CLI binaries for darwin are now built for amd64 instead of i386 (#476)

🎉 Enhancements

CLI/Daemon

  • inertia [remote] user login for authenticating against existing user (@bfbachmann #423)
  • inertia [remote] user totp [enable|disable] for configuring 2-factor authentication (@bfbachmann, @tristancalderbank, @kieranhalliday #448, #434, #436, #430, #497 )
  • inertia [remote] token for generating JWTs (@leesw98, #398)
  • Support for passphrase-protected PEM keys (#487)
  • Host bootstrapping now supports system, systemctl, or just nohup (#480)
  • Config commands moved to inertia config, flag naming improved, CLI output in error scenarios are now cleaner (#511)
  • New upgrade convenience functions: (#498)
    • inertia [remote] upgrade to update the daemon
    • inertia config upgrade to update configuration version
  • Inertia now uses docker-compose 1.23.2 (#516)

Provisioning

  • Warning is now shown when no projects ports are provided (#468)

⚒ Fixes

Daemon

  • Limit for failed login attempts increased to 10 (#489)
  • Files sent to remote prior to inertia [remote] up no longer get deleted (#482, #515)
  • Badly formatted credentials return 400 instead of 500 (#483), other behaviours also improved (#496)
  • Incorrect authentication now returns StatusUnauthorized (@kanozec #435)
  • Fixed bug where empty credentials would mistakenly authenticate a user (9fc1664)
  • Websockets (notably logs) now close properly (#469, #514)
  • Webhook payloads are now properly verified (#392)
  • Prune endpoint has been fixed (#517)
  • Env encrypt keys are now persisted across restarts (#507)

CLI

  • inertia [remote] ssh now uses the normal ssh client, and interactions now work properly (#485)
  • Inertia remote cleanup script now works properly (#464)
  • Bootstrapping now installs open-ssh if ssh-keygen is not available (#501)
  • inertia [remote] remove is now inertia [remote] uninstall, and has been fixed (#497)

Provisioning

  • ec2 instance provisioning user options now propagate correctly (#462)
  • Improved image listing for ec2 provisioning to avoid incompatible options (#503)

Docs

🏠 Internal

  • Now building with Go 1.11+ (#488)
  • New encryption format for environment variables (@dreamer-89 #471)
  • logrus removed from CLI (#465)
  • Internal restructuring of daemon, improved mocking for tests (#505)
  • Internal restructuring of inertia cmd code (#511, #517)
  • Continued work on the Inertia Web revamp (see the project, thanks @asitu @zhulia96 )

For more related issues closed by this release, refer to the milestone. For a complete list of changes since v0.4.4, refer to the diff.