Skip to content

Commit

Permalink
chore: Update changelog, bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbromley committed Mar 2, 2023
1 parent 8e7a3fe commit 6455593
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# Changelog

## v8.0.5 (2023-03-02)

- fix(pipe-parser): Search for pipe in structural directives [#1](https://github.com/vendure-ecommerce/ngx-translate-extract/pull/1)

This fix will now detect the pipe in code like this:

```
<ng-container *ngTemplateOutlet="section; context: {
title: 'example.translation.key' | translate
}"></ng-container>
```

- fix: Find uses of translate pipe in pipe arguments [#2](https://github.com/vendure-ecommerce/ngx-translate-extract/pull/2)

Fixes the following:

```json
{{ 'value' | testPipe: ('test1' | translate) }} // finds nothing, misses 'test1'
{{ 'Hello' | translate: {world: ('World' | translate)} }} // finds 'Hello', misses 'World'
{{ 'previewHeader' | translate:{filename: filename || ('video' | translate)} }} // finds 'previewHeader', misses 'video'
```

## v8.0.3 (2022-12-15)

- First package published under the @vendure namespace
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vendure/ngx-translate-extract",
"version": "8.0.3",
"version": "8.0.5",
"description": "Extract strings from projects using ngx-translate",
"author": "Kim Biesbjerg <kim@biesbjerg.com>",
"license": "MIT",
Expand Down

0 comments on commit 6455593

Please sign in to comment.