Skip to content

Releases: redhat-developer/odo

v1.0.0-beta2

20 May 14:40
Compare
Choose a tag to compare

Enhancements

  • Resolved odoignore not working in windows (#1711)
  • Hidden the component get command (#1734)
  • New workflow for odo storage (#1547)
  • Fixed multiple deployments for local component (#1684)
  • Fixed odo login not working properly for insecure https connections (#1652)
  • Added --all flag for odo component delete to allow removal of both config and component in one command (#1731)
  • Added show flag for odo watch (#1659)
  • odo catalog list now doesn't require a .odo/config.yaml to be present in the working directory (#1714)
  • odo project delete now doesn't break after consecutive runs (#1710)

Testing

  • Better organisation of the tests by following ginkgo standards (#1612)
  • Used Gomega watcher for json tests (#1625)

Internal

  • Fixed invalid paths using rsync on windows (#1705)
  • Used a more robust project.Exists to reduce flaky tests (#1719)

Documentation

  • Modified README for formatting and clear installation instructions based on OS (#1735)
  • Fixed typos in the documentation (#1666)
  • Migrated to .adoc from .md for documentations (#1645)

v1.0.0-beta1

23 Apr 17:21
Compare
Choose a tag to compare

Odo has reached BETA!

With the release of BETA, we also move to the OpenShift GitHub repo.

So what's new in BETA?

Enhancements

  • odo component create creates a local component configuration in ./.odo/config.yaml, nothing is created on the cluster at this point.
  • odo config Similarly to odo component create, will update the local component configuration, without affecting the running component.
  • All component configurations are saved to ./.odo/config.yaml. You can commit this file to your repository to easily recreate component with the same configuration later, or to share it with someone else.
  • To deploy the component to a cluster or to apply config changes, run odo push.

Changes to odo push

When first using odo create, odo will setup the necessary information required to push changes to the OpenShift cluster.
The first time you do odo push you will create component(s) on the OpenShift cluster and push your local files to it.
Adding --config flag to odo push will create or update a component without pushing the source code. Similarly --source flag will just push the files without applying a new configuration.

Breaking changes

  • Components created with previous odo version are not compatible with this version
  • odo url create - --port flag is required

Known issues

  • odo push takes a long time because the component is restarted if no configuration has changed (#1633 #1488)
  • .odoignore is not working on Windows (#1630)
  • The component needs to be created before the service (#1602)
  • odo push doesn't propagate file deletions (#1354)
  • odo storage storage is not saved to the component config file (.odo/config.yaml) (#1388)

v0.0.20

27 Feb 15:51
bd3e74a
Compare
Choose a tag to compare

Changelog

Enhancements

  • Added .odoignore ignore feature to the odo push command (#1332)

  • Make sure that paths are absolute (#1358)
    (odo create will work properly interactive & non-interactive mode)

  • Make it possible to wait for service when creating one in interactive mode (#1345)

  • Rationalize the use of --wait for link/unlink (#1339)

  • Added suitable auto app switching in case of application deletion (#1338)

  • Added component settings and used reflection for deletion (#1325)

odo utils config set componentName test
odo utils config set minCPU 0.5
  • Added wait flag to service create (#1321)
odo service create mongodb-ephemeral --plan default -p MONGODB_VERSION=3.2 --wait

Internals

  • Modify URL related functions to use new structs (#1330)

  • Modify storage related functions to use new structs (#1342)

  • Modify components related functions to use new structs (#1347)

  • Use ui.Proceed instead of log.AskF in deletion commands (#1334)

Testing/CI

  • Update test suite to handle stderr (#1307)

Documentation/help/error/warning messages:

  • Fix typo arguement --> argument in logs (#1353)

  • added circle ci badge to the README (#1351)

  • Fix error code (#1350)

  • add warning to outdated config file proposal (#1349)

  • Fix typo in e2e tests (#1344)

v0.0.19

11 Feb 16:35
61f278a
Compare
Choose a tag to compare

Changelog

Breaking changes!!

Application created with odo 0.0.18 and older can't been seen by odo 0.0.19 (configfile was changed from ~/.kube/odo to ~/.odo/odo-config #1168)
To work around this you have to create application again (odo create myapp), than you should see you components again (odo list). Note that you will have to also set active component (odo component)

Enhancements:

  • Add services to odo app describe (#1252)

  • Add the linked components and services to odo describe (#1232)

  • Intercepting login message and customising the message message (#1251)

  • Machine Readable Output (#1196)

  • Move component commands under component (#1282)

  • Add possibility to output non-interactive equivalent command for service create (#1281)

  • Ignore client errors when asking for version (#1250)

  • Ensure that listing catalog components ignores hidden ones (#1261)

Testing/CI

  • Allow to ovewrite SupervisorD bootstrapping image using env variable (#1310)
  • Add CircleCI (#1308)
  • Pin the openjdk18 image version we are using in our e2e tests (#1302)
  • Integration test for odo service create panic (#1280)
  • Fixing #1278: Changing cleanup to run as needed (#1279)
  • Update gofmt (#1277)
  • Renamed TestIsRegExpMatch to TestIsGlobExpMatch (#1266)

Internals:

  • Refactor logout command to use Complete/Validate/Run pattern (#1284)

  • Refactor login command to use Complete/Validate/Run pattern (#1283)

  • Refactor application to follow Complete/Validate/Run pattern (#1265)

  • Refactor utils command to follow Complete/Validate/Run pattern (#1264)

  • refactor project package to follow complete validate run pattern (#1253)

  • Refactor storage to complete-validate-run pattern (#1245)

  • Refactor component commands to follow complete-validate-run pattern (#1243)

  • Refactor URL to complete-validate-run pattern (#1233)

  • Clean-up after command refactoring (#1285)

  • resolved the incorrect PHONY in make file (#1312)

  • Add Runnable interface and use it to introduce generic Run function (#1306)

  • Service command is not using GetFullName (#1255)

  • Improve ui code organization to make it more useful and reusable (#1126)

Documentation/help/error messages:

  • Updated doc: create instances from any service class (#1274)
  • Update the year for the website (#1258)
  • Don't ignore errors when retrieving service classes and plans (#1259)

v0.0.18

29 Jan 12:40
Compare
Choose a tag to compare

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)

v0.0.17

04 Dec 23:28
1d10127
Compare
Choose a tag to compare

Changelog

Odo has a new UI / UX interface!

Check out the demo below:

demo

New commands or parameters:

  • You can now specify CPU parameters! #1038

Test it out using: --cpu, --min-cpu and --max-cpu with odo create:

odo create nodejs cmp-git --git https://github.com/openshift/nodejs-ex --min-memory 100Mi --max-memory 300Mi --min-cpu 0.1 --max-cpu 2
  • Memory limits have been added to Odo #991

Test it out using --min-memory, --memory, and --max-memory:

odo create nodejs cmp-git --git https://github.com/openshift/nodejs-ex --min-memory 100Mi --max-memory 300Mi

Changes:

  • New UI for Odo #983
  • ~ will now correctly resolve to the user's home directory #981
  • CLI autocompletion added for odo create #1021
  • CLI autocompletion added for odo storage #986
  • CLI autocompletion added for odo update #1013

Documentation and help messages:

  • Updated site #1057
  • Enhanced odo describe command #1046
  • Updated reference to oc command #1050
  • Updated README.md / demo #1034

Internals:

  • Added unit tests for pkg/storage/storage.go #818
  • runFailCmd for e2e tests will now wait until completion #1023
  • Fixed watch unit tests on Appveyor #975
  • Refactor of commands #1002
  • Fixed race condition when updating component to Git #1026
  • Fixed an issue of displaying the wrong project as active #1005
  • Bumped supervisord image #1041
  • Updated logging messages #1065
  • Internal CLI structure has been reorganized according to kubectl/oc conventions #871
  • Fixed issue regarding Odo not ignoring files that it cannot find #1043
  • Fix panic when no arguments supplied to cli documentation script #1048

v0.0.16

20 Nov 23:25
82968cb
Compare
Choose a tag to compare

Changelog

Documentation and help messages:

  • Issues templates are now slimmer #1001
  • Fixed odo login message #1006
  • Corrected import command within documentation #979

Internals:

  • Odo will now more strictly wait for DC updates #969
  • Added go completion for odo url delete #980
  • Resolved bug in the way that componentCMd was added within FlagSet #1000
  • Fix odo update command when not specifying a component name #999
  • Improved logs of e2e tests #925
  • Fixed odo login #997
  • Properly init context and improve information with handlers #985
  • Optimized the case of transferring single files with supervisord #954
  • Service catalog test will now take into account the status of the deployment #976

v0.0.15

14 Nov 20:27
2f7ed49
Compare
Choose a tag to compare

Changelog

New commands or parameters:

  • odo logout command has been added #699
  • odo login command has been added #826
  • odo url create --open parameter has been added #906
  • odo create -p paramater alias has been added for --port #836

odo logout

odo logout has been added as a new command. You may now logout through the odo command line:

$ odo logout 
Logged "developer" out on "https://127.0.0.1:8443"

odo login

odo login has been added as a new command with extra parameters. You may now login through the odo command line:

$ odo login localhost:8443 --username=myuser --password=mypass

Changes:

  • odo link Make link handling common across both components and services #856
  • Fixed a bug of not clearing the config file after project deletion #889
  • odo service describe has been enhanced with updated information about service parameters and internal data structures #886
  • Autodetect path for assemble and run scripts from image labels https://github.com/redhat-developer/odo/pull/#924

Documentation and help messages:

  • Documentation on how to add a custom builder #900
  • Minor changes to README cli structure information #870
  • A proposal has been added to define configuration and format for a local .odo config file #803

Internals:

  • AppVeyor is now used to build and publish new artifacts / binaries #898
  • Fixed completion handler #914
  • Rewrite of completion handler to handle collisions #904
  • Completion architecture improvement #893
  • Fixed bug fix in logout command #971
  • curl is now used instead of wget in integration tests #936
  • Varius runtimes with --local are now tested in e2e tests #961
  • e2e tests added for Java #951
  • Fix intermittent odo update bug when deleting / pushing a change too fast #848
  • e2e and unit tests for odo watch command added #820

Known Issues:

  • A temporary fix has been added for fixing timeout issues with odo push on e2e tests #945
  • Some components (like widfly and httpd) can get broken after adding storage (#445).

v0.0.14

19 Oct 18:19
618c6d3
Compare
Choose a tag to compare

Changelog

Breaking changes with PR #723:

  • odo service create command is now able to specify a plan using --plan
  • odo link functionality has a breaking change. The new function will now link a component to a service. For example: odo link my-postgresql --component nodejs

New commands or parameters:

  • Short flags have now been added (-b binary, -g git, -l local -c component) #791
  • You may now pass in env variables to Odo. For example: odo create nodejs --env key=value,key1=value1 #626

Changes

  • odo catalog list services will now show plans #687
  • Bash completion will now propagate any components / projects / apps that are available #801
  • SupervisorD Go Binary implementation has been added. Component creation no longer requests BuildConfig and is now much faster #622
  • Project delete has now been enhanced to correctly pick a new project post-deletion #740

Documentation and help messages:

  • Improved storage output help message #831
  • Comments added to functions #823
  • Added issue and PR templates #825

Internals:

  • Watch command bug fix #797
  • Added support for 1 argument in service delete #817
  • Removed unused parameter #812
  • Service catalog is now being tested #809

Known Issues:

  • Some components (like widfly and httpd) can get broken after adding storage (#445).

v0.0.13

28 Sep 20:53
f92c352
Compare
Choose a tag to compare

Changelog

New commands or parameters:

  • Added parameters --ignore and --delay to odo watch command (#742)

Changes

  • Configurable watch (#742)

Documentation and help messages:

  • Improve component message (#782)
  • Update development guide (#754)

Internals:

  • Removes newline from project get short flag (#759)
  • Fix the colour issue on Windows for Odo push (#701)
  • Updated codecov.io configuration (#761)
  • Rename ocdev occurences to Odo (#748)