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

(v2.5.x) Fix antora metadata #1223

Merged

Conversation

abelsromero
Copy link
Member

Kind of change

  • Bug fix
  • New non-breaking feature
  • New breaking feature
  • Documentation update
  • Build improvement

Description

What is the goal of this pull request?
Update Antora metadata for branch v2.5.x

How does it achieve that?
Simply update antora.yml file.

Are there any alternative ways to implement this?
No

Are there any implications of this pull request? Anything a user must know?
No

Issue

If this PR fixes an open issue, please add a line of the form:

No issue.

Release notes

Please add a corresponding entry to the file CHANGELOG.adoc.
I don't think it makes sense, this metadata will be updated in the docs as soon as they are updated (nightly iirc).
It's not something that depends on a release.

@abelsromero abelsromero force-pushed the fix-antora-metadata-v2.5.x branch 2 times, most recently from 0d11369 to a5985bb Compare June 18, 2023 20:08
docs/antora.yml Outdated
asciidoctorj-epub3-version: 1.5.1
asciidoctorj-pdf-version: 1.6.2
asciidoctorj-pdf-version: 2.3.6
Copy link
Member

Choose a reason for hiding this comment

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

We currently don't include asciidoctorj-pdf 2.x.x in the asciidoctorj 2.5.x distribution since this should be a major breaking change (at least according to semver rules).
Should we instead keep the last 1.x version here and reference 2.3.6 in the docs for asciidoctorj 3.x?

Copy link
Member Author

Choose a reason for hiding this comment

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

This is more of a compatibility matrix to me, and since I have been using them in the maven-examples without issues I assumed the latest of both "j" and "j-pdf" were fine together.
I personally don't see a problem with that. If anything, we should add an/multiple pdf integration test to make sure the versions are compatible.

Copy link
Member Author

Choose a reason for hiding this comment

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

pdf integration test

If we decide on that, I am definitely going to ask for a dependant to manage the version. We'll get an automatic PC that will test the compatibility as soon as j-pdf is out.

Copy link
Member

Choose a reason for hiding this comment

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

Then we should likely also add asciidoctorj-pdf 2.3.6 to the distribution 2.5.x, right?
I am a bit hesitant to pull in a major version change in a bugfix release.

Copy link
Member

Choose a reason for hiding this comment

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

Generally, testing the compatibility can be quite difficult, to me it means more than the API compiles, and writing integration tests that cover every possible use case can be challenging.
I'd like to use whatever the dependency claims through semantic versioning, if it claims to have a major breaking change, we should also only expose it in a major release.
I think that is also the way that other libraries like Spring Boot follow.

@abelsromero abelsromero force-pushed the fix-antora-metadata-v2.5.x branch from a5985bb to 1bb32e0 Compare June 22, 2023 18:12
@robertpanzer robertpanzer merged commit 4cc2e9b into asciidoctor:v2.5.x Jun 23, 2023
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.

2 participants