Releases: asciidoctor/asciidoctor.js
v2.2.7
Summary
This release is based on Asciidoctor 2.0.22 and Opal 0.11.99.dev (31d26d69).
Release meta
Released on: 2024-03-17
Released by: @ggrossetie
Published by: GitHub Actions
Logs: full diff
What's Changed
- Build against Asciidoctor 2.0.22 by @ggrossetie in #1725
v3.0.4
Summary
This release is based on Asciidoctor 2.0.20 and Opal 1.7.3 and fixes a regression introduced in 3.0.3.
Release meta
Released on: 2024-02-12
Released by: @ggrossetie
Published by: GitHub Actions
Logs: full diff
Changelog
Bug Fixes
- Default condition should be last one in conditional exports otherwise the following error is thrown: "Module not found: Error: Default condition should be last one" (#1722) - thanks @roseckyj & @korva
Infrastructure
- Update development dependencies
New Contributors
Full Changelog: v3.0.3...v3.0.4
v3.0.3
Summary
This release is based on Asciidoctor 2.0.20 and Opal 1.7.3.
Release meta
Released on: 2024-01-13
Released by: @ggrossetie
Published by: GitHub Actions
Logs: full diff
Changelog
Bug Fixes
- Fix types exports in
package.json
- thanks @sinedied - Addd
context
andnode_name
accessor in the type definition - thanks @RayOffiah
Infrastructure
- Update development dependencies
New Contributors
- @RayOffiah made their first contribution in #1718
- @sinedied made their first contribution in #1715
Full Changelog: v3.0.2...v3.0.3
v3.0.2
Summary
This release is based on Asciidoctor 2.0.20 and Opal 1.7.3.
Release meta
Released on: 2023-06-24
Released by: @ggrossetie
Published by: GitHub Actions
Logs: full diff
Changelog
Breaking Changes
-
Remove
Asciidoctor
namespace in TypeScript:import asciidoctor, { Document } from '@asciidoctor/core' const Asciidoctor = asciidoctor() Asciidoctor.convert('Hello _world_')
-
Publish
@asciidoctor/core
as an ES6 module
Bug Fixes
- Strip alternate BOM that uses char code 65279 when input passes through a Buffer (#1344)
- Map
Document.append
(#1681) - Bridge converter pass as option (#1666)
- Add
getSectionNumeral()
function by @benjaminleonard (#1659) - Fix
getDocinfo
andfindBy
type definition (#1621) - Bridge common Ruby object methods (#1491)
parseContent
now callstoHash
on attrs (#1519)
Improvements
-
Map
this.super.<method>
to call the parent function (#1682) -
Map
AbstractBlock.getContentModel
andAbstractBlock.setContentModel
(#1680) -
Map
Document.getSyntaxHighlighter
(#1667) -
Map
CompositeConverter#convert
(#1649) -
Simplify table option checks by @mojavelinux (#1656)
-
Support Stream.Writable as
to_file
(#1624)const data = [] const writableStream = new Writable({ write (chunk, encoding, callback) { data.push(chunk.toString()) callback() } }) const doc = Asciidoctor.convert(text, { to_file: writableStream, safe: safe }) const html = data.join('')
Infrastructure
- Upgrade GraalVM to 20.1.0 (#1035)
Documentation
- Improve contributing guide by @cunka (#1676)
- Remove call to
convert()
on return value of process method for inline macro extension by @mojavelinux (#1653)
New Contributors
- @djencks made their first contribution in #978
- @bitPogo made their first contribution in #1083
- @cm-wada-yusuke made their first contribution in #1176
- @abelsromero made their first contribution in #1290
- @benjaminleonard made their first contribution in #1659
- @cunka made their first contribution in #1676
v3.0.0-rc.2
3.0.0-rc.2
v3.0.0-rc.1
3.0.0-rc.1
v3.0.0-alpha.4
Summary
Same as https://github.com/asciidoctor/asciidoctor.js/releases/tag/v3.0.0-alpha.3, tweak a few things regarding the release/publish process.
v3.0.0-alpha.3
v2.2.6
Summary
This release is based on Asciidoctor 2.0.17 and Opal 0.11.99.dev (31d26d69).
Release meta
Released on: 2022-01-21
Released by: @Mogztter
Published by: GitHub Actions
Logs: full diff
📖 API documentation
📚 User Manual
Changelog
Bug Fixes
- Fix global variable leak by @mojavelinux in #1494 (backport)
- Bridge common Ruby object methods by @Mogztter in #1550
Improvements
- Build against the latest release of Asciidoctor 2.0.16
Infrastructure
- Build against Asciidoctor 2.0.17 by @Mogztter in #1540
- Upgrade development dependencies by @Mogztter in #1549
- Retrieve upstream from main branch by @mojavelinux in #1495
Documentation
- Fix 404 links to the GraalVM docs by @StarfallProjects in #1413
- Rename "JSDoc" to "API Reference" and add link to extension API reference by @hqurve in #1447
- Update HTML5Converter instantiation method in docs by @danyill in #1437
New Contributors
v2.2.5
Summary
This release is based on Asciidoctor 2.0.16 and Opal 0.11.99.dev (31d26d69).
An internal change was made to how lines are iterated by the reader (switching from a stack to a queue), which will substantially improve the performance when processing large files.
Please note that this change should be seamless unless you were accessing the lines property on the reader directly.
Release meta
Released on: 2021-08-08
Released by: @Mogztter
Published by: GitHub Actions
Logs: full diff
📖 API documentation
📚 User Manual
Changelog
Bug Fixes
- Invoke
LoggerManager#setLogger
setter - thanks @mojavelinux (#1322) - Strip alternate BOM that uses char code 65279 when input passes through a Buffer - thanks @mojavelinux (#1344)
- Properly cache the helpers file in the template converter - thanks @yGuy (#1373)
Improvements
- Build against the latest release of Asciidoctor 2.0.16
Infrastructure
- Run
npm audit fix