Skip to content

API version 2.1.0 See https://docs.patch.io/#/changelog for changes#85

Merged
venalen merged 2 commits intomainfrom
venalen/node-sdk-2.1.0
Apr 4, 2023
Merged

API version 2.1.0 See https://docs.patch.io/#/changelog for changes#85
venalen merged 2 commits intomainfrom
venalen/node-sdk-2.1.0

Conversation

@venalen
Copy link
Contributor

@venalen venalen commented Mar 24, 2023

What

API version 2.1.0. See https://docs.patch.io/#/changelog for changes

Why

Version 2.1.0 adds support for

  • vintage_start_year and vintage_end_year for orders
  • vintage_start_year and vintage_end_year for order line items
  • vintage_start_year and vintage_end_year for inventory
  • carrier_scac field to patch.estimates.createRoadShippingEstimate

SDK Release Checklist

  • Have you added an integration test for the changes?
  • Have you built the library locally and made queries against it successfully?
  • Did you update the changelog?
  • Did you bump the package version?
  • If endpoints were removed, did you manually remove the corresponding files? (this should be rare)
  • For breaking changes, did you plan for the release of the new SDK versions and deploy the API to production?

@venalen venalen force-pushed the venalen/node-sdk-2.1.0 branch 3 times, most recently from 890a091 to 6753e8a Compare March 25, 2023 20:01
@venalen venalen marked this pull request as ready for review March 27, 2023 15:43
@venalen venalen requested a review from a team March 27, 2023 15:44
@pcothenet
Copy link
Contributor

Looks like #87 created a conflict with yarn.lock. Can you rebuild it and update the PR?

@venalen venalen force-pushed the venalen/node-sdk-2.1.0 branch from 6753e8a to c5107ce Compare March 27, 2023 16:33
@venalen venalen force-pushed the venalen/node-sdk-2.1.0 branch from 53235f0 to d54e14f Compare April 4, 2023 21:06
const estimate = createEstimateResponse.data;

expect(estimate.type).to.be.eq('shipping');
expect(estimate.type).to.be.eq('ecommerce');
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're now re-routing to the ecommerce endpoint: https://github.com/patch-technology/patch/pull/5588

@venalen venalen force-pushed the venalen/node-sdk-2.1.0 branch from d54e14f to 4fd0baf Compare April 4, 2023 21:14
@venalen venalen force-pushed the venalen/node-sdk-2.1.0 branch from 4fd0baf to 2997fee Compare April 4, 2023 21:53
@venalen venalen merged commit b4c8085 into main Apr 4, 2023
@venalen venalen deleted the venalen/node-sdk-2.1.0 branch April 4, 2023 22:06
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