asciidoctor / docker-asciidoctor

:ship: A Docker image for using the Asciidoctor toolchain to process AsciiDoc content
https://hub.docker.com/r/asciidoctor/docker-asciidoctor/
Other
321 stars 151 forks source link

Bump Asciidoctor-Epub3 version to 2.0.1 #409

Closed asciidoctor-updateclibot[bot] closed 6 months ago

asciidoctor-updateclibot[bot] commented 6 months ago

Bump Asciidoctor-Epub3 version

Update the key ASCIIDOCTOR_EPUB3_VERSION in the test harness

1 file(s) updated with "ASCIIDOCTOR_EPUB3_VERSION=2.0.0": * tests/asciidoctor.bats

2.0.0
Release published on the 2024-01-12 08:12:56 +0000 UTC at the url https://github.com/asciidoctor/asciidoctor-epub3/releases/tag/v2.0.0

## Summary

This initial 2.x.x release of Asciidoctor EPUB3 drops support for pre-2.0 Asciidoctor and bumps minimal required Ruby version to 2.6. Also, there are various bugfixes and improvements to produced output files.

## Distribution

- [RubyGem (asciidoctor-epub3)](https://rubygems.org/gems/asciidoctor-epub3)

## Changelog

* fix handling of chapters with Unicode titles for Mobi (#417)
* add XML declarations to XHTML files (#424 by @abbrev)
* bump the oldest supported Ruby to 2.6
* bump the oldest supported Asciidoctor to 2.0
* escape double quotes in alt text (#443)
* refactor `btn` styling to be more customizable (#450)
* fix duplicate HTML IDs in case the same footnote is used multiple times (#447)
* add initial support for `:pygments-linenums-mode: inline` (#451)
* line numbers are no longer selected when copying text from code snippets (#422)
* compress CSS to reduce its size
* preserve roles of admonition blocks (#420)
* use prose font for verse blocks (#394)
* add support for absolute cover image path (#419)
* add support for floating blocks (#405)
* fix `<hN>` tags for chapters (#388)

## Release meta

Released on: 2024-01-12
Released by: @slonopotamus

Logs: [resolved issues](https://github.com/asciidoctor/asciidoctor-epub3/issues?q=milestone%3Av2.0.0) | [full diff](https://github.com/asciidoctor/asciidoctor-epub3/compare/v1.5.1...v2.0.0)
2.0.1
Release published on the 2024-01-13 15:56:42 +0000 UTC at the url https://github.com/asciidoctor/asciidoctor-epub3/releases/tag/v2.0.1

## Summary

This release is a quick fix for 2.x.x series. It restores visual style for bold and italic text.

## Distribution

- [RubyGem (asciidoctor-epub3)](https://rubygems.org/gems/asciidoctor-epub3)

## Changelog

* restore styling of `<strong>` and `<em>` (#461)

## Release meta

Released on: 2024-01-13
Released by: @slonopotamus

Logs: [resolved issues](https://github.com/asciidoctor/asciidoctor-epub3/issues?q=milestone%3Av2.0.1) | [full diff](https://github.com/asciidoctor/asciidoctor-epub3/compare/v2.0.0...v2.0.1)
Update the key ASCIIDOCTOR_EPUB3_VERSION in the README.adoc file

1 file(s) updated with ":ASCIIDOCTOR_EPUB3_VERSION: 2.0.0": * README.adoc

2.0.0
Release published on the 2024-01-12 08:12:56 +0000 UTC at the url https://github.com/asciidoctor/asciidoctor-epub3/releases/tag/v2.0.0

## Summary

This initial 2.x.x release of Asciidoctor EPUB3 drops support for pre-2.0 Asciidoctor and bumps minimal required Ruby version to 2.6. Also, there are various bugfixes and improvements to produced output files.

## Distribution

- [RubyGem (asciidoctor-epub3)](https://rubygems.org/gems/asciidoctor-epub3)

## Changelog

* fix handling of chapters with Unicode titles for Mobi (#417)
* add XML declarations to XHTML files (#424 by @abbrev)
* bump the oldest supported Ruby to 2.6
* bump the oldest supported Asciidoctor to 2.0
* escape double quotes in alt text (#443)
* refactor `btn` styling to be more customizable (#450)
* fix duplicate HTML IDs in case the same footnote is used multiple times (#447)
* add initial support for `:pygments-linenums-mode: inline` (#451)
* line numbers are no longer selected when copying text from code snippets (#422)
* compress CSS to reduce its size
* preserve roles of admonition blocks (#420)
* use prose font for verse blocks (#394)
* add support for absolute cover image path (#419)
* add support for floating blocks (#405)
* fix `<hN>` tags for chapters (#388)

## Release meta

Released on: 2024-01-12
Released by: @slonopotamus

Logs: [resolved issues](https://github.com/asciidoctor/asciidoctor-epub3/issues?q=milestone%3Av2.0.0) | [full diff](https://github.com/asciidoctor/asciidoctor-epub3/compare/v1.5.1...v2.0.0)
2.0.1
Release published on the 2024-01-13 15:56:42 +0000 UTC at the url https://github.com/asciidoctor/asciidoctor-epub3/releases/tag/v2.0.1

## Summary

This release is a quick fix for 2.x.x series. It restores visual style for bold and italic text.

## Distribution

- [RubyGem (asciidoctor-epub3)](https://rubygems.org/gems/asciidoctor-epub3)

## Changelog

* restore styling of `<strong>` and `<em>` (#461)

## Release meta

Released on: 2024-01-13
Released by: @slonopotamus

Logs: [resolved issues](https://github.com/asciidoctor/asciidoctor-epub3/issues?q=milestone%3Av2.0.1) | [full diff](https://github.com/asciidoctor/asciidoctor-epub3/compare/v2.0.0...v2.0.1)
Update the value of ARG asciidoctor_epub3_version in the Dockerfile

changed lines [86] of file "/tmp/updatecli/github/asciidoctor/docker-asciidoctor/Dockerfile"

2.0.0
Release published on the 2024-01-12 08:12:56 +0000 UTC at the url https://github.com/asciidoctor/asciidoctor-epub3/releases/tag/v2.0.0

## Summary

This initial 2.x.x release of Asciidoctor EPUB3 drops support for pre-2.0 Asciidoctor and bumps minimal required Ruby version to 2.6. Also, there are various bugfixes and improvements to produced output files.

## Distribution

- [RubyGem (asciidoctor-epub3)](https://rubygems.org/gems/asciidoctor-epub3)

## Changelog

* fix handling of chapters with Unicode titles for Mobi (#417)
* add XML declarations to XHTML files (#424 by @abbrev)
* bump the oldest supported Ruby to 2.6
* bump the oldest supported Asciidoctor to 2.0
* escape double quotes in alt text (#443)
* refactor `btn` styling to be more customizable (#450)
* fix duplicate HTML IDs in case the same footnote is used multiple times (#447)
* add initial support for `:pygments-linenums-mode: inline` (#451)
* line numbers are no longer selected when copying text from code snippets (#422)
* compress CSS to reduce its size
* preserve roles of admonition blocks (#420)
* use prose font for verse blocks (#394)
* add support for absolute cover image path (#419)
* add support for floating blocks (#405)
* fix `<hN>` tags for chapters (#388)

## Release meta

Released on: 2024-01-12
Released by: @slonopotamus

Logs: [resolved issues](https://github.com/asciidoctor/asciidoctor-epub3/issues?q=milestone%3Av2.0.0) | [full diff](https://github.com/asciidoctor/asciidoctor-epub3/compare/v1.5.1...v2.0.0)
2.0.1
Release published on the 2024-01-13 15:56:42 +0000 UTC at the url https://github.com/asciidoctor/asciidoctor-epub3/releases/tag/v2.0.1

## Summary

This release is a quick fix for 2.x.x series. It restores visual style for bold and italic text.

## Distribution

- [RubyGem (asciidoctor-epub3)](https://rubygems.org/gems/asciidoctor-epub3)

## Changelog

* restore styling of `<strong>` and `<em>` (#461)

## Release meta

Released on: 2024-01-13
Released by: @slonopotamus

Logs: [resolved issues](https://github.com/asciidoctor/asciidoctor-epub3/issues?q=milestone%3Av2.0.1) | [full diff](https://github.com/asciidoctor/asciidoctor-epub3/compare/v2.0.0...v2.0.1)
GitHub Action workflow link

Updatecli logo

Created automatically by Updatecli

Options:

Most of Updatecli configuration is done via its manifest(s).

  • If you close this pull request, Updatecli will automatically reopen it, the next time it runs.
  • If you close this pull request and delete the base branch, Updatecli will automatically recreate it, erasing all previous commits made.

Feel free to report any issues at github.com/updatecli/updatecli.
If you find this tool useful, do not hesitate to star our GitHub repository as a sign of appreciation, and/or to tell us directly on our chat!

slonopotamus commented 6 months ago

Better skip 2.0.0, there's 2.0.1 out already with important regression bugfix.

slonopotamus commented 6 months ago

See #410 instead

slonopotamus commented 6 months ago

Whoops, it looks like we were working simultaneously on fixing this...

dduportal commented 6 months ago

Whoops, it looks like we were working simultaneously on fixing this...

ah ah ;)

Many many thanks for your help and your PR!

I hesitated to install missing linux-headers but went full "add native alpine ffi" package. There is a tradeoff between faster build (with native ruby-ffi package) and additional size of the resulting image (as ffi might not fully be required).

What are your thoughts?

slonopotamus commented 6 months ago

I don't have strong opinion here, I am not a real Ruby dev :D Do whatever you feel more appropriate.

I dunno, maybe asciidoctor-epub3 itself was supposed to have dependency on ruby-ffi... Well, no. We have a transitive dependency on ffi and that is supposed to bring in whatever it needs.

I'm surprised that linux-headers is now a dependency at all, will try to get rid of it in the future.

dduportal commented 6 months ago

I don't have strong opinion here, I am not a real Ruby dev :D Do whatever you feel more appropriate. I dunno, maybe asciidoctor-epub3 itself was supposed to have dependency on ruby-fi...

I'm surprised that linux-headers is now a dependency at all, will try to get rid of it in the future.

Thanks for your answer!

linux-dependency is only a dependency to allow ruby to build ffi during the installation process of asciidoctor-epub3. But it looks like installing ruby-ffi native package allow to avoid this requirement.

dduportal commented 6 months ago

I'll proceed to merge this PR. If it does not feel right, no problem to revert and reopen #410 .

Many thanks for the help @slonopotamus!

dduportal commented 6 months ago

@slonopotamus I tried to make you a co-author of this PR, but did not work. I'll add you in the changelog though. Thanks for the help!