krakenjs / post-robot

Cross domain post-messaging on the client side using a simple listener/client pattern.
Apache License 2.0
741 stars 92 forks source link

Add breaking changes in release notes #72

Closed dackmin closed 5 years ago

dackmin commented 5 years ago

As I stated in another issue (#71), some breaking changes have been shipped with v10 but are not mentioned anywhere, such as:

It would be great to add a list of breaking changes made between two major releases :)

GioSensation commented 5 years ago

I strongly support this proposal.

barnesicle commented 5 years ago

postRobot.CONFIG.LOG_LEVEL was removed. How do you change log levels now?

barnesicle commented 5 years ago

In additional to my question above, from what I can see, functions client() and listener() were also removed? Is there a reason why they were?

bluepnume commented 5 years ago

There should only be logs in debug mode now. By default that's off, so you shouldn't see any logs. I probably need to set up a webpack build to generate a dev bundle with debug mode, for local testing.

The latest release attempts to simplify the public interface of post-robot a fair bit. on and send should cover every possible use case. Please let me know if you find something they don't cover.

bluepnume commented 5 years ago

Agreed on the proposal for a changelog 👍