Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release PR for v3.14.0 #7039

Merged
merged 4 commits into from
Aug 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v3.13.0
v3.14.0
208 changes: 208 additions & 0 deletions docs/website/blog/2023-08-22-odo-v3.14.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,208 @@
---
title: odo v3.14.0 Released
author: Armel Soro
author_url: https://github.com/rm3l
author_image_url: https://github.com/rm3l.png
image: https://raw.githubusercontent.com/redhat-developer/odo/main/docs/website/static/img/logo.png
tags: ["release"]
slug: odo-v3.14.0
---

odo `v3.14.0` is now out!

<!--truncate-->

To install `odo`, follow [the installation guide](../docs/overview/installation).

## Notable Changes

### Features

#### `odo dev` Web UI out of the experimental mode

The `odo` web User Interface, which was previously available experimentally, is now out of the experimental mode.
This means that it will be exposed and available out of the box whenever a Dev Session is started with `odo dev`, regardless of the experimental mode status.

This web UI currently aims at providing a simplified way to:
1. understand the Devfile and how `odo` interprets it.
2. edit the Devfile and tailor it to your project needs.

It is still a work in progress; so we are looking for feedback to improve it.

<iframe width="560" height="315" src="https://www.youtube.com/embed/Tshm1hHdQx0" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

To use it, just start `odo dev` (regardless of the target platform) and navigate to the URL displayed in the output (or retrievable via the [`odo describe component`](/docs/command-reference/describe-component) command).

<details>

<summary>Example Output</summary>

```text
$ odo dev --platform podman
[...]

↪ Running on podman in Dev mode
# highlight-start
✓ Web console accessible at http://localhost:20000/
✓ API Server started at http://localhost:20000/api/v1
✓ API documentation accessible at http://localhost:20000/swagger-ui/
# highlight-end
✓ Deploying pod [13s]
✓ Syncing files into the container [2s]
✓ Executing post-start command in container (command: 0-install-yarn) [1s]
✓ Building your application in container (command: doc-install-deps) [25s]
• Executing the application (command: doc-start) ...
✓ Waiting for the application to be ready [1s]
- Forwarding from 127.0.0.1:20001 -> 3000

↪ Dev mode
Status:
Watching for changes in the current directory /home/user/project

# highlight-next-line
Web console accessible at http://localhost:20000/

Keyboard Commands:
[Ctrl+c] - Exit and delete resources from podman
[p] - Manually apply local changes to the application on podman
```

</details>

#### Support for Volumes in the `odo` Web UI

It is now possible to create Volumes in the `odo` Web UI and also to specify volume mounts from the Containers tab:

![Add Volume](/img/blog/odo-v3.14.0/screenshot_dev_ui_add_vol.png)

![Add Volume Mount](/img/blog/odo-v3.14.0/screenshot_dev_ui_vol_mount_from_containers.png)

#### `--filter` in `odo registry` now supports a list of terms

When running `odo registry --filter`, you can now pass a list of terms to filter the results.
`--filter` is now a comma-separated list of terms for filtering, and search is done using a logical AND against the name or description or supported architectures of the Devfile Stacks.

<details>

<summary>Example Output</summary>

```
$ odo registry --filter s390x,java

NAME REGISTRY DESCRIPTION ARCHITECTURES VERSIONS
java-maven DefaultDevfileRegistry Java application based on Maven 3.6 and ... 1.2.0
java-openliberty DefaultDevfileRegistry Java application based on Java 11 and Ma... amd64, ppc64le, s390x 0.9.0
java-openliberty-gradle DefaultDevfileRegistry Java application based on Java 11, Gradl... amd64, ppc64le, s390x 0.4.0
java-quarkus DefaultDevfileRegistry Java application using Quarkus and OpenJ... 1.3.0
java-springboot DefaultDevfileRegistry Spring Boot using Java 1.2.0, 2.0.0
java-vertx DefaultDevfileRegistry Java application using Vert.x and OpenJD... 1.2.0
java-websphereliberty DefaultDevfileRegistry Java application based Java 11 and Maven... amd64, ppc64le, s390x 0.9.0
java-websphereliberty-gradle DefaultDevfileRegistry Java application based on Java 11 and Gr... amd64, ppc64le, s390x 0.4.0
java-wildfly DefaultDevfileRegistry JakartaEE application using WildFly 1.1.0, 2.0.0
java-wildfly-bootable-jar DefaultDevfileRegistry Java application using WildFly in bootab... 1.1.0
```

</details>

#### Filtering devfile stacks based on the architecture field in metadata when running `odo init`

When running `odo init` either interactively or non-interactively, the supported architectures declared in the Devfile are now handled.

In the interactive mode, `odo init` now allows you to pick the architectures you want or displays it from the Devfile suggested for your project.

<details>
<summary>Example Output</summary>

```text
$ odo init
[...]
Interactive mode enabled, please answer the following questions:
✓ Determining a Devfile for the current directory [603ms]
⚠ Could not determine a Devfile based on the files in the current directory: No valid devfile found for project in /tmp/test2
# highlight-start
? Select architectures to filter by: [Use arrows to move, space to select, <right> to all, <left> to none, type to filter]
> [x] amd64
[ ] arm64
[ ] ppc64le
[ ] s390x
# highlight-end
[...]
```
</details>

In the non-interactive mode, `odo init` allows you to specify the architectures using a repeatable `--architecture` option.

<details>
<summary>Example Output</summary>

```
$ odo init --name my-app --devfile nodejs \
--architecture amd64 \
--architecture s390x

[...]

Your new component 'my-app' is ready in the current directory.
To start editing your component, use 'odo dev' and open this folder in your favorite IDE.
Changes will be directly reflected on the cluster.
```
</details>

## Detailed Changelog

As with every release, you can find the full list of changes and bug fixes on the [GitHub release page](https://github.com/redhat-developer/odo/releases/tag/v3.14.0).

[Full Changelog](https://github.com/redhat-developer/odo/compare/v3.13.0...v3.14.0)

**Features/Enhancements:**

- Move UI out of experimental mode [\#7012](https://github.com/redhat-developer/odo/pull/7012) ([feloy](https://github.com/feloy))
- \[ui\] Create/Delete volumes [\#7029](https://github.com/redhat-developer/odo/pull/7029) ([feloy](https://github.com/feloy))
- Set Save button on top, enable it only when devfile changed [\#7015](https://github.com/redhat-developer/odo/pull/7015) ([feloy](https://github.com/feloy))
- `odo init` filters devfile stacks by supported architectures [\#7004](https://github.com/redhat-developer/odo/pull/7004) ([feloy](https://github.com/feloy))
- Do not display API logs by default [\#7008](https://github.com/redhat-developer/odo/pull/7008) ([feloy](https://github.com/feloy))

**Bugs:**

- Do not set Memory limit on podman when cgroup is v1 [\#7028](https://github.com/redhat-developer/odo/pull/7028) ([feloy](https://github.com/feloy))
- \[ui\] Fix Add/Remove events [\#7027](https://github.com/redhat-developer/odo/pull/7027) ([feloy](https://github.com/feloy))
- Remove `--kubeconfig` flag [\#7017](https://github.com/redhat-developer/odo/pull/7017) ([feloy](https://github.com/feloy))
- Makes stopped command terminate normally [\#7011](https://github.com/redhat-developer/odo/pull/7011) ([feloy](https://github.com/feloy))
- Fix podman version check [\#7010](https://github.com/redhat-developer/odo/pull/7010) ([feloy](https://github.com/feloy))

**Documentation:**

- Update README main title and display preview video [\#7037](https://github.com/redhat-developer/odo/pull/7037) ([rm3l](https://github.com/rm3l))
- Update home page preview video with support of Podman [\#7023](https://github.com/redhat-developer/odo/pull/7023) ([rm3l](https://github.com/rm3l))
- Update Quickstart Guides with Podman support [\#7016](https://github.com/redhat-developer/odo/pull/7016) ([rm3l](https://github.com/rm3l))
- Document how to change the dev container image pull policy [\#7014](https://github.com/redhat-developer/odo/pull/7014) ([rm3l](https://github.com/rm3l))
- Use image selector feature in "Deploying application" guides [\#7013](https://github.com/redhat-developer/odo/pull/7013) ([rm3l](https://github.com/rm3l))

**Merged pull requests:**

- Bump version to 3.14.0 [\#7038](https://github.com/redhat-developer/odo/pull/7038) ([rm3l](https://github.com/rm3l))
- Website: Bump clsx from 1.2.1 to 2.0.0 in /docs/website [\#7025](https://github.com/redhat-developer/odo/pull/7025) ([dependabot[bot]](https://github.com/apps/dependabot))
- Go: Bump github.com/go-openapi/jsonpointer from 0.19.6 to 0.20.0 [\#7024](https://github.com/redhat-developer/odo/pull/7024) ([dependabot[bot]](https://github.com/apps/dependabot))
- Website: Bump typescript from 4.9.5 to 5.1.6 in /docs/website [\#7007](https://github.com/redhat-developer/odo/pull/7007) ([dependabot[bot]](https://github.com/apps/dependabot))
- Go: Bump github.com/zalando/go-keyring from 0.2.1 to 0.2.3 [\#7006](https://github.com/redhat-developer/odo/pull/7006) ([dependabot[bot]](https://github.com/apps/dependabot))


## Contributing to odo

If `odo` interests you, and you would like to contribute to it, we welcome you!

You can contribute to `odo` in a lot of different ways!

Take it for a spin 🚘 and report back bugs🐞 that you encountered, or features🌟 that you would like to see.

Help us with the documentation📜, or tell us how you used `odo` 🖍.

Review the PRs👀, or help us fix a failing test 🚩.

Work on the TODOs📝, or help us cleanup the code🚮.

Or, simply tune in📻 to our [contributor calls](https://github.com/redhat-developer/odo#meetings) and learn more about `odo`.

`odo` is your playground!

Read the developer reference guide on [contributing to odo](/docs/development/contribution) to know more.
34 changes: 17 additions & 17 deletions docs/website/docs/overview/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ Installing `odo` on `amd64` architecture:

1. Download the latest release from the mirror:
```shell
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.13.0/odo-linux-amd64 -o odo
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.14.0/odo-linux-amd64 -o odo
```

2. (Optional) Verify the downloaded binary with the SHA-256 sum:
```shell
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.13.0/odo-linux-amd64.sha256 -o odo.sha256
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.14.0/odo-linux-amd64.sha256 -o odo.sha256
echo "$(<odo.sha256) odo" | shasum -a 256 --check
```

Expand All @@ -64,12 +64,12 @@ Installing `odo` on `arm64` architecture:

1. Download the latest release from the mirror:
```shell
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.13.0/odo-linux-arm64 -o odo
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.14.0/odo-linux-arm64 -o odo
```

2. (Optional) Verify the downloaded binary with the SHA-256 sum:
```shell
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.13.0/odo-linux-arm64.sha256 -o odo.sha256
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.14.0/odo-linux-arm64.sha256 -o odo.sha256
echo "$(<odo.sha256) odo" | shasum -a 256 --check
```

Expand All @@ -95,12 +95,12 @@ Installing `odo` on `ppc64le` architecture:

1. Download the latest release from the mirror:
```shell
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.13.0/odo-linux-ppc64le -o odo
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.14.0/odo-linux-ppc64le -o odo
```

2. (Optional) Verify the downloaded binary with the SHA-256 sum:
```shell
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.13.0/odo-linux-ppc64le.sha256 -o odo.sha256
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.14.0/odo-linux-ppc64le.sha256 -o odo.sha256
echo "$(<odo.sha256) odo" | shasum -a 256 --check
```

Expand All @@ -126,12 +126,12 @@ Installing `odo` on `s390x` architecture:

1. Download the latest release from the mirror:
```shell
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.13.0/odo-linux-s390x -o odo
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.14.0/odo-linux-s390x -o odo
```

2. (Optional) Verify the downloaded binary with the SHA-256 sum:
```shell
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.13.0/odo-linux-s390x.sha256 -o odo.sha256
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.14.0/odo-linux-s390x.sha256 -o odo.sha256
echo "$(<odo.sha256) odo" | shasum -a 256 --check
```

Expand Down Expand Up @@ -190,12 +190,12 @@ Installing `odo` on `amd64` architecture:

1. Download the latest release from the mirror:
```shell
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.13.0/odo-darwin-amd64 -o odo
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.14.0/odo-darwin-amd64 -o odo
```

2. (Optional) Verify the downloaded binary with the SHA-256 sum:
```shell
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.13.0/odo-darwin-amd64.sha256 -o odo.sha256
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.14.0/odo-darwin-amd64.sha256 -o odo.sha256
echo "$(<odo.sha256) odo" | shasum -a 256 --check
```

Expand All @@ -222,12 +222,12 @@ Installing `odo` on `arm64` architecture:

1. Download the latest release from the mirror:
```shell
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.13.0/odo-darwin-arm64 -o odo
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.14.0/odo-darwin-arm64 -o odo
```

2. (Optional) Verify the downloaded binary with the SHA-256 sum:
```shell
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.13.0/odo-darwin-arm64.sha256 -o odo.sha256
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.14.0/odo-darwin-arm64.sha256 -o odo.sha256
echo "$(<odo.sha256) odo" | shasum -a 256 --check
```

Expand Down Expand Up @@ -258,12 +258,12 @@ echo 'export PATH=$PATH:$HOME/bin' >> ~/.bashrc

2. Download the latest release from the mirror:
```shell
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.13.0/odo-windows-amd64.exe -o odo.exe
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.14.0/odo-windows-amd64.exe -o odo.exe
```

2. (Optional) Verify the downloaded binary with the SHA-256 sum:
```shell
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.13.0/odo-windows-amd64.exe.sha256 -o odo.exe.sha256
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.14.0/odo-windows-amd64.exe.sha256 -o odo.exe.sha256
# Visually compare the output of both files
Get-FileHash odo.exe
type odo.exe.sha256
Expand Down Expand Up @@ -333,16 +333,16 @@ The download can be executed using the `download` goal which automatically retri
```shell
mvn software.tnb:odo-downloader-maven-plugin:0.1.3:download \
-Dodo.target.file=$HOME/bin/odo \
-Dodo.version=v3.13.0
-Dodo.version=v3.14.0
```

### asdf
The [asdf version manager](https://asdf-vm.com/) is a tool for managing multiple runtime versions using a common CLI.
With `asdf` installed, the [asdf plugin for odo](https://github.com/rm3l/asdf-odo) can be used to install any released version of `odo`:
```
asdf plugin add odo
asdf install odo 3.13.0
asdf global odo 3.13.0
asdf install odo 3.14.0
asdf global odo 3.14.0
```

## Nightly builds
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.