Skip to content

v0.0.18

Compare
Choose a tag to compare
@cdrage cdrage released this 29 Jan 12:40

Changelog

Version 0.0.18 of Odo has some major changes! Take note of the new changes below.

New commands or parameters:

Odo interactive mode (#857):

You can now deploy an application with the Odo interactive mode!

Interactive mode has been implemented to service creation with odo service create.

Below is an example of deploying a mysql database with odo service create:

asciicast

Added .odoignore functionality (#1158):

Odo will now ignore files added to .odoignore in the root directory of your source code!

For example:

*.swp

Will ignore all .swap files.

Unlink command has been added (#1107):

Odo now provides a odo unlink command which acts as the mirror opposite of odo link.

For example:

$ odo link backend --component frontend
$ odo unlink backend --component frontend

You can now use a branch when deploying a Git-based component (#1042):

When using odo create you may now specify a branch, tag or commit for --git deployment.

For example:

$ odo create nodejs --git https://github.com/openshift/nodejs-ex --ref master

Changes:

  • odo unlink has been added (#1107)
  • Interactive mode has been added to Odo! (#857)
  • .odoignore file has been added (#1158)
  • A "reference" flag has been added for component creation with Git (#1042)
  • Deletes will now propagate when using odo watch (#1125)
  • When deploying, Odo will now use the Recreate strategy for DeploymentConfig instead of Rollout (#1223)
  • Odo will now automatically unlink services that have been linked but already deleted (#1123)
  • "Debug" target has been added to Makefile (#1133)
  • There are no more "orphaned" container processes, dumb-init is now used as PID-1 (#1112)

Documentation and help messages:

  • Our logger will now use checkmark's and X's instead of OK and ERR (#1080)
  • Examples on how to deploy a Java application has been added (#1153)
  • The loading "spinner" has been replaced with an ASCII version (#1228)
  • Improved error messaging on odo link (#1176)
  • git ref example added to CLI reference (#1219)
  • Added odo repo cloning workaround for Windows terminals such as PowerShell and CMD (#1154)
  • Updated incorrect command being listed in help (#1157)
  • Added nelines in help menu, modified odo service create help (#1143)
  • Corrected logging outputs (#1137)
  • Added link to command completion index (#1122)
  • Resolved bug in generated documentation for ordered examples (#1135)
  • Updated autocompletion doc (#1106)
  • Missed documentation link (#1113)
  • Updated examples to new UI (#1097)
  • Updated demo gif (#1096)

Internals:

  • Filepath package will now correctly retrieve filenames within Windows (#1071)
  • odo help will now exit with error 0 rather than 2 (#1093)
  • odo version will not exit with the correct error code (#1100)
  • Autocompletion has been added for components (#944)
  • Fixed issue of url creation when no name has been provided (#1061)
  • Autocompletion has been added for odo link (#1073)
  • Fixed path to GITCOMMIT variable to display the correct value in odo version (#1083)
  • Added service catalog test (#1059)
  • Fixed potential race condition on Odo link / unlink (#1134)
  • A check has been added for component name before deployment (#1139)
  • Odo will now prevent links being created twice (#1224)
  • Service plan and paramters will now autocomplete (#1207)
  • CODEOWNERS has been added to assign maintainers to certain parts of Odo's code (#1217)
  • Fixed duplicaiton error in completion handlers (#1214)
  • odo version has been refactored to complete-validate-run pattern (#1218)
  • catalog commands have been refactored to complete-validate-run pattern (#1208)
  • Removed unused GetServiceClass function (#1215)
  • We now test against 3.11 of OpenShift (#1166)
  • Fixed error code (#1204)
  • "Hidden" services will now be hidden when using odo catalog list services (#1181)
  • We will now attempt to detect the correct port when testing an OpenShift connection (#1030)
  • Fixed invalid name cases during component creation (#1108)
  • Code has now been passed through gofmt and goimports and correctly updated (#1098)
  • Fixed bump-version.sh script (#1074)