Skip to content

Modernized namespaces line (Eliom.Xxx, Os.Xxx, Ot.Xxx) - #10

Draft
balat wants to merge 9 commits into
masterfrom
modernize
Draft

Modernized namespaces line (Eliom.Xxx, Os.Xxx, Ot.Xxx)#10
balat wants to merge 9 commits into
masterfrom
modernize

Conversation

@balat

@balat balat commented Jul 17, 2026

Copy link
Copy Markdown
Member

Tracking PR for the modernized line of the template: wrapped module names (Eliom.Xxx, Os.Xxx, Ot.Xxx, Ocsigen.Server), ocsigen-i18n --eliom, Eliom.App.run, etc.

This branch corresponds to the modernize/deriving branches of eliom, ocsigen-start, ocsigen-toolkit and ocsigenserver. Do not merge until that stack is released; master stays on the non-modernized line matching the master branches.

Note: master received the client PPX order fix (#8) after the split; merging master into this branch (or cherry-picking) will bring it here. The deriving work on top of this line is tracked separately in #5.

balat and others added 9 commits July 17, 2026 16:35
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Eliom_service -> Eliom.Service, etc.
- Os_session -> Os.Session, etc.
- Fix icons with named ICON_HTML signature
- Use Eliom.Eliom_common for scopes (not yet renamed)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…rule

Eliom_react was not renamed (conflict with react package).
The sed pipe for deriving json is no longer needed since ocsigen-i18n
now generates [@@deriving json] directly.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace the backward-compatible wrapper command with the canonical
ocsigen-i18n --eliom invocation.
Ocsigen_extensions -> Ocsigen.Extensions
Ocsigen_config -> Ocsigen.Config
Ocsigen_server -> Ocsigen.Server
Replace client-side Ocsigen_config shim with local debugmode function.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replaces the local ad-hoc ICON_HTML signature workaround with the
shared signature now exposed by Eliom for [F] and [D]. Same goal
(avoid the [module type of Eliom.Content.Html.F] strengthening bug
in wrapped libraries), but with no local boilerplate.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.

1 participant