Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

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

Avatar

Level 5

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

@aem-enthu27 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 5

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 @aem-enthu27 ,

 

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