analytics.js-integrations icon indicating copy to clipboard operation
analytics.js-integrations copied to clipboard

upgrade castle integration

Open bartes opened this issue 3 years ago • 1 comments

What does this PR do?

  • switched castle integration to the new castle script (https://www.npmjs.com/package/@castleio/castle-js). old one (https://www.npmjs.com/package/castle.js) is no longer maintained. Maps segment.page to https://docs.castle.io/docs/sdk-browser#castlepage and segment.track to https://docs.castle.io/docs/sdk-browser#castlecustom .

Are there breaking changes in this PR?

  • no , legacy integrations should work without any changes

Testing Testing completed successfully using unit test, and by updating 2 integrations with the dev:build

  • test suite has been updated and extended accordingly

Any background context you want to provide?

  • this PR switches setup to the new script which includes additional features

Is there parity with the server-side/android/iOS integration components (if applicable)?

  • not yet

Does this require a new integration setting? If so, please explain how the new setting works

  • no (but some legacy options are no longer needed, and were removed)

Links to helpful docs and other external resources

  • https://docs.castle.io/docs/sdk-browser

bartes avatar Apr 01 '22 11:04 bartes

Commenting so that I'll be notified when this PR is merged (so that I can merge the associated docs PR!)

forstisabella avatar Apr 04 '22 14:04 forstisabella

@bartes Thanks for opening this PR and sorry for the delay in getting someone to review it.

Overall this looks great. The HISTORY.md needs a minor update and the PR needs a merge from the master branch due to some conflicts but otherwise I don't see any issues with these changes!

Great, thanks for the review. The requested updates have been applied.

bartes avatar Sep 06 '22 12:09 bartes

thanks @chrisradek - and it's done 👍

bartes avatar Sep 15 '22 15:09 bartes

Hi @chrisradek . Not sure what is the merging process looks like. Do you think we could have this merged this week ?

bartes avatar Sep 19 '22 13:09 bartes

Merging into a feature branch to trigger ci, then will merge into master!

chrisradek avatar Sep 19 '22 20:09 chrisradek

@bartes This has now been merged into master via #700

We're currently in the middle of deploying updates so this change will be deployed either later this week or early next week.

chrisradek avatar Sep 19 '22 21:09 chrisradek