Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge features from 0.19.4 for 1.x - minus all deprecations #522

Merged
merged 53 commits into from
Sep 7, 2023

Conversation

jenshalm
Copy link
Contributor

@jenshalm jenshalm commented Sep 7, 2023

Merges all new features introduced in 0.19.4, including mermaid support and AST rendering in the preview server.

Breaking Changes

The old default of using a global search path for automatically linking all CSS and JS files from the input sources is no longer active. Users need to explicitly configure at least one search path (via .site.internalCSS or .site.internalJS) for a resource scan to happen.

The old behaviour was often unexpected (and users had to search for ways to disable it) and also came with the risk of overlapping search paths where a theme or extension adds their own resources. The new API allows more control in general (e.g. setting a condition per document for whether resources are linked or not).

More details in #511.

This PR prepares the 1.0.0-M4 release which will be the final milestone roughly in sync with the 0.19 code base.

jenshalm and others added 30 commits July 5, 2023 10:16
…ts (#456)

* render class attribute as render hint for top navigation bar
* render class attribute as render hint for landing page
  based on approximate perceptual luminance of configured gradient colors
* amend Helium CSS variable generator to produce new scoped mappings
* adjust Helium CSS for new CSS variable mappings
* fix css for ui-components on landing page
* adjust transparent overlay for inverted color mode
* hover for landing page button that works in all modes
* satisfy mima with default impl
Co-authored-by: typelevel-steward[bot] <106827141+typelevel-steward[bot]@users.noreply.github.com>
Co-authored-by: typelevel-steward[bot] <106827141+typelevel-steward[bot]@users.noreply.github.com>
Co-authored-by: typelevel-steward[bot] <106827141+typelevel-steward[bot]@users.noreply.github.com>
* add new LinkValidation config types
* switch config default to LinkValidation.Local for core transformer
* extract DocumentTreeBuilder from parser runtime in laika-io
* DocumentTreeBuilder - scaladoc and deprecations
* DocumentTreeBuilder - add new spec that tests new API directly
Co-authored-by: typelevel-steward[bot] <106827141+typelevel-steward[bot]@users.noreply.github.com>
Co-authored-by: typelevel-steward[bot] <106827141+typelevel-steward[bot]@users.noreply.github.com>
Co-authored-by: typelevel-steward[bot] <106827141+typelevel-steward[bot]@users.noreply.github.com>
Co-authored-by: typelevel-steward[bot] <106827141+typelevel-steward[bot]@users.noreply.github.com>
Co-authored-by: typelevel-steward[bot] <106827141+typelevel-steward[bot]@users.noreply.github.com>
Co-authored-by: typelevel-steward[bot] <106827141+typelevel-steward[bot]@users.noreply.github.com>
Co-authored-by: typelevel-steward[bot] <106827141+typelevel-steward[bot]@users.noreply.github.com>
Co-authored-by: typelevel-steward[bot] <106827141+typelevel-steward[bot]@users.noreply.github.com>
Co-authored-by: typelevel-steward[bot] <106827141+typelevel-steward[bot]@users.noreply.github.com>
Co-authored-by: typelevel-steward[bot] <106827141+typelevel-steward[bot]@users.noreply.github.com>
Co-authored-by: typelevel-steward[bot] <106827141+typelevel-steward[bot]@users.noreply.github.com>
Co-authored-by: typelevel-steward[bot] <106827141+typelevel-steward[bot]@users.noreply.github.com>
jenshalm and others added 22 commits September 1, 2023 18:23
Co-authored-by: typelevel-steward[bot] <106827141+typelevel-steward[bot]@users.noreply.github.com>
Co-authored-by: typelevel-steward[bot] <106827141+typelevel-steward[bot]@users.noreply.github.com>
Co-authored-by: typelevel-steward[bot] <106827141+typelevel-steward[bot]@users.noreply.github.com>
Helium: new configuration options for including script or style resources.
preview server - render document AST under /ast path postfix
* link directives - properly support custom link text as documented
* address mima issues by using a new private case class instead
# Conflicts:
#	.scalafmt.conf
#	README.md
#	build.sbt
#	core/shared/src/main/scala/laika/ast/Cursor.scala
#	core/shared/src/main/scala/laika/ast/DocumentTreeBuilder.scala
#	core/shared/src/main/scala/laika/ast/documents.scala
#	core/shared/src/main/scala/laika/config/LaikaKeys.scala
#	core/shared/src/main/scala/laika/rewrite/ReferenceResolver.scala
#	core/shared/src/main/scala/laika/rewrite/link/LinkConfig.scala
#	core/shared/src/main/scala/laika/rewrite/link/LinkValidator.scala
#	core/shared/src/test/scala/laika/ast/DocumentTreeAPISpec.scala
#	core/shared/src/test/scala/laika/ast/DocumentTreeBuilderSpec.scala
#	core/shared/src/test/scala/laika/ast/sample/SampleTrees.scala
#	core/shared/src/test/scala/laika/config/ConfigCodecSpec.scala
#	core/shared/src/test/scala/laika/directive/std/HTMLHeadDirectiveSpec.scala
#	core/shared/src/test/scala/laika/directive/std/StandardDirectiveSpec.scala
#	core/shared/src/test/scala/laika/rewrite/RewriteRulesSpec.scala
#	core/shared/src/test/scala/laika/rst/std/StandardBlockDirectivesSpec.scala
#	core/shared/src/test/scala/laika/rst/std/StandardSpanDirectivesSpec.scala
#	io/src/main/scala/laika/helium/generate/CSSVarGenerator.scala
#	io/src/main/scala/laika/helium/generate/ConfigGenerator.scala
#	io/src/main/scala/laika/helium/generate/LandingPageGenerator.scala
#	io/src/main/scala/laika/io/runtime/ParserRuntime.scala
#	io/src/main/scala/laika/io/runtime/TreeResultBuilder.scala
#	io/src/test/scala/laika/helium/HeliumHTMLHeadSpec.scala
#	io/src/test/scala/laika/helium/HeliumHTMLNavSpec.scala
#	io/src/test/scala/laika/helium/HeliumLandingPageSpec.scala
#	io/src/test/scala/laika/helium/HeliumRenderOverridesSpec.scala
#	io/src/test/scala/laika/helium/HeliumSiteCSSSpec.scala
#	io/src/test/scala/laika/io/TreeParserSpec.scala
#	io/src/test/scala/laika/io/TreeRendererSpec.scala
#	project/Dependencies.scala
#	project/ManualSettings.scala
#	project/build.properties
#	project/plugins.sbt
@jenshalm jenshalm added this to the 1.0.0-M4 milestone Sep 7, 2023
@jenshalm jenshalm merged commit beb4ce6 into main Sep 7, 2023
21 checks passed
@jenshalm jenshalm deleted the merge/0.19 branch September 7, 2023 22:08
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.

2 participants