Skip to content

Commit

Permalink
Log changes for 2.5.2 (#342)
Browse files Browse the repository at this point in the history
and clean up regular expression
  • Loading branch information
JosephMarinier committed Dec 20, 2022
1 parent dee4229 commit 407bcda
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
5 changes: 1 addition & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Released changes are shown in the
## [Not released]

### Added
- Persistent id.

### Changed

Expand All @@ -19,9 +20,5 @@ Released changes are shown in the
### Removed

### Fixed
- Showing long utterances fully on hover in similar and perturbed utterances tables.
- Webapp crash when no pipeline.
- Sort confidence or prediction without postprocessing.
- Crash on Safari and iOS browsers as they don't support lookbehind in regular expressions.

### Security
8 changes: 8 additions & 0 deletions docs/docs/getting-started/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Releases

## [2.5.2] - 2022-12-20

### Fixed
- Show long utterances fully on hover in similar and perturbed utterances tables.
- Fixed webapp crash when there is no pipeline (with `"pipeline": null` configured).
- Fixed sort utterance table by confidence or prediction without post-processing.
- Fixed crash on Safari and iOS browsers as they don't support lookbehind in regular expressions.

## [2.5.1] - 2022-12-05

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "azimuth"
version = "2.5.1"
version = "2.5.2"
description = "Azimuth provides a unified error analysis experience to data scientists."
readme = "README.md"
authors = ["Azimuth team <[email protected]>"]
Expand Down
2 changes: 1 addition & 1 deletion webapp/src/utils/format.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ export const formatRatioAsPercentageString = (

export const camelToTitleCase = (camelCase: string) =>
// Safari and iOS browsers don't support lookbehind in regular expressions.
camelCase.replace(/([a-z])(?=[A-Z0-9])|([A-Z0-9])(?=[A-Z][a-z])/g, "$1$2 ");
camelCase.replace(/([a-z])(?=[A-Z0-9])|([A-Z0-9])(?=[A-Z][a-z])/g, "$& ");

0 comments on commit 407bcda

Please sign in to comment.