Releases: nytimes/library
Releases · nytimes/library
v1.4.0
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
- Bring back some advanced customization options (#200, 🙌 @isaacwhite)
- Remove md5 dependency, use Crypto instead (#248, 🙌 @afischer)
- Support for Slack OAuth (#245, 🙌 @penina-nyt)
- Add JSON responses to most endpoints for programatic access (#250, 🙌 @tilgovi @smores)
- Add image modals that expand image on click (#283, 🙌 @xvandish)
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
Autocomplete, auth options, code snippet updates
Improvements for large Libraries
- 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 watchalways 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.