You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/website/blog/2023-05-04-odo-v3.10.0.md
+44-11
Original file line number
Diff line number
Diff line change
@@ -14,35 +14,68 @@ odo `v3.10.0` is now out!
14
14
To install `odo`, follow [the installation guide](../docs/overview/installation).
15
15
16
16
## Notable Changes
17
-
Check this Playlist for an overview of the most notable changes in this release: https://www.youtube.com/playlist?list=PLGMB2PY4SNOqUm7C5VLarQq6jd8Ie0iHu
17
+
Check these playlists for an overview of the most notable changes in this release:
#### `--address` to define a custom address for port forwarding during `odo dev`
22
-
To enhance the port forwarding feature provided by `odo dev`, you can now use a custom address for ports to listen by passing `--address` flag.
23
-
More details are available in [`ododev`commandreference doc](https://odo.dev/docs/command-reference/dev#using-custom-address-for-port-forwarding).
23
+
#### [`--port-forward` to define custom port mapping and `--address` to define a custom address for port forwarding during `odo dev`](https://github.com/redhat-developer/odo/issues/6479)
24
+
To enhance the port forwarding feature provided by `odo dev`, you can now use custom port mapping with flag `--port-forward` and a custom address for ports to listen by passing `--address` flag.
25
+
Read more about [custom port mapping](https://odo.dev/docs/command-reference/dev/#using-custom-port-mapping-for-port-forwarding) and [custom address](https://odo.dev/docs/command-reference/dev/#using-custom-address-for-port-forwarding) on `odo dev` command reference doc.
24
26
27
+
Custom Port Mapping for port forwarding:
28
+
<iframewidth="560"height="315"src="https://www.youtube.com/embed/X0mgdcRvz3U?list=PLGMB2PY4SNOqn0aLyfdSQERr657DtbxkA"title="YouTube video player"frameborder="0"allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"allowfullscreen></iframe>
29
+
30
+
Custom Address for port forwarding:
25
31
<iframewidth="560"height="315"src="https://www.youtube.com/embed/4QJ42cLo6j0"title="YouTube video player"frameborder="0"allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"allowfullscreen></iframe>
26
32
27
-
#### `odo dev` handles failing build commands in a better way.
28
-
Build command is ideally the first command that is run after the necessary resources are created in the `odo dev` workflow. Read [How odo works](https://odo.dev/docs/development/architecture/how-odo-works#how-odo-dev-works) for a better understanding of this.
33
+
#### [Automatically mounting volumes, configmaps, and secrets](https://github.com/redhat-developer/odo/issues/6549)
34
+
You can now automatically mount existing persistent volumes, configmaps and secrets to your `odo dev` deployment by applying an appropriate label to them.
35
+
```yaml
36
+
metadata:
37
+
labels:
38
+
devfile.io/auto-mount: "true"
39
+
```
29
40
30
-
In the previous versions, `odo dev` would run the build command in an infinite loop until it succeeded, which was unnecessary. In v3.10.0 however, `odo dev` stops after 1 unsuccessful attempt, and waits for the user to make changes to the project, providing with a slightly better user experience.
41
+
Read more about it in [Automounting Volumes](https://odo.dev/docs/user-guides/advanced/automounting-volumes).
#### [Allow to cancel `odo dev` execution at any phase](https://github.com/redhat-developer/odo/issues/6196)
59
+
In the previous versions, `odo dev` could not be cancelled until the build phase was complete. This has now been fixed to allow cancelling `odo dev` at any phase.
#### [`odo dev` handles failing build commands in a better way.](https://github.com/redhat-developer/odo/issues/6196)
63
+
Build command is ideally the first command that is run after the necessary resources are created in the `odo dev` workflow. Read [How odo works](https://odo.dev/docs/development/architecture/how-odo-works#how-odo-dev-works) for a better understanding of this.
64
+
65
+
In the previous versions, `odo dev` would run the build command in an infinite loop until it succeeded, which was unnecessary. In v3.10.0 however, `odo dev` stops after 1 unsuccessful attempt, and waits for the user to make changes to the project, providing with a slightly better user experience.
0 commit comments