v3.0.0
v3.0.0
What's new
odo
v3 comes with a new set of commands that replaces the old one but essentially does the same thing, in a faster and more efficient way.
More details on odo.dev
Installation of v3.0.0
To install odo
, follow our installation guide at odo.dev
After each release, binaries are synced to developers.redhat.com
Migrating from v2 to v3
We have documented the migration process from v2 to v3 in this article.
The migration document also highlights the commands that have been added, modified, or removed from v3
Full Changelog
Full Changelog: v2.5.1...v3.0.0
Features/Enhancements
- telemetry: start tracking flags usage #6168 (kadel)
- Adds support for odo list services #6118 (dharmit)
- Add runtime label based on metadata:language/projectType #6112 (feloy)
- JSON output for preference view #6105 (feloy)
- Manual sync of files pressing p #6089 (feloy)
- Implement "odo list" #6043 (feloy)
- odo list: add odo version used to create a component to the output #6028 (valaparthvi)
- Do not get project from env.yaml file #6025 (feloy)
- Make odo work if optional
metadata.name
field is missing in Devfile #6015 (rm3l) - Autodetect project name via Alizer #5989 (cdrage)
odo dev
: Add support for non-exec commands part of a composite run or debug command #5923 (valaparthvi)- Allow using remote Dockerfiles (HTTP(S) only) for building images #5976 (rm3l)
- Allow binding to services from other namespaces #5936 (rm3l)
- odo dev: react to changes as soon as possible #5933 (feloy)
- Install and use a reverse proxy for staging devfile registry #5922 (feloy)
- Allow setting
namingStrategy
when usingodo add binding
#5912 (rm3l) - odo dev: handle port forwarding after pod restart #5885 (feloy)
- Add
build-command
flag toodo dev
to run non-default Build command #5891 (rm3l) - Add
run-command
flag toodo dev
to run non-default Run command #5878 (rm3l) - Add preference add and remove commands #5873 (valaparthvi)
- Install script for operators on Kubernetes + Activate tests with operatoes on Kubernetes #5861 (feloy)
- odo add binding without devfile.yaml #5858 (feloy)
- Update preference view to show list of devfile registries #5850 (valaparthvi)
- Adds support to follow/tail/stream odo logs #5846 (dharmit)
- Add support for composite run/debug commands #5841 (rm3l)
- Adds odo logs for Deploy mode #5825 (dharmit)
- odo list binding #5823 (feloy)
- odo add binding - Bind as files UI update #5817 (valaparthvi)
- Use latest alizer library version, including .net detection #5804 (feloy)
- Change ephemeral default to false #5795 (kadel)
- odo remove binding #5787 (valaparthvi)
- Add
odo logs
#5760 (dharmit) - Substituting variables into the devfile from the CLI #5749 (feloy)
- Return odo analyze result as an array #5799 (feloy)
- odo describe binding #5773 (feloy)
- odo list namespace #5729 (valaparthvi)
- Implement
odo set namespace/project
#5744 (rm3l) - Implement
odo delete namespace/project
#5743 (rm3l) - odo registry -o json #5739 (feloy)
- Rename alizer command to analyze #5737 (feloy)
- odo list -o json #5731 (feloy)
- odo describe component #5725 (feloy)
- odo create namespace #5724 (valaparthvi)
- odo describe component -o json #5720 (feloy)
- odo dev store information about currently forwarded ports #5703 (feloy)
- odo dev --debug #5690 (feloy)
- Adds odo registry command #5667 (cdrage)
- Create binding between devfile component and existing service #5641 (valaparthvi)
- Adds
odo dev --no-watch
#5675 (dharmit) odo init
json output #5658 (feloy)- odo alizer command #5646 (feloy)
- Adds warning for running podman on Apple Silicon #5629 (cdrage)
- Updates odo init output, fixes colorized output for tests. #5613 (cdrage)
- Wait deletion #5604 (feloy)
- odo delete component - show warning that something was not deleted #5598 (valaparthvi)
Bugs
- Fix Windows tests for PR targeting branches other than
main
#6177 (anandrkskd) - Try to reload config when disconnected from the cluster #6130 (feloy)
- Port-forward all endpoints regardless of exposure #6119 (rm3l)
- Fix broken links to installation guide #6117 (valaparthvi)
- Do not display message when using no-watch flag #6116 (feloy)
- Show Kubernetes cluster version in odo version #6109 (valaparthvi)
- No error/help display for JSON output #6106 (feloy)
- Display "Interactive mode enabled" only when running
odo init
interactively #6100 (rm3l) - Use map for runningIn instead of array in JSON output #6094 (feloy)
- [flaky test] Move DetectName to method in alizer package #6093 (feloy)
- Fix interactive tests on Windows #6091 (feloy)
- (odo init): Add input validation for component name #6088 (valaparthvi)
- Fix: (odo list) Empty parenthesis for odo version if component is not on the cluster #6078 (valaparthvi)
- Update errors.go #6059 (MahendraBishnoi29)
- Do not use env.yaml file anymore #6057 (feloy)
- Ignore notfound error on delete #6055 (feloy)
- deploymentExists different from component running #6048 (feloy)
- Do not send userId to registry when ODO_DEBUG_TELEMETRY_FILE is set #6031 (feloy)
- Fix: ServiceBinding resources are not deployed with odo deploy #6029 (valaparthvi)
- odo dev: Cleanup after displaying the error #6024 (feloy)
- Fix: Non odo components not reported #6021 (valaparthvi)
- Watch for devfile dependencies #6020 (feloy)
- Restart port forwarding on failure #6013 (feloy)
- Remove command: odo project #6008 (valaparthvi)
- Enhance error message when user runs from a non-component directory #6006 (valaparthvi)
- Allow specifying message to end the spinner with #5972 (dharmit)
- Fetch pods first; use channel instead of slice #5973 (dharmit)
- Use sync/atomic to keep tab on go routines #5961 (dharmit)
- Grab pod logs concurrently #5942 (dharmit)
- Do not save component name in env.yaml #5852 (cdrage)
- Fix misleading add binding error message #5887 (valaparthvi)
- Update README.md #5835 (kadel)
- ignore dynamic resource when not found #5815 (vinny-sabatini)
- When typing odo foobar --help should error out with invalid command #5813 (cdrage)
- Fix: configuration shows volumes as containers #5807 (valaparthvi)
- Wait for deployment rollout only when binding created / modified #5785 (feloy)
- Add support for
command
/args
fields incontainer
components #5768 (rm3l) - Execute tar with --no-same-owner #5783 (feloy)
- Removed setup operator code block for s390x #5761 (surenderky)
- Delete dev resources only when stopping Dev session #5751 (feloy)
- Fix issue preventing URI-referenced Kubernetes components from being gathered for deletion #5721 (rm3l)
- Upgrade to registry-library v1.0.1 to ignore OWNERS files #5712 (feloy)
- Fix issue with variables not substituted in
uri
-referenced manifests (#5451) #5711 (rm3l) - Fix ignores files during sync #5689 (feloy)
- Error when running odo list and there are no components deployed #5688 (cdrage)
- Removing bash for building images using podman/docker #5673 (mohammedzee1000)
- Fix issue with
build-images
anddeploy
not working with Docker if optionalbuildContext
field is not set in Devfile (#5600) #5657 (rm3l) - Terminate process on windows #5651 (feloy)
- [Hotfix] Always ignore
command
andargs
defined in Devfile container components #5639 (rm3l) - Hide warnings for dynamic client #5630 (feloy)
- Ignore PackageManifets resources when listing components #5624 (kadel)
- Set list command in main help section #5623 (feloy)
- [#5330] Make
odo build-images
return an error if no Image component found in Devfile #5608 (rm3l) - [#5322] Add
PROJECT_SOURCE
to the container image build command environment #5602 (rm3l) - Fix odo interactive with verbosity flags #5601 (valaparthvi)
- Bugfix 5546/odo deploy then dev #5594 (feloy)
Documentation
- Fix broken links in the installation guide #6214 (valaparthvi)
- Fix help and doc for
odo completion zsh
#6167 (rm3l) - Note regarding image visibility for odo deploy #6191 (dharmit)
- Update USAGE_DATA.md #6182 (valaparthvi)
- Blog for v3 rc2 release #6161 (dharmit)
- Adjust sidebars on odo.dev website #6156 (valaparthvi)
- Make command reference docs consistent (2) #6153 (valaparthvi)
- Add CLI images / information on index page of odo.dev #6148 (cdrage)
- Document how
odo
translatescontainer
component into Kubernetes resources #6145 (rm3l) - Use Deploying an Application not Deploying application #6144 (cdrage)
- Make command reference docs consistent #6126 (valaparthvi)
- Create document highlighting dev and deploy #6120 (cdrage)
- Add documentation on connecting to a service #6114 (valaparthvi)
- Fix typo in README #6133 (rm3l)
- Fix broken links to devfile.io #6128 (rm3l)
- docs: move deploying to advanced usage #6124 (kadel)
- upgrade to docusaurus 2.1 and fix version mismatch #6123 (kadel)
- Adds tabs for podman/docker docs and OS differences #6115 (cdrage)
- Update README.md with logo & updated text #6104 (cdrage)
- Fix default value for
Ephemeral
in documentation #6102 (rm3l) - Guide for migrating from v2 to v3 #6095 (dharmit)
- Reorganizes installation document #6086 (cdrage)
- Remove cluster setup #6081 (cdrage)
- Blog post for v3.0.0-rc1 release #6074 (feloy)
- Reorganize and separate language / framework tutorials. #6071 (cdrage)
- Update site index page with lighter font #6035 (cdrage)
- Add blog post for v3.0.0-beta3 and update installation docs #6032 (valaparthvi)
- Add blog post for v3.0.0-beta3 and update installation docs #6019 (valaparthvi)
- Document how odo works with projects/namespaces #6009 (valaparthvi)
- Use oceanicNext dark theme for website #6005 (valaparthvi)
- Adds link to inner loop to the Quickstart guide #6003 (dharmit)
- update quickstart #5992 (kadel)
- Remove $ symbol from some commands #5979 (cdrage)
- Add blog post for
v3.0.0-beta2
release and update installation doc #5966 (rm3l) - Add blog post for v3.0.0-beta1 release #5956 (rm3l)
- add documenation for env variables used by odo #5686 (kadel)
- Add documentation for odo completion #5921 (cdrage)
- Bump odo version in installation docs #5919 (valaparthvi)
- Blog: Connecting to a service without SBO #5915 (valaparthvi)
- Add instruction to install odo via Maven plugin #5909 (mcarlett)
- adding Threat Model and corresponding md file #5902 (rnapoles-rh)
- Remove "unmaintained" banner for 2.5.0 #5884 (cdrage)
- Make 3.0.0 the default on the site #5857 (cdrage)
- Add missing documentation on SBO installation #5855 (valaparthvi)
- Fix CLI info regarding Springboot quickstart #5849 (cdrage)
- Add blog post about binding an external service #5828 (feloy)
- Add Homebrew installation details #5812 (cdrage)
- Add 3.0.0 link to homepage, and fix alpha title #5810 (cdrage)
- update links to v3 binary #5805 (anandrkskd)
- Add Golang to the quickstart guide #5788 (cdrage)
- Adds Java Spring Boot example to quickstart guide #5786 (cdrage)
- Adds .NET 6.0 as a quickstart example #5774 (cdrage)
- Fix ordering of command reference docs #5767 (cdrage)
- Update quickstart guide #5763 (cdrage)
- Adds documentation to Devfile reference page #5762 (cdrage)
- Reorganize documentation to specific folders #5741 (cdrage)
- Minor update to odo dev reference #5740 (cdrage)
- Update the site configuration to expand sidebars #5736 (cdrage)
- Remove old docs #5735 (cdrage)
- Small update to cluster setup docs #5734 (cdrage)
- odo add binding documentation #5730 (valaparthvi)
- Redo the quickstart guide to odo 3.0.0 #5722 (cdrage)
- Blog post for v3-alpha1 #5710 (feloy)
- Adds odo dev command reference #5696 (cdrage)
- Adds/updates code comments and removes unused client #5619 (dharmit)
Testing/CI
- Update devfile data in integration tests #6140 (valaparthvi)
- check if namespace is created instead of project #6108 (anandrkskd)
- Fix init interactive backend unit test #6099 (valaparthvi)
- Remove skip for k8s from
odo dev
integration tests #6096 (valaparthvi) - update ginkgo to v2.1.6 #6072 (anandrkskd)
- fix flake and use operatorhub to install EDB #6004 (anandrkskd)
- Add more checks to check-fit.sh #6001 (valaparthvi)
- Use devfile proxy for odo init --devfile-registry #5995 (feloy)
- Increase timeout by 60sec devEnv check #5978 (anandrkskd)
- Sbo nightly test #5946 (anandrkskd)
- Cleanup test to skip setup cluster steps if needed #5945 (anandrkskd)
- Migrate to ginkgo v2 #5809 (anandrkskd)
- Check if all Pods are running in odo logs tests #5851 (dharmit)
- Fix flaky
kubeexec
unit test case with env vars #5845 (rm3l) - Eventually list namespaces for test #5837 (feloy)
- Fix parametrized integration tests #5826 (valaparthvi)
- Update OWNERS files #5808 (valaparthvi)
- Add unit test for odo add binding #5790 (valaparthvi)
- add e2e tests #5778 (anandrkskd)
- update dockerfile to install dependencies #5784 (anandrkskd)
- Speed up tests on K8s by not blocking until test namespace is gone #5769 (rm3l)
- Fix error when opening file in windows OS #5717 (rnapoles-rh)
- Fix dev integration tests not finishing #5705 (feloy)
- fix PATH for odo binary #5702 (anandrkskd)
- change path to fix windows log #5692 (anandrkskd)
- refactoring generic-test #5628 (rnapoles-rh)
- Tests cleanup after odo dev terminates #5633 (feloy)
- Fix potential issue with
image.TestSelectBackend
unit tests whenPODMAN_CMD
env var is set #5614 (rm3l) - Fix flaky test "should expose two endpoints on localhost" #5599 (feloy)
Merged pull requests
- Bump odo version from 3.0.0-rc2 to 3.0.0 #6197 (rm3l)
- Bump odo to v3.0.0-rc2 #6137 (dharmit)
- Bump to version 3.0.0-rc1 #6064 (feloy)
- Update script to support alpha/beta/rc versions #6063 (feloy)
- update to OpenShift 4.11 #6060 (kadel)
- Troubleshoot IBM Cloud Windows tests failing #6038 (feloy)
- test: use
T.Setenv
to set env vars in tests #6037 (Juneezee) - Revert "Add blog post for v3.0.0-beta3 and update installation docs" #6030 (cdrage)
- Bump odo version to v3.0.0-beta3 #6016 (valaparthvi)
- Limit the total number of Dependabot PRs to 2 #5975 (rm3l)
- Update Alizer version #5970 (rm3l)
- Website: Bump @svgr/webpack from 6.2.1 to 6.3.0 in /docs/website #5969 (dependabot[bot])
- Update Dependabot configuration #5968 (rm3l)
- Improve --help page by separating commands to management commands #5965 (cdrage)
- Refactor color througout interactive mode and dev #5963 (cdrage)
- Website: Bump node-forge from 1.2.1 to 1.3.1 in /docs/website #5955 (dependabot[bot])
- Website: Bump css-what from 5.1.0 to 6.1.0 in /docs/website #5954 (dependabot[bot])
- Go: Bump k8s.io/klog/v2 from 2.40.1 to 2.70.1 #5953 (dependabot[bot])
- Website: Bump @docusaurus/theme-search-algolia from 2.0.0-beta.16 to 2.0.0-rc.1 in /docs/website #5951 (dependabot[bot])
- Go: Bump github.com/jedib0t/go-pretty/v6 from 6.3.3 to 6.3.5 #5950 (dependabot[bot])
- Go: Bump github.com/golang/mock from 1.5.0 to 1.6.0 #5939 (dependabot[bot])
- Bump version to v3.0.0-beta2 #5952 (rm3l)
- Remove unused functions: ComponentExist, PushedComponent #5944 (valaparthvi)
- download golangci-lint binary with test script #5934 (anandrkskd)
- reduce test make targets, organize test file structure #5931 (anandrkskd)
- Go: Bump github.com/fatih/color from 1.12.0 to 1.13.0 #5925 (dependabot[bot])
- Go: Bump github.com/posener/complete from 1.1.1 to 1.2.3 #5924 (dependabot[bot])
- Cleanup Adapter structure to not be used to pass parameters #5918 (feloy)
- Website: Bump @tsconfig/docusaurus from 1.0.4 to 1.0.6 in /docs/website #5917 (dependabot[bot])
- Simplify pkg/devfile/adapters/... packages #5914 (feloy)
- Website: Bump @svgr/webpack from 5.5.0 to 6.2.1 in /docs/website #5913 (dependabot[bot])
- Website: Bump prism-react-renderer from 1.3.1 to 1.3.5 in /docs/website #5911 (dependabot[bot])
- Website: Bump glob-parent from 5.1.2 to 6.0.2 in /docs/website #5910 (dependabot[bot])
- Use cached discovery client #5908 (dharmit)
- Go: Bump github.com/pborman/uuid from 1.2.0 to 1.2.1 #5901 (dependabot[bot])
- Website: Bump browserslist from 4.19.3 to 4.21.1 in /docs/website #5897 (dependabot[bot])
- Website: Bump @docusaurus/core from 2.0.0-beta.16 to 2.0.0-beta.21 in /docs/website #5895 (dependabot[bot])
- Add assertions for types implementing interfaces #5893 (feloy)
- update documentation issue template #5859 (kadel)
- Fixes terminal completion command for odo #5856 (cdrage)
- Bump to version v3.0.0-beta1 #5903 (feloy)
- Add DCO documentation #5864 (fbricon)
- Remove odo preference registry update command #5853 (valaparthvi)
- Enable Dependabot #5827 (rm3l)
- Preference cleanup (1/n) #5822 (valaparthvi)
- bump version to v3.0.0-alpha3 #5802 (kadel)
- Removing unused examples/yaml files #5758 (rnapoles-rh)
- move alizer command from gui to utility group #5726 (kadel)
- Bumping odo version to v3.0.0-alpha2 #5745 (mohammedzee1000)
- Removing support for github based registries #5708 (mohammedzee1000)
- Favor use of "allowlist" and "denylist" in
wwhrd
license check config #5699 (rm3l) - Add additional checks to golangci-lint (#5567) #5687 (rm3l)
- Refactor labels #5618 (feloy)
- Updating rpm scripts based on recommendations #5685 (mohammedzee1000)
- Remove Mrinal and add Armel to OWNERS #5678 (dharmit)
- Bumping odo version to v3.0.0-alpha1 #5677 (mohammedzee1000)
- Update devfiles information and used images for ppc64le #5662 (Mahima-Gaikwad)
- Remove references to v2 commands, remove unused functions, and constants #5638 (valaparthvi)
- Remove italic output throughout odo #5612 (cdrage)
- Updates the error output for an empty directory #5610 (cdrage)
- Updates the odo dev output for logging #5609 (cdrage)
- Updates the backend error messages more clearly #5605 (cdrage)
- Cleans up innerloop resources upon Ctrl+c #5596 (dharmit)
- docs: update prismjs #5590 (kadel)
- Create cleanup #5589 (valaparthvi)
New Contributors
- @Mahima-Gaikwad made their first contribution in #5662
- @surenderky made their first contribution in #5761
- @vinny-sabatini made their first contribution in #5815
- @fbricon made their first contribution in #5864
- @dependabot made their first contribution in #5897
- @mcarlett made their first contribution in #5909
- @Juneezee made their first contribution in #6037
- @MahendraBishnoi29 made their first contribution in #6059