Skip to content

Commit c63d678

Browse files
authored
Merge pull request #1100 from p12tic/release
Preparation for release
2 parents 7c8696b + 6de335b commit c63d678

27 files changed

+196
-28
lines changed

RELEASING.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
Creating a release
2+
==================
3+
4+
This file contains instructions for maintainers on how to release new versions of podman-compose.
5+
6+
Step 1: Initialize variables for subsequent steps
7+
-------------------------------------------------
8+
9+
```
10+
export VERSION=1.2.3
11+
```
12+
13+
Step 2: Release notes PR
14+
------------------------
15+
16+
Open a new branch (e.g. `release`) and run the following:
17+
18+
```
19+
./scripts/make_release_notes.sh $VERSION
20+
```
21+
22+
This collects the release notes using the `towncrier` tool and then commits the result.
23+
This step is done as a PR so that CI can check for spelling errors and similar issues.
24+
25+
Certain file names are not properly supported by the `towncrier` tool and it ignores them.
26+
Check `newsfragments` directory for any forgotten release notes
27+
28+
Step 3: Merge the release notes PR
29+
----------------------------------
30+
31+
Step 4: Perform actual release
32+
------------------------------
33+
34+
Pull the merge commit created on the `main` branch during the step 2.
35+
Then run:
36+
37+
```
38+
./scripts/make_release.sh
39+
```
40+
41+
This will create release commit, tag and push everything.
42+
43+
Step 5: Create a release on Github
44+
----------------------------------
45+
46+
The release notes must be added manually by drafting a release on the GitHub UI at
47+
https://github.com/containers/podman-compose/releases.

docs/Changelog-1.3.0.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
Version 1.3.0 (2025-01-07)
2+
==========================
3+
4+
Bug fixes
5+
---------
6+
7+
- Fixed support for de-facto alternative `Dockerfile` names (e.g. `Containerfile`)
8+
- Fixed a bug that caused attempts to create already existing pods multiple times.
9+
- Fixed compatibility with docker-compose in how symlinks to docker-compose.yml are handled.
10+
- Fixed freeze caused by too long log lines without a newline.
11+
- Fixed support for `network_mode: none`.
12+
- Improved error detection by rejecting service definitions that contain both `network_mode` and
13+
`networks` keys, which is not allowed.
14+
15+
16+
Features
17+
--------
18+
19+
- Added support for build labels.
20+
- Added support for "platform" property in the build command.
21+
- Added support for "ssh" property in the build command.
22+
- Added support for cache_from and cache_to fields in build section.
23+
- Added support for honoring the condition in the depends_on section of the service, if stated.
24+
- Added `x-podman.no_hosts` setting to pass `--no-hosts` to podman run
25+
- Added support for compatibility with docker compose for default network behavior when no network
26+
defined in service. This is controlled via `default_net_behavior_compat` feature flag.
27+
- Added a way to get compatibility of default network names with docker compose.
28+
This is selected by setting `default_net_name_compat: true` on `x-podman` global dictionary.
29+
- Added support for the `device_cgroup_rules` property in services.
30+
- Added support for removing networks in `podman-compose down`.
31+
- Added support for network scoped service aliases.
32+
- Added support for network level `mac_address` attribute.
33+
- Added ability to substitute variables with the environment of the service.
34+
35+
Misc
36+
----
37+
38+
- Declared compatibility with Python 3.13.

newsfragments/978.bugfix

Lines changed: 0 additions & 1 deletion
This file was deleted.

newsfragments/build-labels.feature

Lines changed: 0 additions & 1 deletion
This file was deleted.

newsfragments/build-platform.feature

Lines changed: 0 additions & 1 deletion
This file was deleted.

newsfragments/build-ssh.feature

Lines changed: 0 additions & 1 deletion
This file was deleted.

newsfragments/cache-fields-support.feature

Lines changed: 0 additions & 1 deletion
This file was deleted.

newsfragments/check-if-pod-exists.bugfix

Lines changed: 0 additions & 1 deletion
This file was deleted.

newsfragments/conditional-dependencies.feature

Lines changed: 0 additions & 1 deletion
This file was deleted.

newsfragments/container-no-hosts.feature

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)