Skip to content

Conversation

@cywang117
Copy link
Contributor

@cywang117 cywang117 commented Sep 25, 2025

Switches to using balena-compose-parser for compose parsing functionality. Compose-parser is now the owner of composition types, parsing, and image descriptor generation, so these functionalities have been removed from balena-compose. Balena-compose remains the source of truth for the default composition (defaultComposition()).

As such, any consumers that previously imported balena-compose for its composition parsing functionality, should now import balena-compose-parser directly.

Change-type: major

@cywang117 cywang117 force-pushed the parse-compose-with-compose-parser branch 2 times, most recently from 52b3d11 to 4b246cc Compare September 29, 2025 15:09
@cywang117 cywang117 force-pushed the parse-compose-with-compose-parser branch 2 times, most recently from 3e3cbce to a0523fc Compare October 15, 2025 21:32
@cywang117
Copy link
Contributor Author

/rebase

Signed-off-by: Christina Ying Wang <[email protected]>
Change-type: major
Signed-off-by: Christina Ying Wang <[email protected]>
defaultComposition originally outputted a YAML string as
parse.normalize is able to receive YAML strings, but balena-compose-parser
only receives filepaths. Therefore, outputting a Composition object will reduce
complexity.

Change-type: patch
Signed-off-by: Christina Ying Wang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants