typelevel / Laika

Site and E-book Generator and Customizable Text Markup Transformer for sbt, Scala and Scala.js
https://typelevel.org/Laika/
Apache License 2.0
408 stars 44 forks source link

new package structure for version 1.x #533

Closed jenshalm closed 11 months ago

jenshalm commented 11 months ago

This PR nearly concludes the work on version 1.0 (there will be one more PR with some trivial renaming).

A new package structure became necessary for two reasons: First, the public API surface has been reduced to about 3 quarters of what it was in 0.19, leaving behind some skeleton packages, and second, the API has grown over 11 years in a way that too many things became weirdly scattered over time.

This description will focus on laika-core as the other modules are barely affected (they all have new .internal sub-packages, but only package-private types have moved there, meaning users of the API are not affected).

laika-core packages for 1.x

The number of public top-level packages has been reduced from 14 to 5: