v1.4.0
版本发布时间: 2021-08-17 00:00:56
nytimes/library最新发布版本:v1.5.2(2024-05-24 01:47:49)
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.