Releases: agency-kit/notion-cms
v0.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
rootAliasis non-existant in Notion database.Fix: Show warning when there are multiple pages at the root level AND a
rootAliasis 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.
v0.9.1
v0.9.0
Minor Changes
-
bc57a66: New: optimized content fetching only when content changes. This lets us achieve fastest possible builds 🚄. This comes with an
autoUpdateflag for turning it off, but you probably shouldn't.New: added an every hook *, recommended for testing only.
New: added
purgeCachefunction 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
rootUrlwas being set to a bogus string.
v0.8.1
v0.8.0
v0.7.2
v0.7.1
v0.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
_createCMSWalkerstatic utility class for quickly creating tree walker (walkjs) functions with the appropriate settings for when developing plugins that utilize thepost-treehook.Upd: Add more API and page stats in CMS metadata and update
durationtodurationSecondsfor clarity.Fix: Make sure that the page content filter accounts for the
post-treecase where the parent exists.
Patch Changes
- e4423de: Upd: convert all tests to typescript.
v0.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 ofusedfor 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.