Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
tags: [dune, platform, developer-preview]
---

Hello folks! 👋

Check failure on line 6 in data/changelog/posts/dune-developer-preview/2024-09-25-call-for-feedback.md

View workflow job for this annotation

GitHub Actions / lint

Trailing spaces

data/changelog/posts/dune-developer-preview/2024-09-25-call-for-feedback.md:6:16 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1] https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md009.md

We'd like to welcome everyone to try and play with the [Dune Developer Preview](https://preview.dune.build)! 🎉
We'd like to welcome everyone to try and play with the [Dune Developer Preview](https://preview.dune.build?utm_source=ocaml.org&utm_medium=referral&utm_campaign=changelog)! 🎉

This experimental nightly release of dune includes a lot of improvements, including the much expected package management features, and it can be installed from that website or by using the new installation script:

```bash
$ curl -fsSL https://get.dune.build/install | bash

Check failure on line 13 in data/changelog/posts/dune-developer-preview/2024-09-25-call-for-feedback.md

View workflow job for this annotation

GitHub Actions / lint

Dollar signs used before commands without showing output

data/changelog/posts/dune-developer-preview/2024-09-25-call-for-feedback.md:13:1 MD014/commands-show-output Dollar signs used before commands without showing output [Context: "$ curl -fsSL https://get.dune...."] https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md014.md
```

In a few seconds you should be ready to OCaml by calling `dune`:
Expand All @@ -19,10 +19,10 @@

You can also watch and share this demo on [X](https://x.com/leostera/status/1838969568795979922) and [Mastodon](https://mas.to/deck/@leostera/113198996085937679).


Check failure on line 22 in data/changelog/posts/dune-developer-preview/2024-09-25-call-for-feedback.md

View workflow job for this annotation

GitHub Actions / lint

Multiple consecutive blank lines

data/changelog/posts/dune-developer-preview/2024-09-25-call-for-feedback.md:22 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2] https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md012.md
Please try it out and let us know what you think 🙏

Check failure on line 23 in data/changelog/posts/dune-developer-preview/2024-09-25-call-for-feedback.md

View workflow job for this annotation

GitHub Actions / lint

Trailing spaces

data/changelog/posts/dune-developer-preview/2024-09-25-call-for-feedback.md:23:52 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1] https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md009.md

📅 You can book a feedback call with us [here](https://calendar.google.com/calendar/u/0/appointments/schedules/AcZssZ3HaJbskiCLHqLS6Oi1S3-rWYwv0hb_Iz8O9VlspuDdK5qbXYUZDpRRlWfEY1GP8KFy6XY8MFb9)

Check failure on line 25 in data/changelog/posts/dune-developer-preview/2024-09-25-call-for-feedback.md

View workflow job for this annotation

GitHub Actions / lint

Link text should be descriptive

data/changelog/posts/dune-developer-preview/2024-09-25-call-for-feedback.md:25:42 MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"] https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md059.md

📝 You can submit feedback using [this form](https://docs.google.com/forms/u/2/d/e/1FAIpQLSda-mOTHIdATTt_e9dFmNgUCy-fD55Qzr3bGGsxpfY_Ecfyxw/viewform?usp=send_form)

Expand All @@ -38,7 +38,7 @@

* Call `dune fmt` to get your project formatted – remember to add an `.ocamlformat` file if you don't have one yet. An empty one is enough.

* Call `dune ocaml doc` to get documentation built

Check failure on line 41 in data/changelog/posts/dune-developer-preview/2024-09-25-call-for-feedback.md

View workflow job for this annotation

GitHub Actions / lint

Trailing spaces

data/changelog/posts/dune-developer-preview/2024-09-25-call-for-feedback.md:41:51 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1] https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md009.md

### What's next?

Expand All @@ -53,12 +53,12 @@
* a short-hand syntax for pins on github
* and more!

If you've got any ideas, we'd love to hear them, so please open a feature request on Github 🙏

Check failure on line 56 in data/changelog/posts/dune-developer-preview/2024-09-25-call-for-feedback.md

View workflow job for this annotation

GitHub Actions / lint

Trailing spaces

data/changelog/posts/dune-developer-preview/2024-09-25-call-for-feedback.md:56:95 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1] https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md009.md


Check failure on line 58 in data/changelog/posts/dune-developer-preview/2024-09-25-call-for-feedback.md

View workflow job for this annotation

GitHub Actions / lint

Multiple consecutive blank lines

data/changelog/posts/dune-developer-preview/2024-09-25-call-for-feedback.md:58 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2] https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md012.md
## Other updates

#### FunOCaml Presentation

Check failure on line 61 in data/changelog/posts/dune-developer-preview/2024-09-25-call-for-feedback.md

View workflow job for this annotation

GitHub Actions / lint

Headings should be surrounded by blank lines

data/changelog/posts/dune-developer-preview/2024-09-25-call-for-feedback.md:61 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "#### FunOCaml Presentation"] https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md022.md

Check failure on line 61 in data/changelog/posts/dune-developer-preview/2024-09-25-call-for-feedback.md

View workflow job for this annotation

GitHub Actions / lint

Heading levels should only increment by one level at a time

data/changelog/posts/dune-developer-preview/2024-09-25-call-for-feedback.md:61 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h3; Actual: h4] https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md001.md
At **FunOCaml** we had a last-minute opportunity to present the work being done on Dune and we used it to introduce the Developer Preview to the community, and even tested Package Management live with suggestions from the audience (thanks @anmonteiro and Paul-Elliot for participating!) – you can [watch it on Twitch](https://www.twitch.tv/videos/2252408016?t=08h12m00s).

#### New design
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ tags: [dune, developer-preview]
_Discuss this post on [Discuss](https://discuss.ocaml.org/t/shell-completions-in-dune-developer-preview/15522)!_

Support for dune shell completions for bash and zsh has just landed in the
[Dune Developer Preview](https://preview.dune.build/)!
[Dune Developer Preview](https://preview.dune.build?utm_source=ocaml.org&utm_medium=referral&utm_campaign=changelog)!

Running the [installer](https://preview.dune.build/#download) adds a snippet to
Running the [installer](https://preview.dune.build?utm_source=ocaml.org&utm_medium=referral&utm_campaign=changelog#download) adds a snippet to
your shell config (e.g. ~/.bashrc) that installs a completion handler for `dune`.
The completion script was taken from
[here](https://github.com/gridbugs/dune-completion-scripts), and that page has
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ _Discuss this post on [Discuss](https://discuss.ocaml.org/t/installing-developer

Dune can install and run developer tools in the context of a project. This
feature is available in the [Dune Developer
Preview](https://preview.dune.build/) and in the upcoming release of Dune 3.17.
Preview](https://preview.dune.build?utm_source=ocaml.org&utm_medium=referral&utm_campaign=changelog) and in the upcoming release of Dune 3.17.
As with all of Dune's package management features, consider this feature to be unstable as
its UI and semantics may change without notice.

Expand Down Expand Up @@ -93,7 +93,7 @@ to OCaml's editor integration and it has a couple of quirks that are worth
mentioning here.

TL;DR: Install Dune with the install script on the [Developer Preview
page](https://preview.dune.build/) and you'll get an [`ocamllsp` shell
page](https://preview.dune.build?utm_source=ocaml.org&utm_medium=referral&utm_campaign=changelog) and you'll get an [`ocamllsp` shell
script](https://github.com/ocaml-dune/binary-distribution/blob/main/tool-wrappers/ocamllsp)
that will install and run the correct version of `ocamllsp` for your project.

Expand Down Expand Up @@ -184,7 +184,7 @@ if it doesn't detect a Dune lockdir so the same script should work for non-Dune
projects. Because the script is named the same as the `ocamllsp` executable,
most editors don't require special configuration to run it. See the "Editor
Configuration" section of the [Dune Developer
Preview page](https://preview.dune.build/) for more information about setting up
Preview page](https://preview.dune.build?utm_source=ocaml.org&utm_medium=referral&utm_campaign=changelog) for more information about setting up
your editor.


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ tags: [dune, developer-preview]
_Discuss this post on [Discuss](https://discuss.ocaml.org/t/portable-lock-directories-for-dune-package-management/16669)!_

We've recently made a change to how lock directories work in the [Dune Developer
Preview](https://preview.dune.build/).
Preview](https://preview.dune.build?utm_source=ocaml.org&utm_medium=referral&utm_campaign=changelog).

Previously when Dune would solve dependencies for a project and generate a lock
directory, the lock directory would be specialized for the computer where it was
Expand Down Expand Up @@ -125,7 +125,7 @@ filename.
## How do I get it?

This feature is live in the latest version of the [Dune Developer
Preview](https://preview.dune.build/). Follow the instructions on that page to
Preview](https://preview.dune.build?utm_source=ocaml.org&utm_medium=referral&utm_campaign=changelog). Follow the instructions on that page to
install a version of Dune with this feature. With portable lock directories
enabled, Dune will temporarily remain backwards compatible with the original
lock directory format, though support will likely be dropped at some point.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ projects or their dependencies. Currently this information is not portable
because Dune only stores the names of system packages within the package
repository on the machine where the lock directory is generated. We've recently
changed how Dune stores the names of system packages in the [Dune Developer
Preview](https://preview.dune.build/) so that the names of packages in all
Preview](https://preview.dune.build?utm_source=ocaml.org&utm_medium=referral&utm_campaign=changelog) so that the names of packages in all
known package repositories are stored. This allows a lock directory generated
on one machine to be used on a different machine.

Expand Down Expand Up @@ -231,4 +231,4 @@ be computed on demand rather than just at solve time.
This bring us a step closer to a world where Dune users can check their lock
directories into version control with confidence that their builds are
reproducible across different platforms. To try out the latest version of the
Dune Developer Preview, go to [preview.dune.build](https://preview.dune.build/).
Dune Developer Preview, go to [preview.dune.build](https://preview.dune.build?utm_source=ocaml.org&utm_medium=referral&utm_campaign=changelog).
2 changes: 1 addition & 1 deletion data/news/platform/platform-2024-12.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Recent updates across the platform focus on performance and reliability. Dune op

[Dune 3.17 was released](https://discuss.ocaml.org/t/ann-dune-3-17/15770) with significant improvements to package management. Key features include binary distribution support, better error messages for missing packages, and Windows support without requiring OPAM.

The [Dune Developer Preview website](https://preview.dune.build) now provides editor setup instructions and package management tutorials.
The [Dune Developer Preview website](https://preview.dune.build?utm_source=ocaml.org&utm_medium=referral&utm_campaign=news) now provides editor setup instructions and package management tutorials.

Dune's package management features [were tested across hundreds of packages](https://dune.check.ci.dev/) in the opam repository, and a coverage tool was developed to track build success rates. For local development, Dune added support for building dependencies via `@pkg-install`, caching for package builds, and automated binary builds of development tools. The system supports both monorepo and polyrepo workflows, with options for installing individual dependencies or complete development environments.

Expand Down
2 changes: 1 addition & 1 deletion data/news/platform/platform-2025-04.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Technical barriers have been and are being systematically addressed, e.g. improv

### **Dune Developer Preview**

[Dune Developer Preview](https://preview.dune.build/) is an experimental channel that introduces cutting-edge features to streamline OCaml development workflows. Building upon Dune's foundation as OCaml's official build system, this initiative allows us to iterate quickly on ideas and experiment with improving the developer experience and with experimental features. For example, one feature that came out of Dune Developer Preview and made it into the upstream codebase is package management: by enabling Dune to deal with project dependencies, we eliminate the need to juggle multiple tools.
[Dune Developer Preview](https://preview.dune.build?utm_source=ocaml.org&utm_medium=referral&utm_campaign=news) is an experimental channel that introduces cutting-edge features to streamline OCaml development workflows. Building upon Dune's foundation as OCaml's official build system, this initiative allows us to iterate quickly on ideas and experiment with improving the developer experience and with experimental features. For example, one feature that came out of Dune Developer Preview and made it into the upstream codebase is package management: by enabling Dune to deal with project dependencies, we eliminate the need to juggle multiple tools.

The tooling includes built-in LSP support, formatting capabilities, and a shared cache that dramatically improves build performance. Early adopters are encouraged to [provide feedback](https://docs.google.com/forms/u/2/d/e/1FAIpQLSda-mOTHIdATTt_e9dFmNgUCy-fD55Qzr3bGGsxpfY_Ecfyxw/viewform?usp=send_form) as these experimental features mature toward stable releases.

Expand Down
Loading