Skip to content

Correct history for issued_to + fix changelog for Estimates #73

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

Merged
merged 8 commits into from
Jul 29, 2022

Conversation

pcothenet
Copy link
Contributor

@pcothenet pcothenet commented Jul 29, 2022

What

  • Correct the changelog for issued_to
  • Correct the changelog for the names of the estimate methods
  • Update the names of some internals

Why

  • Correctly document the breaking changes
  • Fix the documentation

SDK Release Checklist

  • Have you added an integration test for the changes?
  • Have you built the package 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?

Comment on lines +19 to +25
- Renames the `issuedTo` parameter for `orders` to `issued_to`.

## [1.23.0] - 2022-06-03

### Added

- Adds support for the `issued_to` parameter on `orders`, to add support for creating and placing orders on behalf of another party.
- Adds support for the `issuedTo` parameter on `orders`, to add support for creating and placing orders on behalf of another party.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@holtbp fixing the timeline here.

Comment on lines 114 to 110
if (id === undefined || id === null) {
if (_id === undefined || _id === null) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't understand this change, this seems incorrect.

const _placeOrderRequest = PlaceOrderRequest.constructFromObject(
opts,
new CreateOrderRequest()
);
let postBody = _placeOrderRequest;
let postBody = opts['placeOrderRequest'];
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Also strange, investigating.

import V1OrdersIssuedTo from './V1OrdersIssuedTo';
import OrderIssuedTo from './OrderIssuedTo';
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Avoids introducing this weird solo V1 file (this change is due to using a reusable schema for order_issued_to in swagger).

Comment on lines +17 to +25
### Breaking

- Renames the `issuedTo` parameter for `orders` to `issued_to`.

## [1.23.0] - 2022-06-03

### Added

- Adds support for the `issued_to` parameter on `orders`, to add support for creating and placing orders on behalf of another party.
- Adds support for the `issuedTo` parameter on `orders`, to add support for creating and placing orders on behalf of another party.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@holtbp I'm rewriting the timeline here.

@pcothenet pcothenet changed the title Pc/issued to Correct history for issued_to + fix changelog for Estimates Jul 29, 2022
@pcothenet pcothenet marked this pull request as ready for review July 29, 2022 01:36
@pcothenet pcothenet requested a review from holtbp July 29, 2022 02:05
@pcothenet pcothenet merged commit e895ca2 into main Jul 29, 2022
@pcothenet pcothenet deleted the pc/issued_to branch July 29, 2022 02:08
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