Skip to content

Conversation

xvw
Copy link
Contributor

@xvw xvw commented Sep 18, 2025

Core engine of the YOCaml Static Site Generator

CHANGES:

Yocaml

  • Add Pipeline.read_template to have a better fit with Applicative API (by gr-im
  • Fix table of content order for deeply nested elements (by gr-im
  • Add a Applicative Helpers for Archetypes (by gr-im
  • Improve Archetype.Articles.fetch (by xhtmlboi)
  • Add Pipeline.fetch and Pipeline.fetch_some (by gr-im
  • Add a new effect to define if a Path is a file (in order to disambiguate file and path for Yocaml_git) (by xvw)

Yocaml_jingoo

  • Add read_template to have a better fit with Applicative API (by gr-im
  • Add read_templates to have a better fit with Applicative API when chaining templates (by gr-im

Yocaml_mustache

  • Add read_template to have a better fit with Applicative API (by gr-im
  • Add read_templates to have a better fit with Applicative API when chaining templates (by gr-im

Yocaml_unix

  • Adapt runtime to is_file (by xvw)

Yocaml_eio

  • Adapt runtime to is_file (by xvw)

Yocaml_git

  • Adapt runtime to is_file (by xvw)

CHANGES:

#### Yocaml

- Add `Pipeline.read_template` to have a better fit with Applicative API (by [gr-im](https://github.com/gr-im)
- Fix table of content order for deeply nested elements (by [gr-im](https://github.com/gr-im)
- Add a Applicative Helpers for Archetypes (by [gr-im](https://github.com/gr-im)
- Improve `Archetype.Articles.fetch` (by [xhtmlboi](https://github.com/xhtmlboi))
- Add `Pipeline.fetch` and `Pipeline.fetch_some` (by [gr-im](https://github.com/gr-im)
- Add a new effect to define if a Path is a file (in order to disambiguate file and path for `Yocaml_git`) (by [xvw](https://xvw.lol))

#### Yocaml_jingoo

- Add `read_template` to have a better fit with Applicative API (by [gr-im](https://github.com/gr-im)
- Add `read_templates` to have a better fit with Applicative API when chaining templates (by [gr-im](https://github.com/gr-im)

#### Yocaml_mustache

- Add `read_template` to have a better fit with Applicative API (by [gr-im](https://github.com/gr-im)
- Add `read_templates` to have a better fit with Applicative API when chaining templates (by [gr-im](https://github.com/gr-im)

#### Yocaml_unix

- Adapt runtime to `is_file` (by [xvw](https://xvw.lol))

#### Yocaml_eio

- Adapt runtime to `is_file` (by [xvw](https://xvw.lol))

#### Yocaml_git

- Adapt runtime to `is_file` (by [xvw](https://xvw.lol))
Copy link
Member

@jmid jmid left a comment

Choose a reason for hiding this comment

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

The opam files LGTM!

CI is failing

  • a bunch of conf-gmp.1 lower bounds checks - fixed in #28540
  • a bunch of opam-2.0 runs (which can be ignored)
  • while compiling git-net.0.2.0 on x86_32-ocaml-5.3
  • on Windows while installing mingw-w64-shims.0.2.0
  • on Windows while installing conf-oniguruma (currently not supported on Windows)

None of these are caused by the PR's packages, so CI also LGTM.

Would you consider adding x-maintenance-intent entries for the packages?
https://github.com/ocaml/opam-repository/blob/master/governance/policies/archiving.md

@jmid jmid added the question label Sep 19, 2025
@xvw
Copy link
Contributor Author

xvw commented Sep 19, 2025

Thanks a lot for your review!
Yes, for x-maintenance-intent we have to discuss it (about the range that we want to cover). Should be present in the next YOCaml release!

@dinosaure
Copy link
Contributor

Thanks!

@dinosaure dinosaure merged commit d8b0059 into ocaml:master Sep 19, 2025
1 of 3 checks passed
@xvw xvw deleted the release-yocaml-v2.5.0 branch September 19, 2025 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants