Changelog
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.
[0.17.2] - 2023-01-09
Fixed
- Escape XML characters in anchors due to Confluence API validation errors
[0.17.1] - 2023-01-09
Fixed
- Escape XML characters in image href due to Confluence API validation errors
[0.17.0] - 2022-11-08
Added
- Added capability of running Cosmere as a script library.
- Added support for custom renderers.
Changed
- 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
[0.16.0] - 2022-07-12
Changed
- 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
- Added config option
personalAccessToken
and environment variable CONFLUENCE_PERSONAL_ACCESS_TOKEN
in order to support authentication using personal access tokens. (solves #26)
- Added
--insecure
flag in order to not have to use NODE_TLS_REJECT_UNAUTHORIZED=0
in cases where it’s needed.
Changed
- 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
- Fixed cache check so that only real changes in files require an update.
0.14.1 - 2021-08-25
Fixed
- Fixed relative parts in attachments causing issues. Now
../../example.png
will be flattened to ___example.png
.
0.14.0 - 2021-03-05
Added
0.13.3 - 2021-02-10
0.13.2 - 2021-02-10
Fixed
- Upgrade dependencies in order to fix vulnerabilities
- Write self-closing tags for Confluence compatibility (e.g.
<hr />
)
0.13.1 - 2020-07-06
Fixed
- Moved jest and prettier to dev dependencies
0.13.0 - 2020-07-04
Fixed
- 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
Fixed
- Bug where error was thrown if not language was supplied for language block
0.12.2 - 2019-12-23
Fixed
- Print proper URL after successful upload
0.12.1 - 2019-12-23
Fixed
- Do not use newline for extracted title (fixes #1)
0.12.0 - 2019-12-23
Added
- Print link to confluence page after successful upload
Fixed
- Set highlighting for known languages
- Use only first line of title
- Remote diff
0.11.0 - 2019-12-20
Changed
- renaming to cosmere, all binaries, config entries etc. changed
0.10.0 - 2019-12-18
Changed
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
Fixed
- 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
Fixed
0.8.0 - 2019-12-03
Added
Changed
- Update remote version only if there’s an actual change
Fixed
0.7.0 - 2019-12-02
Changed
- Add backward compatibility for node 8 (
fs.mkdir
)