Skip to content

Latest commit

 

History

History
721 lines (444 loc) · 23.1 KB

CHANGELOG.md

File metadata and controls

721 lines (444 loc) · 23.1 KB

CHANGELOG

Unreleased

Bug fixes

  • Replace ripgrep by workspace.findFiles. ripgrep was introduced in 3.4.0 but caused too many compatibility and instability issues.

3.4.1 (2024-10-12)

Bug fixes

  • Use the rg binary from the local VS code installation

3.4.0 (2024-10-12)

Bug fixes

  • Honor xrefstyle in the preview - thanks @r0ckarong
  • Fix document to document xrefs in preview when the documents are included - thanks @birdman7260
  • Replace dynamic import (unsupported by VS code)
  • Allow spaces after table delimiter - thanks @ebousse

Improvements

  • Set intrinsic attributes docdir, docfile and docname
  • Set attributes docfilesuffix and filetype
  • Enable/disable Antora support using commands
  • Use ripgrep instead of findFiles to improve performance - thanks @alaindresse

3.3.1 (2024-06-19)

Bug fixes

  • Support antora.yml files when version is undefined or true (#871) - thanks @leonardopavanrocha @alaindresse
  • Check if WebView is disposed (before refreshing)

Improvements

  • Add activation event for .adoc files - thanks @ohhmm
  • Render Mermaid diagrams locally (i.e., without relying on Kroki) - thanks @ztuowen

3.2.3 (2024-03-26)

Bug fixes

  • Fix a regression on xref introduced in 3.2.1 by @ViToni

Infrastructure

  • Bump dependencies by @ViToni

3.2.1 (2024-03-20)

Improvements

  • Use color variable defined by theme for ToC by @ViToni in #850

Bug fixes

  • Fix non working xref in preview pane by @ViToni in #853

3.1.12 (2024-02-11)

Bug fixes

  • Only prompt to enable Antora when antora.yml is not empty (#847)
  • Consistent code completion for includes (#839)
  • Fix highlighting a footnote with id (#835)

Improvements

  • Add doc role when the asciidoc page is used in an antora context (#845)
  • Bump dependencies (#840)
  • If Antora popup is closed (no answer) ask again later (#841)
  • Improve autolink feature (#836)

3.1.10 (2023-11-25)

Bug fixes

  • Fix glob pattern while building the Antora content catalog - previously, if the documentation component was located at the root of the workspace the content catalog was empty
  • Add asciidoc.preview.style directory as a local resource roots in the WebView - hopefully loading stylesheets from outside the workspace will work again!

3.1.9 (2023-11-19)

Bug fixes

  • Fix drive letter normalization - previously, we were applying toLowerCase on the whole path causing the WebView to return 401 on resources such as images (#825)

3.1.8 (2023-11-12)

Bug fixes

  • Allow Kroki server in strict CSP defined as a preview attribute
  • Add https to style-src and script-src in strict CSP
  • Fix a typo on the message "Do you want to active Antora support?" -> "Do you want to activate Antora support?"

Improvements

  • Use a more restrictive glob search for antora.yml files
  • Use a faster implementation when suggesting to the user to activate Antora support

Infrastructure

  • Update GitHub Actions to v4 (major)

Documentation

  • Mention that :kroki-fetch-diagram is unsupported

3.1.7 (2023-11-02)

Performance

  • Replace findFiles by a recursive method that relies on workspace.fs.stat in the .asciidoctorconfig feature - should improve performance on large projects (#809)

3.1.6 (2023-10-24)

Bug fixes

  • Fix preview in the Web version (on vscode.dev)
  • Decode section titles in outline (#795)

Improvements

  • Allow Kroki server in strict CSP
  • Added German translation strings - thanks @r0ckarong
  • Support Antora resource IDs on include

Infrastructure

  • Run CI on Windows (#796)
  • Bump dependencies

3.1.5 (2023-09-17)

Improvements

  • Update asciidoctor Kroki to 0.17.0 - thanks @sixtysecrun

3.1.4 (2023-08-29)

Bug fixes

  • Fix the web bundle - the extension was no longer working on vscode.dev (#774)
  • Fix the convert and export functions to DocBook - the extension was exporting HTML instead of XML/DocBook (#775)

Improvements

  • Allow MathJax to load in strict CSP (#780)

Documentation

  • Update the bug template on GitHub to refer to extension logs (#782) - thanks @jonathan-s

3.1.3 (2023-07-21)

Bug fixes

  • Ignore Antora documentation component symlinks (#755)
  • Disable data-uri in preview (not supported) (#756)
  • Provide image completion relative to the imagesdir attribute (#759)
  • Move getContent call after generating the document header (#762)
  • Remove the imagesdir attribute from image paths when drag and dropping images in the editor (#761)

3.1.2 (2023-07-15)

Bug fixes

  • Use textDocument.lineAt to avoid issues with line separators discrepancy (#750)
  • Include .asciidoctorconfig, AsciiDoc attributes defined in the extension configuration and Antora AsciiDoc attributes in attributes completion (#754)

3.1.0 (2023-07-11)

First stable release of 3.x which includes all changes from 3.0.x.

Improvements

  • provide folding for list of sibling attributes by @apupier (#719)
  • support remote includes when exporting in PDF without additional setting configuration (#731)

Bug fixes

  • folding of several single line comments is not working for more than 2 lines (#722)
  • attribute coming from include files are missing in completion with 3.0.x (#727)

3.0.5 "pre-release" (2023-06-03)

Breaking changes

  • use vscode fs api instead of Node fs by @apupier in #669
  • pdf-themesdir is now relative to the working directory (i.e., workspace folder) not relative to the document (#703)
  • remove Asciidoctor CLI support (#539)
  • stylesdir and stylesheet attributes are now ignored in the preview. Instead, you should define asciidoc.preview.style. Please note that when exporting to HTML, stylesdir and stylesheet will be used and should be defined in an .asciidoctorconfig file.

NOTE: We strongly recommend to use .asciidoctorconfig file to define common attributes. This file will be used in the preview and when exporting to HTML and PDF (using asciidoctor-pdf).

Improvements

  • Include path to completion item for xref by @apupier in #671
  • add ability for asciidocParser to pass the krokiServerUrl by @haydencbarnes in #701
  • provide completion short hand and long hand notation with similar scope of legacy by @apupier in #668
  • append AsciiDoc attributes defined in antora.yml by @ggrossetie in #694
  • add UI message with Japanese locale by @YoshihideShirai in #689
  • support non-Git workspace by @ggrossetie in #696
  • provide completion after<<from same document by @apupier in #670

Bug fixes

  • Fix completion after xref: for old double-square bracket notation by @apupier in #667

3.0.3 "pre-release" (2022-11-17) - @ggrossetie

Bug fixes

  • declare supports_templates as attribute otherwise backendTraits overrides other values, as a result syntax highlighting wasn't working anymore! (#666)

3.0.2 "pre-release" (2022-11-15) - @ggrossetie

Improvements

  • support .asciidoctorconfig and .asciidoctorconfig.adoc by @apupier, @ggrossetie and @ahus1 (#380)
  • initial support for Antora by @marieflorescontact
  • resolve Antora resources IDs on images by @marieflorescontact in #614
  • add an option to preserve the preview window to avoid refreshing when switching away, and added setting to control this behavior by @rben01 in #607
  • simplify contributions and add editor-selection style
  • add support for custom templates by @xdavidson in #616
  • provide sorttext on include suggestions by @eiswind in #626
  • search path for included files by @eiswind in #618
  • add drop images into editor feature by @marieflorescontact in #627
  • set env attribute to vscode by @ggrossetie in #644
  • open xref from preview by @ggrossetie in #643

Bug fixes

  • fix the logic that detects if asciidoctor-pdf and/or bundler are available in the PATH
  • fix base directory when exporting to PDF on Windows (#593)
  • fix localization generation by @YoshihideShirai (#594)
  • fix Table Of Content sidebar color not aligned with the active theme by @apupier (#340)
  • fix typo Recomendations -> Recommendations in snippets by @apupier
  • fix release automation
  • fix autocompletion on files (by replacing .md by .adoc)
  • allow loading local resources from all workspace folders
  • fix extensions loading on Windows (using fsPath otherwise Node require doesn't work on Windows) #630
  • fix show preview/preview localization by @ggrossetie in #640

Infrastructure

  • improve pull request and issue templates by @ggrossetie in #633
  • add renovate config by @ggrossetie in #657

Documentation

  • fix 2 small typos in readme by @apupier in #642
  • add an introduction and a prerequisite section. by @ahus1 in #656

3.0.0 "pre-release" (2022-07-06) - @ggrossetie

Improvements

  • add Japanese localisation by @YoshihideShirai (#581)
  • register Asciidoctor.js extensions by @YoshihideShirai (#569)
  • create a complete HTML document using the WebView converter by @ggrossetie (#547)
  • add code folding based on sections by @marieflorescontact (#550)
  • add code folding on conditionals by @marieflorescontact (#555)
  • add code folding on open blocks by @marieflorescontact (#559)
  • add code folding on comment blocks by @marieflorescontact (#561)
  • add code folding on single line comment by @marieflorescontact (#565)
  • update preview icons and use codicons by @ggrossetie (#54)
  • use load instead of convert for performance by @ggrossetie (#542)
  • normalize setting names and group settings by category by @ggrossetie (#577)
  • do not offer to download an outdated version of wkhtmltopdf by @ggrossetie (#577)
  • add a new setting to add command line arguments for wkhtmltopdf by @ggrossetie (#577)
  • offer to install locally the latest version of asciidoctor-pdf by @ggrossetie (#577)

Bug fixes

  • set basebackend and outfilesuffix on the WebView converter otherwise Docinfo are not correctly included (#522)
  • activate completion only when : is at the start of the line by @ggrossetie (#529)
  • correctly pass the --footer-center option to wkthtmltopdf by @gurbindersingh (#526)
  • fix asciidoctor-pdf and wkhtmltopdf user settings by @meznom (#533)
  • set CSS variables for font size, font family and line height by @ggrossetie (#530)
  • fix format of paste image default filename by @Zhou-Yicheng (#558)
  • show source action does not open a new pane (if the source is already opened) by @marieflorescontact (#562)
  • fix for opening links to local files in preview window by @tombolano & @marieflorescontact (#572 #573)

Infrastructure

  • upgrade dependencies (#515)
  • extract the report errors logic into a dedicated function by @ggrossetie (#534)
  • extract get baseDir logic by @ggrossetie (#535)
  • remove superfluous copycss by @ggrossetie (#538)
  • unwrap convertUsingJavascript function by @ggrossetie (#537)
  • introduce a load function by @ggrossetie (#541)
  • remove slugifier (unused) from AsciidocEngine by @ggrossetie (#545)
  • introduce an export function by @ggrossetie (#546)

Documentation

  • add basic instructions on how to develop/test the extension by @danyill (#540)
  • fix manual install command in README by @marieflorescontact (#544)
  • update contributing guide by @ggrossetie (#554)

2.9.8

  • Fix regression about Docinfo files by setting basebackend and outfilesuffix (#524)
  • Upgrade dependencies (#515)
  • Fix regression about footer in the PDF export (#528)
  • Only activate completion when : is at the start of the line (#529)
  • Fix regression about reading asciidoctorpdf_command configuration (#533)
  • Fix regression about reading wkhtmltopdf_path configuration (#533)

2.9.5

  • Fix regression in the PDF export (#512)
  • Restructure the PDF export logic for testing (#512)
  • Reduce bundle size (#517)
  • Register the custom converter as webview-html5 instead of replacing the built-in one html5 (#513)

2.9.4

  • Fix regression in default preview styling (#501)
  • Upgrade Asciidoctor.js to 2.2.6 (#514)

2.9.3

  • Build the web extension when packaging (#500)

2.9.2

  • Initial work to make the extension available as a Web Extension (#473)
  • Scroll to the first line when the preview hits top (closes #348)
  • Removed a double word, add some colons for clarity, and puctuation in README.md (#483)
  • Support hyperlinks in source pane for include directive (#498)

2.8.10

  • Ensure Asciidoctor.js error reporting is displayed on Windows (closes #466)
  • Provide offline and integrated code syntax highlighting with highlight.js (closes #459)
  • Update preview on preferences change (closes #447)
  • Enforce code style (closes #446)
  • Make use_kroki setting change effective without VS code restart (closes #444)
  • Allow links to work in the preview pane (closes #435)
  • Update Asciidoctor.js to 2.2.5 (closes #431)
  • Upgrade asciidoctor-kroki to allow use of pikchr diagrams (closes #419)
  • Allow chapter to start from zero (closes #415)
  • Fix options link in README.md (closes #405)

2.8.9

  • Fix links in preview (closes #397)

2.8.8

  • updated asciidoc-kroki to 0.12.0
  • allow use of ${workspaceFolder} in attributes
  • provide import completion for include and images

2.8.7

  • update asciidoc-kroki to v0.11.0

2.8.4

  • Fix "TypeError: range must be set" when previewing (closes #364)
  • Bump lodash from 4.17.15 to 4.17.19 closes (#354)

2.8.3

  • Fix unexpected splitting multibyte chars while chunking (closes #350)
  • Fixed default export PDF filename when using asciidoctorpdf (closes #349)

2.8.2

  • Remove depdendency on "copy-paste" which is never used

2.8.1

  • No changes, release/publish using GitHub Actions

2.8.0

  • Provide a safer default and configurable refresh interval (closes #334)

2.7.20

  • Replace all references from joaompinto.asciidoctor-vscode to asciidoctor.asciidoctor-vscode

2.7.19

  • Updated the extension path retrieval to use the new asciidoctor publisher
  • Updated the demo gif

2.7.18

  • Add "vsce" as a development dependency
  • Fix problem creating .pdf with v2.7.16 (closes #332)
  • Move wkhtmltopdf binaries to their own repository

2.7.17

  • Add "vsce" as a development dependency
  • Fix problem creating .pdf with v2.7.16 (closes #331)
  • Provide diagnostics information for asciidoctor errors (PR #329)

2.7.16

  • Update asciidoctor-kroki to 0.9.1
  • Remove asciidoctor-plantuml «out of maintenance» (closes #308)
  • Add CI to provide linting
  • Update webpack configuration and restructure preview and app folders (closes #276)
  • Added the ability to use the workspace path as the base_dir (closes #326)
  • Added eslint validation (closes #290)

2.7.15

  • Align the "Export to PDF" to the "Save as HTML" (closes #298)
  • Support URI encoded characters in anchors links (closes #281)
  • Add env-vscode attribute to detect vs code environment (closes #280)

2.7.14

  • Add support for saving to Docbook (closes #102)

2.7.13

  • Fix Save HTML file path on Windows (closes #269)
  • Remove viz.js, let kroki handle graphviz (closes #267)

2.7.12

  • Add support for saving html output

2.7.11

  • Add Ctrl+Alt+V/Cmd+Alt+V (Mac) as shortcut key for image paste

2.7.10

  • Change language definition to be the same as that of the Atom extension atom-language-asciidoc
  • Support the source block (closes #212)
  • Support image pasting on Linux/Mac (closes #255)
  • Add Ctrl+Alt+V/Cmd+Alt+V (Mac) as shortcut key for image paste
  • Add .png extension automatically for image pasting

2.7.9

  • Prevent table of contents overlapping document for :toc: left and :toc: right (closes #141)
  • Provide Intellisense autocomplete for attributes
  • Provide basic support for setext two-line titles (closes #248)
  • Update to Asciidoctor 2.0.10 and Asciidoctor.js 2.1.0
  • Update dependencies to latest versions
  • Update TextMate language generation to use safe_load in Python script
  • Revise asciidoctor-pdf command to prepare for use of asciidoctor-pdf.js
  • Tidy up licensing and copyright notices in files

2.7.8

  • Disable foldingProvider and add throttling to SymbolProvider
  • Add asciidoctor-kroki support

2.7.7

  • Add basic symbol provider (closes #234)
  • Clean use of '-o' option for compatibility with asciidoctorj (closes #232)

2.7.6

  • Add config option to set the wkhtmltopdf binary path (closes #202)

2.7.5

  • Update Asciidoctor(.JS) requirement to 2.0.3 (fixes #203, thanks to @jvalkeal)

2.7.4

  • Fixes: No autoscroll in VSCode > 1.28 #182

2.7.3

  • Fixes to README (thanks to @jstafman jstafman@protonmail.com)
  • Changed the order of configuration settings
  • Display an error notification when asciidoctor.js fails

2.7.2

  • Fix an error caused by incorrectly accessing the workspace folder (issue #191)

2.7.1

  • Fix preview.attributes description.

2.7.0

  • Add preview.style option to set preview stylesheet in settings

2.6.0

  • Add preview.attributes option to set preview attributes in the user/workspace settings
  • Overhaul README

2.5.2

  • Fix an error from 2.5.1 that caused all syntax highlighting to fail

2.5.1

  • Change remaining Markdown-named variables/modules to AsciiDoc
  • Improve automated building/packaging script
  • Fix contrained literal (`) or closing single typographic quote (`') bug when used inside typographic quotes (e.g. "`busy `'till tomorrow`" would create a recursive match)
  • Add syntax highlight for closing single typographic quote (`')

2.5.0

  • Repaired preview.useEditorStyle option
  • Improved the editor-style css to match the default one used by asciidoctor

2.4.1

  • Fix missing highlight for single character constrained inlines (e.g. *a*)

2.4.0

2.3.3

  • Fix plantUML preview from multiple files and folders (thanks to @Dimeiza dimeiza@hotmail.com)

2.3.2

  • Highlight fenced source blocks (Markdown-like syntax) in the editor

2.3.1

  • Add snippets for general attribute and tagged block
  • Temporary fix for transparent side toc (:toc: left, :toc: right)

2.3.0

  • Add option to use asciidoctor-pdf instead of wkhtmltopdf
  • Fix pdf paths with single quotes not opening from the notification after exportAsPDF

2.2.0

  • Fix documents with apostrophe in path not rendering with manual command
  • Add option to use editor or default style in preview
  • Snippets

2.1.1

  • Use theme background on preview (thanks to matteo.campinoti94@gmail.com)
  • Broken links on diagrams in preview (asciidoc.use_asciidoctor_js: false), closes #142

2.1.0

  • YAML syntax file, improved inline syntax detection, automated building (thanks to matteo.campinoti94@gmail.com)
  • fixes typos in Description for AsciiDoc.forceUnixStyleSeparator (thanks to ccb012100)
  • diagram (specifically plantUML) support in asciidoctor.js (closes #105)

1.0.99

  • Rebuilt using vscode-1.28.2/extensions/markdown* from Microsoft

1.0.x

  • Test release

0.15.1

  • asciidoctor_command can have arguments (closes #103)
  • updated fs-extra requirements (closes #88)

0.15.0

  • Support for copy/paste images

0.14.0

  • Style/Disable Preview Highlighting (closes #85)

0.13.0

  • Add support for Mermaid Diagrams (unprintable)

0.12.0

  • Add graphviz support using Viz.js (closes #78)

0.11.2

  • Support :footer-center: to place a footer center on exported PDF (closes #77)

0.11.1

  • Removed unnecessary binary files from the extension package

0.11.0

  • Improve the default CSS (closes #76)
  • Add page break support for PDF export (closes #75)

0.10.0

  • Support logo on title page (closes #74)

0.9.1

  • Rename CHANGES.md CHANGELOG.md to have it shown in the extension info

0.9.0

0.8.0

  • wordwrap if the file type is .adoc (closes #65)
  • activate on "asciidoc" related commands (closes #64)

0.7.2

  • runInterval is now respected during document changes (closes #68)

0.7.1

  • Fix links when using external asciidoctor (closes #67)

0.7.0

  • Added Export to PDF command (using wkhtmltopdf)

0.6.0

  • Synchronize preview with the selected/edited source line
  • The preview window is now shared accross documents

0.5.0

  • Use asciidoctor with -q since we now rely on stderr for error detection
  • On settings replaced html_generator with asciidoctor_command
  • Add data-line-(source-nr) for preview synchronization
  • Do not use temporary files for adoc generation, closes #54
  • Use the same keybindins as the markdown extension. closes #55
  • Merge pull request #53 from malvim/formatting-surround
  • Enable auto surrounding for formatting symbols

0.4.3

  • Always rebuild preview when preview uri changes, closes #43

0.4.2

  • Use convertFile() instead off Convert(), closes #50

0.4.1

  • Fixed the "how to install" instructions

0.4.0

  • Use Asciidoctor.js by default (setting AsciiDoc.use_asciidoctor_js = true), closes #29

0.3.8

  • Added symbol view, closes #3
  • Keyboard binding changed to ctrl+shift+r (Mac: cmd+shift+r)
  • Add auto closing brackets
  • Fix syntax highlighter breaking
  • Added buffer size parameter for larger Asciidoc rendering capability
  • Support # symbol as section header

0.3.5 - 0.3.7

0.3.3

  • Do not prefix links for local #sections

0.3.2

  • Apply fixLinks to local links, closes #12

0.3.1

  • Removed broken fixLinks transformation (this closes #6, closes #10)

0.3.0

  • Use time based preview refresh instead of on document change, this closes #9
  • Major code reorganization and documentation

0.2.1

  • Quote filename when invoking asciidoctor, this closes #4

0.2.0

  • Added full error message display when asciidoctor execution fails
  • Improved samples with CSS and icons
  • Added animated showcase on the README.md