All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- feat: Add GitHub alerts transformation to Confluence macros.
GitHub-flavored markdown alerts ([!NOTE], [!TIP], [!IMPORTANT],
[!WARNING], [!CAUTION]) are now converted to Confluence's native
info, note, warning, and tip macros. This feature is disabled by
default and can be enabled via
rehype.githubAlertsconfiguration option. (bumps @telefonica/markdown-confluence-sync to 2.4.0)
- feat: Add
confluence-api-prefixoption to allow the user to set a custom API prefix for Confluence instance.
- feat: Add support for code blocks rendering in Confluence pages. Add
rehype.codeBlocksoption to enable this feature (bumps @telefonica/markdown-confluence-sync to 2.3.0)
- docs: Fix mermaid diagram code block example in README.md
- feat: Add support for different Confluence authentication methods. Add "confluence-authentication" input, which allows the user to provide the confluence.js authentication configuration as a JSON string
- feat: Make
confluence-personal-access-tokeninput not required. It is deprecated in favor of the newconfluence-authenticationinput. - chore(deps): Bump @telefonica/markdown-confluence-sync from 2.1.1 to 2.2.0 (Add confluence authentication option)
- fix: Bump @telefonica/markdown-confluence-sync from 2.1.0 to 2.1.1. Fix issue when a page has more than 25 children.
- feat: Add
dry-runoption, enabling to process the markdown files and configuration without connecting to Confluence.
- chore(deps): Bump @telefonica/markdown-confluence-sync from 2.0.0 to 2.1.0 (Add dryRun option)
- chore(deps): Remove @tid-xcut/markdown-confluence-sync dependency. Use @telefonica/markdown-confluence-sync instead. The library has been moved to the @telefonica organization in the public NPM registry.
- feat: Add
ignoreinput. It allows the user to ignore files by using glob patterns.
- chore(deps): Bump @tid-xcut/markdown-confluence-sync from 1.1.1 to 1.2.1 (Add ignore option)
- chore(deps): Bump @tid-xcut/markdown-confluence-sync from 1.1.0 to 1.1.1 (Fix preprocess hook)
- docs: Improve release process guide in CONTRIBUTING.md
- feat(BREAKING CHANGE): Throw an error in case the
cwdinput is absolute, because the action only has access to the repository files - chore: Use Docker action instead of Node.js action in order to install Chromium and Puppeteer
- chore: Use Pnpm instead of NPM
- chore: Move
dependenciestodevDependencies, because in runtime the action uses only the bundled code, and it installs the mermaid dependencies by itself in the Docker image. This is because the@tid-xcutlibraries are in a private repository, and the action cannot install them in the Docker image. Some fixes are applied to the bundled code to make it work in the Docker image.
- fix: Generate mermaid diagrams in the Confluence page
- docs: Add automation notice to Confluence pages containing the action docs
- test: Add mermaid diagram to readme.md file, and test that it has been synced to Confluence in E2E tests
- chore(deps): Bump @tid-xcut/markdown-confluence-sync from 1.0.1 to 1.1.0 (Preprocess hook)
- chore: Change copyright headers
- chore(deps): Bump @tid-xcut/markdown-confluence-sync from 1.0.0 to 1.0.1 (Change copyright headers)
- feat: Add
files-metadatainput. It allows the user to provide a JSON array with the metadata of the files to be synchronized. This way, the user can set the Confluence id, title, etc. without the need to add frontmatter to the markdown files. - feat: Support
idmode. It allows the user to provide a list of files to be synchronized only by their Confluence id.
- chore(deps): Bump @tid-xcut/markdown-confluence-sync from 1.0.0-beta.4 to 1.0.0 (Add id mode and filesMetadata option)
- feat: First stable release
- test: Add E2E tests
- feat: Add input
cwd, enabling the user to set the current working directory from where resolvedocs-dir,files-pattern, and search for the configuration file.
- chore: Bump @tid-xcut/markdown-confluence-sync from 1.0.0-beta.3 to 1.0.0-beta.4
- docs: Remove wrong documentation about logs. It is not necessary to set the
ACTIONS_STEP_DEBUGoption to see the libraries logs in the pipelines.
- fix: Fix reading the configuration file, by avoiding the usage of
__filenameand__dirnamein the bundled code, given that it is an ESM module.
- chore: Bump @tid-xcut/markdown-confluence-sync from 1.0.0-beta.2 to 1.0.0-beta.3
- feat: First release