Skip to content

Releases: nytimes/library

v1.4.0

16 Aug 16:00

Choose a tag to compare

This release contains a number of new features, security updates, bug fixes, and changes to our CI pipeline.

Feature highlights include Slack OAuth support, JSON response endpoints, and expandable images.

Breaking Changes ⚠️

  • Library no longer supports Node 8.x. If you are running Library in an environment with an older version of Node, please consider updating to one of the actively maintained Node releases.

Bug fixes 🐛

  • Check for language existence before trying to highlight code (#226, 🙌 @smores)
  • Adjust code block regex (#237, 🙌 @isaacwhite)
  • Folders inside a team drive are now supported in addition to "standalone" folders (#278, 🙌 @raimohanska)

Features and Enhancements

CI Updates

  • Our CI pipeline has been moved from CircleCI to Drone Cloud. The pipeline now builds and deploys Docker images to Dockerhub when a new release is tagged. Special thanks to @penina-nyt and @isaacwhite for this work!
  • Update testing pipeline to include Node 14.x and 16.x.

Security Updates

  • A number of packages have been updated and patched to newer, more secure versions.

Cache rewrite, syntax highlighting, inline assets, bugfixes

27 Jul 21:44

Choose a tag to compare

  • Revamps caching logic. 🙌 , @afischer and @shawn620!
  • Adds syntax highlighting for code blocks. 🙌 , @smores !
  • Inlines styles for error pages. 🙌 , @chrisfrank!
  • Adds a new environment variable to support https offloading. 🙌 , @salexpdx!
  • Build in support for youtube embeds. 🙌 , @shawn620!

Autocomplete, auth options, code snippet updates

10 Oct 03:05

Choose a tag to compare

  • Adds autocompleted filenames to Library search. 🙌, @afischer!
  • Adds the ability use specific emails and regex to the default authentication middleware. 🙌, @maxine!
  • Updates the markup generated for code snippets to use <code/> blocks. 🙌, @abstrctn!

Changelog

Improvements for large Libraries

05 Aug 23:12

Choose a tag to compare

  • Preserves deep links (via #heading links) from Google Docs that are part of Library. 🙌, @maxine!
  • Adds the ability to template the homepage modules by tag and description. Via @isaacwhite.
  • Simplify running the app locally so that npm run watch always builds first. 🙌, @davegonzalez!
  • Adds a warning when multiple documents or folders resolve to the same path in Library. 🙌, @jonpo!
  • Adds a max height (400px) to folders on the View all Docs page, useful for larger Library sites. 🙌, @jdk27!

Also includes minor updates via npm audit fix and others.

v1.0.3

06 May 16:57

Choose a tag to compare

Fixes a few minor bugs

  • Hides hidden children of non-hidden folders (#20) on the "View all" page, 🙌 to @jptomanelli
  • Resolves an issue where paging through shared folders would fail (#16), 🙌 to @nick-nz