Skip to content

feat(toolchain): add text plain object property for createToolchainEvents#46

Merged
omar-albastami merged 20 commits intoIBM:mainfrom
omar-albastami:main
Oct 16, 2024
Merged

feat(toolchain): add text plain object property for createToolchainEvents#46
omar-albastami merged 20 commits intoIBM:mainfrom
omar-albastami:main

Conversation

@omar-albastami
Copy link
Copy Markdown
Contributor

PR summary

Updated SDK error formats. Also replaced the TextPlain property with ToolchainEventPrototypeDataTextPlain in the ToolchainEventPrototypeData. This is a breaking change, and users will have to adjust accordingly.

PR Checklist

Please make sure that your PR fulfills the following requirements:

  • The commit message follows the Angular Commit Message Guidelines.
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

PR Type

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • New tests
  • Build/CI related changes
  • Documentation content changes
  • Other (please describe)

What is the current behavior?

Users can send text plain toolchain events by providing a string in the ToolchainEventPrototypeData.textPlain property

What is the new behavior?

Users can send text plain toolchain events by providing a string in the ToolchainEventPrototypeData.textPlain.content property

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

Omar Al Bastami added 20 commits September 3, 2024 10:41
Signed-off-by: Omar Al Bastami <omar.albastami@ibm.com>
Signed-off-by: Omar Al Bastami <omar.albastami@ibm.com>
Signed-off-by: Omar Al Bastami <omar.albastami@ibm.com>
Signed-off-by: Omar Al Bastami <omar.albastami@ibm.com>
Signed-off-by: Omar Al Bastami <omar.albastami@ibm.com>
Signed-off-by: Omar Al Bastami <omar.albastami@ibm.com>
Signed-off-by: Omar Al Bastami <omar.albastami@ibm.com>
Signed-off-by: Omar Al Bastami <omar.albastami@ibm.com>
Signed-off-by: Omar Al Bastami <omar.albastami@ibm.com>
Signed-off-by: Omar Al Bastami <omar.albastami@ibm.com>
Signed-off-by: Omar Al Bastami <omar.albastami@ibm.com>
Signed-off-by: Omar Al Bastami <omar.albastami@ibm.com>
Signed-off-by: Omar Al Bastami <omar.albastami@ibm.com>
Signed-off-by: Omar Al Bastami <omar.albastami@ibm.com>
Signed-off-by: Omar Al Bastami <omar.albastami@ibm.com>
Signed-off-by: Omar Al Bastami <omar.albastami@ibm.com>
Signed-off-by: Omar Al Bastami <omar.albastami@ibm.com>
…ent function

BREAKING CHANGE: the textPlain string property is being replaced by a ToolchainEventPrototypeDataTextPlain object. String values must be provided using the ToolchainEventPrototypeDataTextPlain.content property

Signed-off-by: Omar Al Bastami <omar.albastami@ibm.com>
Signed-off-by: Omar Al Bastami <omar.albastami@ibm.com>
@briangleeson briangleeson self-requested a review October 16, 2024 09:14
Copy link
Copy Markdown
Member

@briangleeson briangleeson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@omar-albastami omar-albastami merged commit 16c8c0c into IBM:main Oct 16, 2024
briangleeson pushed a commit that referenced this pull request Oct 16, 2024
# [2.0.0](1.9.0...2.0.0) (2024-10-16)

### Features

* **toolchain:** add text plain object property for createToolchainEvents ([#46](#46)) ([16c8c0c](16c8c0c))

### BREAKING CHANGES

* **toolchain:** the textPlain string property is being replaced by a ToolchainEventPrototypeDataTextPlain object. String values must be provided using the ToolchainEventPrototypeDataTextPlain.content property

Signed-off-by: Omar Al Bastami <omar.albastami@ibm.com>

* fix to test

Signed-off-by: Omar Al Bastami <omar.albastami@ibm.com>
@briangleeson
Copy link
Copy Markdown
Member

🎉 This PR is included in version 2.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants