Skip to content
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

Stellar Protocol 11 Compatibility #186

Merged
merged 5 commits into from
May 1, 2019
Merged

Stellar Protocol 11 Compatibility #186

merged 5 commits into from
May 1, 2019

Conversation

fnando
Copy link
Member

@fnando fnando commented May 1, 2019

Close #179

  • rename manage_offer to manage_sell_offer
  • rename create_passive_offer to create_passive_sell_offer
  • add manage_buy_offer (CAP-0006)

@fnando fnando changed the title Catchup with protocol v11 (Close #179) Catchup with protocol v11 May 1, 2019
@fnando
Copy link
Member Author

fnando commented May 1, 2019

@bartekn @morleyzhi this is up for review.

@fnando fnando marked this pull request as ready for review May 1, 2019 19:54
@fnando fnando changed the title Catchup with protocol v11 Stellar Protocol 11 Compatibility May 1, 2019
Copy link
Contributor

@morleyzhi morleyzhi left a comment

Choose a reason for hiding this comment

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

@fnando My only suggestion here is to update the changelog right now, if only to signal to whoever releases this that a breaking change was made. (Since it'll probably be me, I'll remember, but just in case I don't)

@fnando
Copy link
Member Author

fnando commented May 1, 2019

@morleyzhi good call. Totally forgot about the changelog. Just pushed the update.

- Add Stellar Protocol 11 compatibility (breaking change)
- Rename `manage_offer` to `manage_sell_offer`.
- Rename `create_passive_offer` to `create_passive_sell_offer`.
- Add `manage_buy_offer`.
Copy link
Contributor

Choose a reason for hiding this comment

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

Some things I noticed:

  • The breaking change warning isn't super visible. The changelog should have earlier updates that bold the words and put it at the beginning, I think it's worth maintaining that convention
  • If I'm just a JS dev, I might not understand what implications this has to the API of the library, so it might make sense to frame this in terms of the library exports that are being added (I guess it's renaming Operation.manageOffer to Operation.manageSellOffer?)

@morleyzhi morleyzhi merged commit 92f7802 into stellar:master May 1, 2019
@fnando fnando deleted the catchup-with-protocol-v11 branch May 2, 2019 01:24
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.

Stellar Protocol 11 Compatibility
2 participants