Skip to content

Commit

Permalink
prepare changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
bcaudan committed Sep 20, 2020
1 parent 38c3fa1 commit fb03cb5
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,31 @@
# 6.0.0

## Feature

* Use colors/safe [#538](https://github.com/bcaudan/jasmine-spec-reporter/pull/538)

## Breaking change

String prototype does not contain color properties anymore, colors must now be applied with the new `theme` component available as a field in [custom display processors](docs/customize-output.md).

**Before:**
```ts
class MyProcessor extends DisplayProcessor {
public displaySuccessfulSpec(spec: CustomReporterResult, log: string): string {
return "OK ".successful + log;
}
}
```

**Now:**
```ts
class MyProcessor extends DisplayProcessor {
public displaySuccessfulSpec(spec: CustomReporterResult, log: string): string {
return this.theme.successful("OK ") + log;
}
}
```

# 5.0.2

## Bugfix
Expand Down

0 comments on commit fb03cb5

Please sign in to comment.