Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.
Changed
- Fixed templates not correctly identifying context in handleStartup
Added
- 404 page to handle unknown paths
- TSDoc and TypeDoc to generate documentation
Changed
- Moved startup processes to async handleStartup function
- Fixed MongoErrors not reporting on startup
Changed
- Adjusted styling for mobile displays
Added
- landing page provided at / based on template
- serve favicon at server root
Changed
- More descriptive output from bash template, with links to the files
- Moved template processing to router, so unit tests can be run without build
Changed
- Catch promise rejections for POST endpoint
- Default error descriptions for logged errors
- Lowered brightness of generated report badges
Changed
- Exit application if bash template could not be created, and does not already exist
- Generalize template processing, for unit tests and for future flexibility
- Fixed rounding for default color matcher when inbetween step values
- Use new nullish coalescing operator for environment variable assignments
Added
- Jest for handling tests
- Unit tests for color matcher in formats.ts, loggerConfig in logger.ts
Changed
- Fixed issue with colorMatcher returning bad values for everything > stage2
colorize()
and printf()
formats apply specifically to console transport
Added
- Eslint for linting
- Scripts added:
start:dev
for integrated watcher, start:prod
for running server as production
- Formatting and linting scripts
- Template file converter, and bash template for serving
- Multi-stage dockerfile
Changed
- Relicensed project under the Parity Public License 7.0.0
- Ensure process exits with error code if error occurred during shutdown
Added
- Business logic errors for explicit dataflow handling
Changed
- Changed formats/metadata to return union types with business logic errors
- Fixed 404 responses for all GET endpoints
Added
- Metadata persisted through a single-document store using MongoDB
- More verbose logging managed by winston (console-only for now)
- Shutdown handling for running services/connections
Changed
Added
- Workspace, CHANGELOG, README, LICENSE, etc.
/v1/
Endpoints: POST for uploading report, GET for svg badge and report file
- Format interfaces
- Format specification for Tarpaulin HTML reports
- Badge creation with color gradients green -> yellow -> red based on coverage percentage
- Code formatting using Prettier