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.
- Escape XML characters in anchors due to Confluence API validation errors
- Escape XML characters in image href due to Confluence API validation errors
- Added capability of running Cosmere as a script library.
- Added support for custom renderers.
- Local copies of attachment are no longer stored, because caching is done by comparing filename and size instead
--force
now also forces re-upload of attachments
- Links to markdown files that are in the cosmere.json will now be rendered as Confluence links. (closes #12)
- Write cache even if upload is not successful. This saves time and helps with debugging.
- Print paths relative to the config file in the log output.
0.15.0 - 2022-06-06
- Added config option
personalAccessToken
and environment variableCONFLUENCE_PERSONAL_ACCESS_TOKEN
in order to support authentication using personal access tokens. (solves #26) - Added
--insecure
flag in order to not have to useNODE_TLS_REJECT_UNAUTHORIZED=0
in cases where it's needed.
- Pictures are now only uploaded if they differ in filename or size. Only pictures that do not match will be deleted remotely (previously all pictures were deleted, then all were uploaded).
- Fixed cache check so that only real changes in files require an update.
0.14.1 - 2021-08-25
- Fixed relative parts in attachments causing issues. Now
../../example.png
will be flattened to___example.png
.
0.14.0 - 2021-03-05
- Support for rendering
<details>
blocks as Confluence expand macros
0.13.3 - 2021-02-10
0.13.2 - 2021-02-10
- Upgrade dependencies in order to fix vulnerabilities
- Write self-closing tags for Confluence compatibility (e.g.
<hr />
)
0.13.1 - 2020-07-06
- Moved jest and prettier to dev dependencies
0.13.0 - 2020-07-04
- Added retry for a weird confluence bug where the first attempt would result in a 501 response, and the second one works
0.12.3 - 2019-12-27
- Bug where error was thrown if not language was supplied for language block
0.12.2 - 2019-12-23
- Print proper URL after successful upload
0.12.1 - 2019-12-23
- Do not use newline for extracted title (fixes #1)
0.12.0 - 2019-12-23
- Print link to confluence page after successful upload
- Set highlighting for known languages
- Use only first line of title
- Remote diff
0.11.0 - 2019-12-20
- renaming to cosmere, all binaries, config entries etc. changed
0.10.0 - 2019-12-18
pageTitle
config item is now optional if a level one header is found in the corresponding document. If neither is available an error is thrown.
0.9.0 - 2019-12-07
- Convert to storage representation directly instead of view to upload strings without encoding
- Always load markdown files relative to the config file
0.8.1 - 2019-12-03
- Attachment upload
0.8.0 - 2019-12-03
- This changelog file
- Update remote version only if there's an actual change
- Attachment upload
0.7.0 - 2019-12-02
- Add backward compatibility for node 8 (
fs.mkdir
)