Skip to content

Commit b9a544a

Browse files
committed
v4.0.0
1 parent 23d9b16 commit b9a544a

File tree

11 files changed

+110
-138
lines changed

11 files changed

+110
-138
lines changed

CHANGELOG.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,43 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [4.0.0](https://github.com/nrkno/tv-automation-mos-connection/compare/v3.0.7...v4.0.0) (2024-02-02)
7+
8+
### ⚠ BREAKING CHANGES
9+
10+
- Changes to `mosDevice.sendRequestAllMOSObjects()`. MosObjects are now returned to the `mosDevice.onMOSObjects()` callback.
11+
12+
**Migration guide:**
13+
14+
```typescript
15+
// Before:
16+
const mosObjs = await mosDevice.sendRequestAllMOSObjects()
17+
18+
// After:
19+
mosDevice.onMOSObjects((mosObjs: IMOSObject[]) => {
20+
//
21+
})
22+
const ack = await mosDevice.sendRequestAllMOSObjects()
23+
```
24+
25+
### Bug Fixes
26+
27+
* better handling of non-spec errors. ([4b1f97c](https://github.com/nrkno/tv-automation-mos-connection/commit/4b1f97cf4112f465c353b482b35201fcaef9864e))
28+
* change how data fields is parsed, better handling of missing data. ([bf4a084](https://github.com/nrkno/tv-automation-mos-connection/commit/bf4a0845a7f836015aa452db45c023debef94480))
29+
* connectionStatus now returns textual status, not just empty strings, addressing [#93](https://github.com/nrkno/tv-automation-mos-connection/issues/93) ([23d9b16](https://github.com/nrkno/tv-automation-mos-connection/commit/23d9b161d597223ed750a61dc7d87bacec4def51))
30+
* revert mosTime support of empty string. ([cfc036f](https://github.com/nrkno/tv-automation-mos-connection/commit/cfc036f5c2604ae193bc2d683e02ad2a9d6bb477))
31+
* roStoryMove: off-spec support of single storyID tag ([58ff304](https://github.com/nrkno/tv-automation-mos-connection/commit/58ff30429976655b30596181041449b3e8060ff9))
32+
* roStoryMoveMultiple: handle edge case of single storyID ([4684116](https://github.com/nrkno/tv-automation-mos-connection/commit/46841160704e11e6ac00bcdee0e3bbf828c54393))
33+
34+
35+
### Features
36+
37+
* support for receiving Profile 1 <mosObj> and <mosListAll> messages. ([786710a](https://github.com/nrkno/tv-automation-mos-connection/commit/786710ad1d71015b76dc7e01cdc7a286a02c96a4))
38+
39+
40+
41+
42+
643
## [3.0.7](https://github.com/nrkno/tv-automation-mos-connection/compare/v3.0.6...v3.0.7) (2023-12-27)
744

845

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"packages": [
33
"packages/*"
44
],
5-
"version": "3.0.7",
5+
"version": "4.0.0",
66
"npmClient": "yarn",
77
"useWorkspaces": true
88
}

packages/connector/CHANGELOG.md

Lines changed: 32 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -3,92 +3,84 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6-
## [3.0.7](https://github.com/nrkno/sofie-mos-connection/compare/v3.0.6...v3.0.7) (2023-12-27)
7-
8-
9-
### Bug Fixes
10-
11-
* Add support for receiving roStoryX, roStoryY messages. ([a4c110e](https://github.com/nrkno/sofie-mos-connection/commit/a4c110e229134d11f1d7a755086d68b002281264))
6+
# [4.0.0](https://github.com/nrkno/sofie-mos-connection/compare/v3.0.7...v4.0.0) (2024-02-02)
127

8+
### ⚠ BREAKING CHANGES
139

10+
- Changes to `mosDevice.sendRequestAllMOSObjects()`. MosObjects are now returned to the `mosDevice.onMOSObjects()` callback.
1411

12+
**Migration guide:**
1513

14+
```typescript
15+
// Before:
16+
const mosObjs = await mosDevice.sendRequestAllMOSObjects()
1617

17-
## [3.0.5](https://github.com/nrkno/sofie-mos-connection/compare/v3.0.4...3.0.5) (2023-12-18)
18-
18+
// After:
19+
mosDevice.onMOSObjects((mosObjs: IMOSObject[]) => {
20+
//
21+
})
22+
const ack = await mosDevice.sendRequestAllMOSObjects()
23+
```
1924

2025
### Bug Fixes
2126

22-
* better handling of incoming data chunks. Deals with multiple <mos> and </mos> tags. ([59cacb2](https://github.com/nrkno/sofie-mos-connection/commit/59cacb21c178ea14c7ad4c8771198e6ec656459c))
23-
* better handling of single xml elements ([f96ea1a](https://github.com/nrkno/sofie-mos-connection/commit/f96ea1a61cef385435d1088acc46cd1e25c5c4bf))
24-
* handle replies to roReq ([c100b4d](https://github.com/nrkno/sofie-mos-connection/commit/c100b4d017f21d45529c0c912754808f8a0431bc))
27+
- better handling of non-spec errors. ([4b1f97c](https://github.com/nrkno/sofie-mos-connection/commit/4b1f97cf4112f465c353b482b35201fcaef9864e))
28+
- change how data fields is parsed, better handling of missing data. ([bf4a084](https://github.com/nrkno/sofie-mos-connection/commit/bf4a0845a7f836015aa452db45c023debef94480))
29+
- connectionStatus now returns textual status, not just empty strings, addressing [#93](https://github.com/nrkno/sofie-mos-connection/issues/93) ([23d9b16](https://github.com/nrkno/sofie-mos-connection/commit/23d9b161d597223ed750a61dc7d87bacec4def51))
30+
- revert mosTime support of empty string. ([cfc036f](https://github.com/nrkno/sofie-mos-connection/commit/cfc036f5c2604ae193bc2d683e02ad2a9d6bb477))
31+
- roStoryMove: off-spec support of single storyID tag ([58ff304](https://github.com/nrkno/sofie-mos-connection/commit/58ff30429976655b30596181041449b3e8060ff9))
32+
- roStoryMoveMultiple: handle edge case of single storyID ([4684116](https://github.com/nrkno/sofie-mos-connection/commit/46841160704e11e6ac00bcdee0e3bbf828c54393))
2533

34+
### Features
2635

36+
- support for receiving Profile 1 <mosObj> and <mosListAll> messages. ([786710a](https://github.com/nrkno/sofie-mos-connection/commit/786710ad1d71015b76dc7e01cdc7a286a02c96a4))
2737

38+
## [3.0.7](https://github.com/nrkno/sofie-mos-connection/compare/v3.0.6...v3.0.7) (2023-12-27)
2839

40+
### Bug Fixes
2941

30-
## [3.0.4](https://github.com/nrkno/sofie-mos-connection/compare/v3.0.1...v3.0.4) (2023-06-09)
42+
- Add support for receiving roStoryX, roStoryY messages. ([a4c110e](https://github.com/nrkno/sofie-mos-connection/commit/a4c110e229134d11f1d7a755086d68b002281264))
3143

44+
## [3.0.5](https://github.com/nrkno/sofie-mos-connection/compare/v3.0.4...3.0.5) (2023-12-18)
3245

3346
### Bug Fixes
3447

35-
* handover logic should leave heartbearts ([d8ccca0](https://github.com/nrkno/sofie-mos-connection/commit/d8ccca0af14e5d3d3574fec4284b4df91336803d))
36-
48+
- better handling of incoming data chunks. Deals with multiple <mos> and </mos> tags. ([59cacb2](https://github.com/nrkno/sofie-mos-connection/commit/59cacb21c178ea14c7ad4c8771198e6ec656459c))
49+
- better handling of single xml elements ([f96ea1a](https://github.com/nrkno/sofie-mos-connection/commit/f96ea1a61cef385435d1088acc46cd1e25c5c4bf))
50+
- handle replies to roReq ([c100b4d](https://github.com/nrkno/sofie-mos-connection/commit/c100b4d017f21d45529c0c912754808f8a0431bc))
3751

52+
## [3.0.4](https://github.com/nrkno/sofie-mos-connection/compare/v3.0.1...v3.0.4) (2023-06-09)
3853

54+
### Bug Fixes
3955

56+
- handover logic should leave heartbearts ([d8ccca0](https://github.com/nrkno/sofie-mos-connection/commit/d8ccca0af14e5d3d3574fec4284b4df91336803d))
4057

4158
## [3.0.3](https://github.com/nrkno/sofie-mos-connection/compare/v3.0.2...v3.0.3) (2023-06-09)
4259

43-
4460
### Bug Fixes
4561

46-
* handover logic should leave heartbearts ([d8ccca0](https://github.com/nrkno/sofie-mos-connection/commit/d8ccca0af14e5d3d3574fec4284b4df91336803d))
47-
48-
49-
50-
62+
- handover logic should leave heartbearts ([d8ccca0](https://github.com/nrkno/sofie-mos-connection/commit/d8ccca0af14e5d3d3574fec4284b4df91336803d))
5163

5264
## [3.0.2](https://github.com/nrkno/sofie-mos-connection/compare/v3.0.1...v3.0.2) (2023-03-27)
5365

5466
**Note:** Version bump only for package @mos-connection/connector
5567

56-
57-
58-
59-
6068
# [3.0.0](https://github.com/nrkno/sofie-mos-connection/compare/v3.0.0-alpha.3...v3.0.0) (2023-02-03)
6169

6270
**Note:** Version bump only for package @mos-connection/connector
6371

64-
65-
66-
67-
6872
# [3.0.0-alpha.3](https://github.com/nrkno/sofie-mos-connection/compare/v3.0.0-alpha.2...v3.0.0-alpha.3) (2023-01-27)
6973

7074
**Note:** Version bump only for package @mos-connection/connector
7175

72-
73-
74-
75-
7676
# [3.0.0-alpha.2](https://github.com/nrkno/sofie-mos-connection/compare/v3.0.0-alpha.0...v3.0.0-alpha.2) (2023-01-27)
7777

7878
**Note:** Version bump only for package @mos-connection/connector
7979

80-
81-
82-
83-
8480
# [3.0.0-alpha.1](https://github.com/nrkno/sofie-mos-connection/compare/v3.0.0-alpha.0...3.0.0-alpha.1) (2023-01-27)
8581

8682
**Note:** Version bump only for package @mos-connection/connector
8783

88-
89-
90-
91-
9284
# [v3.0.0-alpha.0](https://github.com/nrkno/sofie-mos-connection/compare/2.0.1...v3.0.0-alpha.0) (2022-12-09)
9385

9486
### Bug Fixes

packages/connector/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mos-connection/connector",
3-
"version": "3.0.7",
3+
"version": "4.0.0",
44
"description": "MOS compliant TCP/IP Socket connection.",
55
"main": "dist/index.js",
66
"typings": "dist/index.d.ts",
@@ -29,8 +29,8 @@
2929
"/LICENSE"
3030
],
3131
"dependencies": {
32-
"@mos-connection/helper": "3.0.7",
33-
"@mos-connection/model": "3.0.7",
32+
"@mos-connection/helper": "4.0.0",
33+
"@mos-connection/model": "4.0.0",
3434
"iconv-lite": "^0.6.3",
3535
"tslib": "^2.5.3",
3636
"xml-js": "^1.6.11",

packages/examples/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"node": ">=14.18.0"
2424
},
2525
"dependencies": {
26-
"@mos-connection/connector": "3.0.7"
26+
"@mos-connection/connector": "4.0.0"
2727
},
2828
"prettier": "@sofie-automation/code-standard-preset/.prettierrc.json",
2929
"lint-staged": {

packages/helper/CHANGELOG.md

Lines changed: 13 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -3,85 +3,56 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6-
## [3.0.7](https://github.com/nrkno/sofie-mos-connection/compare/v3.0.6...v3.0.7) (2023-12-27)
7-
8-
**Note:** Version bump only for package @mos-connection/helper
6+
# [4.0.0](https://github.com/nrkno/sofie-mos-connection/compare/v3.0.7...v4.0.0) (2024-02-02)
97

8+
### Bug Fixes
109

10+
- better handling of non-spec errors. ([4b1f97c](https://github.com/nrkno/sofie-mos-connection/commit/4b1f97cf4112f465c353b482b35201fcaef9864e))
11+
- change how data fields is parsed, better handling of missing data. ([bf4a084](https://github.com/nrkno/sofie-mos-connection/commit/bf4a0845a7f836015aa452db45c023debef94480))
12+
- revert mosTime support of empty string. ([cfc036f](https://github.com/nrkno/sofie-mos-connection/commit/cfc036f5c2604ae193bc2d683e02ad2a9d6bb477))
1113

14+
## [3.0.7](https://github.com/nrkno/sofie-mos-connection/compare/v3.0.6...v3.0.7) (2023-12-27)
1215

16+
**Note:** Version bump only for package @mos-connection/helper
1317

1418
## [3.0.5](https://github.com/nrkno/sofie-mos-connection/compare/v3.0.4...3.0.5) (2023-12-18)
1519

16-
1720
### Bug Fixes
1821

19-
* better handling of single xml elements ([f96ea1a](https://github.com/nrkno/sofie-mos-connection/commit/f96ea1a61cef385435d1088acc46cd1e25c5c4bf))
20-
* case roStorySend one storyItem ([77dfff5](https://github.com/nrkno/sofie-mos-connection/commit/77dfff5c36c2dd7d42efa0932a561b800af636a4))
21-
22-
23-
24-
22+
- better handling of single xml elements ([f96ea1a](https://github.com/nrkno/sofie-mos-connection/commit/f96ea1a61cef385435d1088acc46cd1e25c5c4bf))
23+
- case roStorySend one storyItem ([77dfff5](https://github.com/nrkno/sofie-mos-connection/commit/77dfff5c36c2dd7d42efa0932a561b800af636a4))
2524

2625
## [3.0.4](https://github.com/nrkno/sofie-mos-connection/compare/v3.0.1...v3.0.4) (2023-06-09)
2726

28-
2927
### Bug Fixes
3028

31-
* minor improvement to RoAck ([7cb0bb6](https://github.com/nrkno/sofie-mos-connection/commit/7cb0bb68be07507a86a20615b3d0b751430e79f9))
32-
33-
34-
35-
29+
- minor improvement to RoAck ([7cb0bb6](https://github.com/nrkno/sofie-mos-connection/commit/7cb0bb68be07507a86a20615b3d0b751430e79f9))
3630

3731
## [3.0.2](https://github.com/nrkno/sofie-mos-connection/compare/v3.0.1...v3.0.2) (2023-03-27)
3832

39-
4033
### Bug Fixes
4134

42-
* minor improvement to RoAck ([7cb0bb6](https://github.com/nrkno/sofie-mos-connection/commit/7cb0bb68be07507a86a20615b3d0b751430e79f9))
43-
44-
45-
46-
35+
- minor improvement to RoAck ([7cb0bb6](https://github.com/nrkno/sofie-mos-connection/commit/7cb0bb68be07507a86a20615b3d0b751430e79f9))
4736

4837
# [3.0.0](https://github.com/nrkno/sofie-mos-connection/compare/v3.0.0-alpha.3...v3.0.0) (2023-02-03)
4938

5039
**Note:** Version bump only for package @mos-connection/helper
5140

52-
53-
54-
55-
5641
# [3.0.0-alpha.3](https://github.com/nrkno/sofie-mos-connection/compare/v3.0.0-alpha.2...v3.0.0-alpha.3) (2023-01-27)
5742

5843
**Note:** Version bump only for package @mos-connection/helper
5944

60-
61-
62-
63-
6445
# [3.0.0-alpha.2](https://github.com/nrkno/sofie-mos-connection/compare/v3.0.0-alpha.0...v3.0.0-alpha.2) (2023-01-27)
6546

66-
6747
### Bug Fixes
6848

69-
* add stringifyMosObject, an utility-function used to convert objects containing IMOSString128 etc to strings ([f3806ab](https://github.com/nrkno/sofie-mos-connection/commit/f3806ab4e72a02b450e91ab19fbbfca34c605caa))
70-
71-
72-
73-
49+
- add stringifyMosObject, an utility-function used to convert objects containing IMOSString128 etc to strings ([f3806ab](https://github.com/nrkno/sofie-mos-connection/commit/f3806ab4e72a02b450e91ab19fbbfca34c605caa))
7450

7551
# [3.0.0-alpha.1](https://github.com/nrkno/sofie-mos-connection/compare/v3.0.0-alpha.0...3.0.0-alpha.1) (2023-01-27)
7652

77-
7853
### Bug Fixes
7954

80-
* add stringifyMosObject, an utility-function used to convert objects containing IMOSString128 etc to strings ([f3806ab](https://github.com/nrkno/sofie-mos-connection/commit/f3806ab4e72a02b450e91ab19fbbfca34c605caa))
81-
82-
83-
84-
55+
- add stringifyMosObject, an utility-function used to convert objects containing IMOSString128 etc to strings ([f3806ab](https://github.com/nrkno/sofie-mos-connection/commit/f3806ab4e72a02b450e91ab19fbbfca34c605caa))
8556

8657
# [v3.0.0-alpha.0](https://github.com/nrkno/sofie-mos-connection/compare/2.0.1...v3.0.0-alpha.0) (2022-12-09)
8758

packages/helper/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mos-connection/helper",
3-
"version": "3.0.7",
3+
"version": "4.0.0",
44
"description": "Helper functions for the MOS-connection library",
55
"main": "dist/index.js",
66
"typings": "dist/index.d.ts",
@@ -29,7 +29,7 @@
2929
"/LICENSE"
3030
],
3131
"dependencies": {
32-
"@mos-connection/model": "3.0.7",
32+
"@mos-connection/model": "4.0.0",
3333
"iconv-lite": "^0.6.3",
3434
"tslib": "^2.5.3",
3535
"xml-js": "^1.6.11",

0 commit comments

Comments
 (0)