Skip to content

Commit

Permalink
v4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nytamin committed Feb 2, 2024
1 parent 23d9b16 commit b9a544a
Show file tree
Hide file tree
Showing 11 changed files with 110 additions and 138 deletions.
37 changes: 37 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,43 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [4.0.0](https://github.com/nrkno/tv-automation-mos-connection/compare/v3.0.7...v4.0.0) (2024-02-02)

### ⚠ BREAKING CHANGES

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

**Migration guide:**

```typescript
// Before:
const mosObjs = await mosDevice.sendRequestAllMOSObjects()

// After:
mosDevice.onMOSObjects((mosObjs: IMOSObject[]) => {
//
})
const ack = await mosDevice.sendRequestAllMOSObjects()
```

### Bug Fixes

* better handling of non-spec errors. ([4b1f97c](https://github.com/nrkno/tv-automation-mos-connection/commit/4b1f97cf4112f465c353b482b35201fcaef9864e))
* change how data fields is parsed, better handling of missing data. ([bf4a084](https://github.com/nrkno/tv-automation-mos-connection/commit/bf4a0845a7f836015aa452db45c023debef94480))
* 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))
* revert mosTime support of empty string. ([cfc036f](https://github.com/nrkno/tv-automation-mos-connection/commit/cfc036f5c2604ae193bc2d683e02ad2a9d6bb477))
* roStoryMove: off-spec support of single storyID tag ([58ff304](https://github.com/nrkno/tv-automation-mos-connection/commit/58ff30429976655b30596181041449b3e8060ff9))
* roStoryMoveMultiple: handle edge case of single storyID ([4684116](https://github.com/nrkno/tv-automation-mos-connection/commit/46841160704e11e6ac00bcdee0e3bbf828c54393))


### Features

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





## [3.0.7](https://github.com/nrkno/tv-automation-mos-connection/compare/v3.0.6...v3.0.7) (2023-12-27)


Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"packages": [
"packages/*"
],
"version": "3.0.7",
"version": "4.0.0",
"npmClient": "yarn",
"useWorkspaces": true
}
72 changes: 32 additions & 40 deletions packages/connector/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,92 +3,84 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

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


### Bug Fixes

* Add support for receiving roStoryX, roStoryY messages. ([a4c110e](https://github.com/nrkno/sofie-mos-connection/commit/a4c110e229134d11f1d7a755086d68b002281264))
# [4.0.0](https://github.com/nrkno/sofie-mos-connection/compare/v3.0.7...v4.0.0) (2024-02-02)

### ⚠ BREAKING CHANGES

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

**Migration guide:**

```typescript
// Before:
const mosObjs = await mosDevice.sendRequestAllMOSObjects()

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

// After:
mosDevice.onMOSObjects((mosObjs: IMOSObject[]) => {
//
})
const ack = await mosDevice.sendRequestAllMOSObjects()
```

### Bug Fixes

* better handling of incoming data chunks. Deals with multiple <mos> and </mos> tags. ([59cacb2](https://github.com/nrkno/sofie-mos-connection/commit/59cacb21c178ea14c7ad4c8771198e6ec656459c))
* better handling of single xml elements ([f96ea1a](https://github.com/nrkno/sofie-mos-connection/commit/f96ea1a61cef385435d1088acc46cd1e25c5c4bf))
* handle replies to roReq ([c100b4d](https://github.com/nrkno/sofie-mos-connection/commit/c100b4d017f21d45529c0c912754808f8a0431bc))
- better handling of non-spec errors. ([4b1f97c](https://github.com/nrkno/sofie-mos-connection/commit/4b1f97cf4112f465c353b482b35201fcaef9864e))
- change how data fields is parsed, better handling of missing data. ([bf4a084](https://github.com/nrkno/sofie-mos-connection/commit/bf4a0845a7f836015aa452db45c023debef94480))
- 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))
- revert mosTime support of empty string. ([cfc036f](https://github.com/nrkno/sofie-mos-connection/commit/cfc036f5c2604ae193bc2d683e02ad2a9d6bb477))
- roStoryMove: off-spec support of single storyID tag ([58ff304](https://github.com/nrkno/sofie-mos-connection/commit/58ff30429976655b30596181041449b3e8060ff9))
- roStoryMoveMultiple: handle edge case of single storyID ([4684116](https://github.com/nrkno/sofie-mos-connection/commit/46841160704e11e6ac00bcdee0e3bbf828c54393))

### Features

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

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

### Bug Fixes

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

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

### Bug Fixes

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

- better handling of incoming data chunks. Deals with multiple <mos> and </mos> tags. ([59cacb2](https://github.com/nrkno/sofie-mos-connection/commit/59cacb21c178ea14c7ad4c8771198e6ec656459c))
- better handling of single xml elements ([f96ea1a](https://github.com/nrkno/sofie-mos-connection/commit/f96ea1a61cef385435d1088acc46cd1e25c5c4bf))
- handle replies to roReq ([c100b4d](https://github.com/nrkno/sofie-mos-connection/commit/c100b4d017f21d45529c0c912754808f8a0431bc))

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

### Bug Fixes

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

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


### Bug Fixes

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




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

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

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





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

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





# [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)

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





# [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)

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





# [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)

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





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

### Bug Fixes
Expand Down
6 changes: 3 additions & 3 deletions packages/connector/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mos-connection/connector",
"version": "3.0.7",
"version": "4.0.0",
"description": "MOS compliant TCP/IP Socket connection.",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand Down Expand Up @@ -29,8 +29,8 @@
"/LICENSE"
],
"dependencies": {
"@mos-connection/helper": "3.0.7",
"@mos-connection/model": "3.0.7",
"@mos-connection/helper": "4.0.0",
"@mos-connection/model": "4.0.0",
"iconv-lite": "^0.6.3",
"tslib": "^2.5.3",
"xml-js": "^1.6.11",
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"node": ">=14.18.0"
},
"dependencies": {
"@mos-connection/connector": "3.0.7"
"@mos-connection/connector": "4.0.0"
},
"prettier": "@sofie-automation/code-standard-preset/.prettierrc.json",
"lint-staged": {
Expand Down
55 changes: 13 additions & 42 deletions packages/helper/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,85 +3,56 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

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

**Note:** Version bump only for package @mos-connection/helper
# [4.0.0](https://github.com/nrkno/sofie-mos-connection/compare/v3.0.7...v4.0.0) (2024-02-02)

### Bug Fixes

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

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

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

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


### Bug Fixes

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




- better handling of single xml elements ([f96ea1a](https://github.com/nrkno/sofie-mos-connection/commit/f96ea1a61cef385435d1088acc46cd1e25c5c4bf))
- case roStorySend one storyItem ([77dfff5](https://github.com/nrkno/sofie-mos-connection/commit/77dfff5c36c2dd7d42efa0932a561b800af636a4))

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


### Bug Fixes

* minor improvement to RoAck ([7cb0bb6](https://github.com/nrkno/sofie-mos-connection/commit/7cb0bb68be07507a86a20615b3d0b751430e79f9))




- minor improvement to RoAck ([7cb0bb6](https://github.com/nrkno/sofie-mos-connection/commit/7cb0bb68be07507a86a20615b3d0b751430e79f9))

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


### Bug Fixes

* minor improvement to RoAck ([7cb0bb6](https://github.com/nrkno/sofie-mos-connection/commit/7cb0bb68be07507a86a20615b3d0b751430e79f9))




- minor improvement to RoAck ([7cb0bb6](https://github.com/nrkno/sofie-mos-connection/commit/7cb0bb68be07507a86a20615b3d0b751430e79f9))

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

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





# [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)

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





# [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)


### Bug Fixes

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




- add stringifyMosObject, an utility-function used to convert objects containing IMOSString128 etc to strings ([f3806ab](https://github.com/nrkno/sofie-mos-connection/commit/f3806ab4e72a02b450e91ab19fbbfca34c605caa))

# [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)


### Bug Fixes

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




- add stringifyMosObject, an utility-function used to convert objects containing IMOSString128 etc to strings ([f3806ab](https://github.com/nrkno/sofie-mos-connection/commit/f3806ab4e72a02b450e91ab19fbbfca34c605caa))

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

Expand Down
4 changes: 2 additions & 2 deletions packages/helper/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mos-connection/helper",
"version": "3.0.7",
"version": "4.0.0",
"description": "Helper functions for the MOS-connection library",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand Down Expand Up @@ -29,7 +29,7 @@
"/LICENSE"
],
"dependencies": {
"@mos-connection/model": "3.0.7",
"@mos-connection/model": "4.0.0",
"iconv-lite": "^0.6.3",
"tslib": "^2.5.3",
"xml-js": "^1.6.11",
Expand Down
Loading

0 comments on commit b9a544a

Please sign in to comment.