Skip to content

Commit d9228cb

Browse files
committed
chore(release): 4.0.0
1 parent c01c656 commit d9228cb

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,27 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## [4.0.0](https://github.com/ngneat/dialog/compare/v3.6.0...v4.0.0) (2023-05-02)
6+
7+
8+
### ⚠ BREAKING CHANGES
9+
10+
* narrow result type definition
11+
12+
- The `Result` generic is now infered based on the public ref property in the component
13+
- `DialogRef.afterClosed$` will now use the infered result type
14+
- `DialogRef.close` will now use the infered resut type
15+
- `DialogRef.beforeClose` guard will now use the infered result type
16+
17+
### Features
18+
19+
* 🎸 add option to only enable close for last opened dialog ([dba14e8](https://github.com/ngneat/dialog/commit/dba14e835a35b8ec93320e9c22e8d113da8fa6e9)), closes [#96](https://github.com/ngneat/dialog/issues/96)
20+
21+
22+
### Bug Fixes
23+
24+
* expose return type of dialog ref ([91a30d6](https://github.com/ngneat/dialog/commit/91a30d6dde16706625e5b5f2f88da0d2f34903ff)), closes [#86](https://github.com/ngneat/dialog/issues/86)
25+
526
## [3.6.0](https://github.com/ngneat/dialog/compare/v3.5.0...v3.6.0) (2023-04-24)
627

728

projects/ngneat/dialog/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ngneat/dialog",
3-
"version": "3.6.0",
3+
"version": "4.0.0",
44
"description": "Simple to use, highly customizable, and powerful modal for Angular Apps",
55
"dependencies": {
66
"tslib": "2.3.1"

0 commit comments

Comments
 (0)