aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md
blob: dfefc27ddae05bccbccdcd9e781d2cc4c771e298 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Changed

- Increased script file compatibility and moved to `/sh`

## [0.5.0]

### Added

- Cobertura XML format
- Format type to commit metadata (migrationless schema change)

### Changed

- Moved stage values for gradient to environment and made accessible via metadata
- Refactored upload processing to async/await over promise chaining

## [0.4.4]

### Changed

- Adjusted routes tests to fail properly if HOST_DIR is undefined or has insufficient access control
- Updated node images used in Dockerfile
- Moved environment configuration used in service to Metadata data handler

## [0.4.3]

### Changed

- Fixed templates not correctly identifying context in handleStartup

## [0.4.2]

### 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

## [0.4.1]

### Changed

- Adjusted styling for mobile displays

## [0.4.0]

### 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

## [0.3.3]

### Changed

- Catch promise rejections for POST endpoint
- Default error descriptions for logged errors
- Lowered brightness of generated report badges

## [0.3.2]

### 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

## [0.3.1]

### 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

## [0.3.0]

### 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

## [0.2.1]

### 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

## [0.2.0]

### 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

- Even more Promises

## [0.1.0]

### 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

[unreleased]: https://git.submelon.dev/kjhoerr/ao-coverage/src/branch/trunk
[0.5.0]: https://git.submelon.dev/kjhoerr/ao-coverage/src/tag/v0.5.0
[0.4.4]: https://git.submelon.dev/kjhoerr/ao-coverage/src/tag/v0.4.4
[0.4.3]: https://git.submelon.dev/kjhoerr/ao-coverage/src/tag/v0.4.3
[0.4.2]: https://git.submelon.dev/kjhoerr/ao-coverage/src/tag/v0.4.2
[0.4.1]: https://git.submelon.dev/kjhoerr/ao-coverage/src/tag/v0.4.1
[0.4.0]: https://git.submelon.dev/kjhoerr/ao-coverage/src/tag/v0.4.0
[0.3.3]: https://git.submelon.dev/kjhoerr/ao-coverage/src/tag/v0.3.3
[0.3.2]: https://git.submelon.dev/kjhoerr/ao-coverage/src/tag/v0.3.2
[0.3.1]: https://git.submelon.dev/kjhoerr/ao-coverage/src/tag/v0.3.1
[0.3.0]: https://git.submelon.dev/kjhoerr/ao-coverage/src/tag/v0.3.0
[0.2.1]: https://git.submelon.dev/kjhoerr/ao-coverage/src/tag/v0.2.1
[0.2.0]: https://git.submelon.dev/kjhoerr/ao-coverage/src/tag/v0.2.0
[0.1.0]: https://git.submelon.dev/kjhoerr/ao-coverage/src/tag/v0.1.0