Skip to content

Commit 1934ca9

Browse files
authored
v1.2.0 (#23)
This release includes an enhancement to error handling. The changelog has also been updated to include the package rename as part of v1.1.0, which is when that happened. Previously it was mistakenly under the 'Unreleased' section.
1 parent 2803854 commit 1934ca9

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

CHANGELOG.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,19 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8+
9+
## [1.2.0]
810
### Changed
9-
- Throw error if parent is destroyed or ended already when creating sub streams ([#17](https://github.com/MetaMask/object-multiplex/pull/17))
10-
- Rename package to @metamask/object-multiplex ([#12](https://github.com/MetaMask/object-multiplex/pull/12))
11+
- Throw error if parent is destroyed or ended already when creating sub streams ([#17](https://github.com/MetaMask/object-multiplex/pull/17), [#22](https://github.com/MetaMask/object-multiplex/pull/22))
12+
- Such streams would have failed after the first write anyway. This failure case should be easier to deal with now that we're identifying it earlier, with a more helpful error message.
1113

1214
## [1.1.0] - 2020-12-07
1315
### Added
1416
- TypeScript typings ([#9](https://github.com/MetaMask/object-multiplex/pull/9))
1517

16-
[Unreleased]: https://github.com/MetaMask/object-multiplex/compare/v1.1.0...HEAD
18+
### Changed
19+
- Rename package to @metamask/object-multiplex ([#12](https://github.com/MetaMask/object-multiplex/pull/12))
20+
21+
[Unreleased]: https://github.com/MetaMask/object-multiplex/compare/v1.2.0...HEAD
22+
[1.2.0]: https://github.com/MetaMask/object-multiplex/compare/v1.1.0...v1.2.0
1723
[1.1.0]: https://github.com/MetaMask/object-multiplex/releases/tag/v1.1.0

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/object-multiplex",
3-
"version": "1.1.0",
3+
"version": "1.2.0",
44
"description": "Simple stream multiplexing for objectMode.",
55
"main": "dist/index.js",
66
"repository": {

0 commit comments

Comments
 (0)