Socket
Socket
Sign inDemoInstall

@agency-kit/notion-cms

Package Overview
Dependencies
104
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
23Next

0.10.0

Diff

Changelog

Source

0.10.0

Minor Changes

  • 8862d40: Fix: image cache plugin will now only run when a page needs updated (not using cache).

    New: cache PDFs using the image plugin. Long term this will likely be a unified plugin for fetching/caching all AWS S3 hosted Notion assets.

Patch Changes

  • bef414e: Fix: Keep terminal logging mechanism from swallowing important error messages.

    Fix: Throw an error when rootAlias is non-existant in Notion database.

    Fix: Show warning when there are multiple pages at the root level AND a rootAlias is set (you probably don't want that).

    Fix: Keep from failing when in quiet mode.

    Upd: Improve bundle size a tiny amount by switching terminal colors to picocolors.

  • 26dccd0: Fix: maintain proper spacing in codeblock renders.

earlachromatic
published 0.9.1 •

Changelog

Source

0.9.1

Patch Changes

  • bd28226: Upd: improve terminal output and add quiet flag.

    Fix: [images plugin] make sure existing images don't get overwritten.

    Fix: [linker plugin] proper uuid detection in anchor tags.

earlachromatic
published 0.9.0 •

Changelog

Source

0.9.0

Minor Changes

  • bc57a66: New: optimized content fetching only when content changes. This lets us achieve fastest possible builds 🚄. This comes with an autoUpdate flag for turning it off, but you probably shouldn't.

    New: added an every hook *, recommended for testing only.

    New: added purgeCache function that clears the local cache.

    Fix: fixed a bug in linker plugin where non-uuids would get picked up.

    Fix: fixed bug in terminal spinner that was causing ctrl-c not to close the terminal in some cases.

    Fix: fixed typo bug where rootUrl was being set to a bogus string.

earlachromatic
published 0.8.1 •

Changelog

Source

0.8.1

Patch Changes

  • 45151f6: New: add core plugins to repo: Images, Linker, Head.

    New: add support for a root alias option that gets its key set to '/' route for convenience.

earlachromatic
published 0.8.0 •

Changelog

Source

0.8.0

Minor Changes

  • d60bd35: Upd: No longer support cjs.

    New: Support rendering link preview blocks.

    New: Add a loading spinner that reports to the terminal for some feedback.

    Upd: Alias fetch at pull which will match future push commands better.

earlachromatic
published 0.7.2 •

Changelog

Source

0.7.2

Patch Changes

  • f493c16: Fix: Caching was broken by a typo in the options checking mechanism in last release.

    Fix: Make sure that the refresh timeout gets set properly whether a number or string is used.

earlachromatic
published 0.7.1 •

Changelog

Source

0.7.1

Patch Changes

  • 521cc9e: Upd: Support mermaid as a highlight js lang.

    Upd: Support detection of changes in options to trigger a re-fetch, not including functions.

earlachromatic
published 0.7.0 •

Changelog

Source

0.7.0

Minor Changes

  • 1575bff: New: Support Notion Link-to-page blocks including with custom renderers.

    New: Support multiple instances of NotionCMS in a project. Before this was limited because they would share a cache which would break things. Fixed by using unique identifiers (last 4 digits of the Notion database id) in the cache name.

    New: Add _createCMSWalker static utility class for quickly creating tree walker (walkjs) functions with the appropriate settings for when developing plugins that utilize the post-tree hook.

    Upd: Add more API and page stats in CMS metadata and update duration to durationSeconds for clarity.

    Fix: Make sure that the page content filter accounts for the post-tree case where the parent exists.

Patch Changes

  • e4423de: Upd: convert all tests to typescript.
earlachromatic
published 0.6.0 •

Changelog

Source

0.6.0

Minor Changes

  • a3fa1f3: New: support markdown and plaintext in content object. New: add support for unlimited database pages and unlimited blocks per page. New: add support for human readable strings in cache timeout option. New: add run duration stats. Fix: use Marked options instead of used for extensions as they bleed to all instances of Marked (uses a singleton under the hood). Fix: update mis-typed Notion Block Object Responses. Fix: proper access kitchen sink test object to fix render test. Fix: ensure route array is populated.
earlachromatic
published 0.5.8 •

Changelog

Source

0.5.8

Patch Changes

  • 03c9c9a: Fix: Update CI to run tests and publish. Remove vscode settings from publish.
23Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc