Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update structurizr packages to v3.2.1 #1802

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ggrossetie
Copy link
Member

@ggrossetie ggrossetie commented Nov 5, 2024

This PR contains the following updates:

Package Type Update Change
com.structurizr:structurizr-core compile minor 3.0.0 -> 3.2.1
com.structurizr:structurizr-export compile minor 3.0.0 -> 3.2.1
com.structurizr:structurizr-dsl compile minor 3.0.0 -> 3.2.1

Release Notes

structurizr/java

v3.2.1

Compare Source

v3.2.0

Compare Source

  • structurizr-dsl: Adds support for element!= expressions.
  • structurizr-dsl: !elements and !relationships now work inside deployment environment blocks.
  • structurizr-dsl: description and technology now work inside !elements blocks.

v3.1.0

Compare Source

  • structurizr-client: Workspace archive file now includes the branch name in the filename.
  • structurizr-component: Adds ImplementationWithPrefixSupportingTypesStrategy.
  • structurizr-component: Adds ImplementationWithSuffixSupportingTypesStrategy.
  • structurizr-dsl: Adds supportingTypes implementation-prefix <prefix>.
  • structurizr-dsl: Adds supportingTypes implementation-suffix <suffix>.
  • structurizr-dsl: Fixes https://github.com/structurizr/java/issues/346 (// comment \ joins lines).
  • structurizr-dsl: Anonymous identifiers for relationships (i.e. relationships not assigned to an identifier) are excluded from the model, and therefore also excluded from the serialised JSON.
  • structurizr-dsl: Adds a way to configure whether the DSL source is retained via a workspace property named structurizr.dsl.source - true (default) or false.
  • structurizr-dsl: Adds the ability to define a PlantUML/Mermaid image view that is an export of a workspace view.
  • structurizr-dsl: Adds support for url, properties, and perspectives nested inside !elements and !relationships.
  • structurizr-dsl: Fixes https://github.com/structurizr/java/issues/347 (->container-> expression does not work as expected in deployment view).
  • structurizr-dsl: Adds support for !elements group (https://github.com/structurizr/java/issues/351).

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

@ggrossetie ggrossetie added the 🔗 dependencies Pull requests that update a dependency file label Nov 5, 2024
@ggrossetie
Copy link
Member Author

Seems like a Jackson XML conflict:

java.lang.NoSuchMethodError: 'com.fasterxml.jackson.core.JsonParser$NumberTypeFP com.fasterxml.jackson.core.JsonParser.getNumberTypeFP()'

@ggrossetie ggrossetie force-pushed the renovate/structurizr-packages branch from be4818b to 45366f3 Compare November 12, 2024 02:26
@ggrossetie ggrossetie changed the title chore(deps): update structurizr packages to v3.1.0 chore(deps): update structurizr packages to v3.2.0 Dec 7, 2024
@ggrossetie ggrossetie force-pushed the renovate/structurizr-packages branch from 45366f3 to 3904c11 Compare December 7, 2024 02:32
@ggrossetie ggrossetie changed the title chore(deps): update structurizr packages to v3.2.0 chore(deps): update structurizr packages to v3.2.1 Dec 11, 2024
@ggrossetie ggrossetie force-pushed the renovate/structurizr-packages branch from 3904c11 to 18c4850 Compare December 11, 2024 02:34
@quentinproust
Copy link

Hello, I don't know if this message will help.
I had structurizr diagrams that didn't rendered correctly with kroki where they rendered ok on structurizr lite.
I did some tests locally by bumping the structurizr version used by kroki to v3.2.1 and my diagrams rendered the same way as structurizr.

I run the tests and had the same errors : java.lang.NoSuchMethodError: 'com.fasterxml.jackson.core.JsonParser$NumberTypeFP com.fasterxml.jackson.core.JsonParser.getNumberTypeFP()'

The method has been added by jackson-core in v2.17 : https://github.com/FasterXML/jackson-core/blob/2.19/src/main/java/com/fasterxml/jackson/core/JsonParser.java#L1800

When looking at the maven dependency tree, I see :

  • io.vertx:vertx-core:4.5.10 use com.fasterxml.jackson.core:jackson-core:2.16.1
  • com.structurizr:structurizr-client:3.2.1 use com.fasterxml.jackson.core:jackson-databind:2.18.1

I tried forcing the jackson version in pom.xml by addind :

<dependency>
    <groupId>com.fasterxml.jackson.core</groupId>
    <artifactId>jackson-core</artifactId>
    <version>2.18.2</version>
</dependency>

The tests are now in success.

From what I see, Vert.x doesn't seem to update jackson in the 5.0.0CR3.

I don't know how you prefer to handle this but I thought these info might save you some time 😄

Note : to be honest, I disabled the test ServerSSLTest as I had the error OpenJdkSelfSignedCertGenerator not supported on the used JDK version (before and after change structurizr and jackson version). My working environment just crashed, I couldn't run the smoke tests but the maven packaging worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔗 dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants