Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

AEMaaCS : How to update CIF Core Components from 1.3.0 to 2.1.0

Avatar

Level 4

Hi,

 

How to update cif core components from 1.3.0 to 2.1.0.

I think during creation of project using archtype with includeCommerce=y flag , will by default include cif core components as part of our project.

 

Now If I have to upgrade how should I update?

Should I change the version number in main pom.xml as shown below.

<core.cif.components.version>2.1.0</core.cif.components.version>

But my question is, since I know that version number I can update but what about compatible version of graphql?

From where can i get the all details of these , bcz I am seeing below items as well in pom.xm

<graphql.client.version>1.7.4</graphql.client.version>
<magento.graphql.version>9.0.0-magento242ee</magento.graphql.version>

 From where can I get the relevant version number for these ? I checked the venia reference and changed as per the venia project but is there any document where all these documented?

 

Please help

4 Replies

Avatar

Community Advisor

@ganeshbyale wrote:

Hi,

 

How to update cif core components from 1.3.0 to 2.1.0.

I think during creation of project using archtype with includeCommerce=y flag , will by default include cif core components as part of our project.

 

Now If I have to upgrade how should I update?

Should I change the version number in main pom.xml as shown below.

<core.cif.components.version>2.1.0</core.cif.components.version>

But my question is, since I know that version number I can update but what about compatible version of graphql?

From where can i get the all details of these , bcz I am seeing below items as well in pom.xm

<graphql.client.version>1.7.4</graphql.client.version>
<magento.graphql.version>9.0.0-magento242ee</magento.graphql.version>

 From where can I get the relevant version number for these ? I checked the venia reference and changed as per the venia project but is there any document where all these documented?

 

Please help



Hi,

Yes you need to update pom file 

Once you update the version in pom you can build and see as well as you need to check in depfinder the corresponding dependencies.

Regards 

Ankur

 

Avatar

Level 4

Thanks For the reply.

I can update 

core.cif.components.version

but what about these two

<graphql.client.version>1.7.4</graphql.client.version>
<magento.graphql.version>9.0.0-magento242ee</magento.graphql.version>

What is the correct version of these.

And also what is the role depFinder in here, could you please also elaborate this one as well.

 

Thanks

Ganesh 

Avatar

Community Advisor

Hi @ganeshbyale ,

 

you can always refer the release notes on their GitHub repo.
link for Adobe commerce(magento) : https://github.com/adobe/commerce-cif-magento-graphql  and

link for graphQL git : https://github.com/orgs/graphql/repositories 

this way you can cross check the version before you update the POM.


I hope this helps,

Thank you.

 

-Sravan