Skip to content

Prepare for a new release#5

Merged
tmcgilchrist merged 6 commits into
masterfrom
prep-release
Jul 9, 2026
Merged

Prepare for a new release#5
tmcgilchrist merged 6 commits into
masterfrom
prep-release

Conversation

@tmcgilchrist

@tmcgilchrist tmcgilchrist commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

Each commit should be self explanatory @sim642

My intention is to make a new release 1.1 of this package that supports OCaml 4.11 onwards. We might need to constrain older versions of earlybird away from using this new version, I'll rely on the opam repo CI to discover that.

@tmcgilchrist tmcgilchrist changed the title Prep release Prepare for a new release Jul 7, 2026
@tmcgilchrist
tmcgilchrist marked this pull request as ready for review July 7, 2026 06:47
Comment thread src/debug_rpc_test/dune
Comment thread dap.opam Outdated
doc: "https://hackwaly.github.io/ocaml-dap/"
depends: [
"ocaml" {>= "4.08"}
"ocaml" {>= "4.11"}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just wondering, where is this new minimum coming from?

It's not a problem for earlybird though because it has an OCaml 4.12 lower bound for quite a while now.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I chose it based on the lower bound in opam-repository. It would be better to match earlybird's 4.12 bounds, I'll do that.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What lower bound in opam-repository? It's still 4.08 here: https://github.com/ocaml/opam-repository/blob/bc64c70f8353cd2940ce5f9a4c0b5b13d8043bf5/packages/dap/dap.1.0.6/opam#L14.
It doesn't have to match earlybird. Artificially bumping the lower bound when it would work fine on older version is unnecessary.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see. I wouldn't set the package's lower bound based on that because I suppose it still builds fine for the earlier versions, unless something in this PR wouldn't.
The OCaml version lower bound for opam-repository is mostly for archiving packages which only build on the older versions. There are still packages that support both older and newer than 4.11 in opam-repository.

But I won't adamantly fight against the lower bound bump either. I guess it could be convenient for starting to use some newer language or Stdlib features.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've added the necessary CI config to get 4.08 working in 783ad15

Comment thread .github/workflows/ci.yml
Backport package versions for result and fmt from
opam-repository. Updates OCaml version to 4.11 to match the lower
bound on opam-repository packages. More explicit with-test
installation of ppx_expect and fmt packages.
Also conditionally run tests on supported OCaml versions
@tmcgilchrist
tmcgilchrist merged commit 5b057e9 into master Jul 9, 2026
5 of 6 checks passed
@tmcgilchrist
tmcgilchrist deleted the prep-release branch July 9, 2026 01:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants