Skip to content
Code on GitHub (opens in a new tab)

← All the news

Ehundu 1.0.0

The first stable release. 1.0 changes nothing Ehundu already did: it is 0.16 plus three small decisions (149 to 151, below), with the contract no longer a draft. From this version on, docs/formato.md (opens in a new tab) is a promise, and within major version 1 it only grows. Three things are promised: the project format (declared with formato: 1 in sitio.yml; its schema for editors is in docs/esquema.md (opens in a new tab)), the ehundu console command, and the short part of the PHP library listed in docs/biblioteca.md (opens in a new tab). Everything else is internal and may change in any release. Removing something or changing what it means takes a new major version, and what is about to stop working is announced for at least one minor version first (§12, rule 5). The documentation is in Spanish, like the format.

Since 0.16. publicarHasta, a new reserved field that withdraws a page after a given day: it is published until the end of that date and gone at the next midnight in the site's time zone. It pairs with publicar and covers collections, the sitemap, the feed, translations and the incremental and batch builds. A feed's titulo can be a text per language. The contract now states that sí and no are true and false only in reserved fields; in a field of your own they reach the template as the text YAML reads. The repository gains CONTRIBUTING.md and a code of conduct.

Upgrading from 0.16. The output of twenty-five of the twenty-six test sites is identical file by file between 0.16.0 and this release (PDFs byte by byte), so there is nothing to republish. The exception is Ehundu's own website, and only its two feed.xml files: it declares a feed title per language, which 0.16 ignored and this release honours. Two things may show: a site that already used publicarHasta as a field of its own will see that page withdrawn once the date passes, because the name now belongs to the engine; and a feed titulo that is not a text (a number, a list) used to be ignored silently and now raises a warning.

What 1.0 is not. It does not bring what §13 of the contract still lists as not done yet: a component catalogue, style tokens, generating image sizes, processors over the generated HTML, steps after the build, and search. Those can arrive within version 1 if they are additive. The one thing that stays closed is rule 4: the engine does not run code that belongs to the site.

This version on GitHub (opens in a new tab), with the ehundu.phar.