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

version 0.18.0 #680

Merged
merged 5 commits into from
Nov 7, 2018
Merged

version 0.18.0 #680

merged 5 commits into from
Nov 7, 2018

Conversation

sodiumjoe
Copy link
Contributor

  • [ ] Tested on all platforms changed
  • [ ] Added an entry to CHANGELOG.md if knowledge of this change could be valuable to users
  • [ ] Updated documentation to reflect any user-facing changes, including notes of platform-specific behavior
  • [ ] Created an example program if it would help users understand this functionality

@sodiumjoe sodiumjoe mentioned this pull request Oct 20, 2018
@elinorbgr
Copy link
Contributor

elinorbgr commented Oct 20, 2018

I've added a note in the changelog precising that F16-F24 was a breaking change. That's unfortunate, I was hoping we could have this release without breaking changes.

While we are at it, I'll check if there are other breaking PRs soon-to-be-merged that we might want to merge before the release. (EDIT: Ok, I don't see any other things that would be both breaking and soon to be merged in the pending PRs.)

@atouchet
Copy link

[dependencies] winit = "0.17"

in the readme should be updated as well.

@sodiumjoe
Copy link
Contributor Author

fixed readme

@sodiumjoe
Copy link
Contributor Author

rebased master

@francesca64
Copy link
Member

Sorry I've been silent on this! There are two concerns that need to be addressed:

  1. update to image 0.20 #683 broke Rust 1.24.1 compatibility, which will be resolved by Use Rust 1.24.1 as minimum supported version image-rs/image#828.
  2. Make views explicitly layer-backed on macOS Mojave. #685 could be considered an upcoming breaking change, since it requires cocoa 0.18. We're currently using cocoa 0.17, and a type from that is part of our public API in a very minor way. I doubt that impl has ever been used by consumers (or was ever intended to be), so it's probably a good idea to just prevent it from being exposed.

@Osspial
Copy link
Contributor

Osspial commented Oct 31, 2018

Could we also merge #652 for 0.18? I think all issues with that have been resolved.

@rukai
Copy link
Contributor

rukai commented Nov 3, 2018

@sodiumjoe can you please set the version of image crate to 0.20.1. This will ensure users of winit have the correct version of image without having to run cargo update.

Edit: Also, someone with mac os is going to need to address francesca's second issue, so that upgrading cocoa version isn't a breaking change in the future.

@sodiumjoe
Copy link
Contributor Author

ok, bumped image dep.

I'm on macos, but I'm not sure what the second thing is. Just delete that impl and update the changelog?

@francesca64
Copy link
Member

That impl is used internally here: https://github.com/tomaka/winit/blob/0fca8e8cb57f0b4b03bc12b1b17bec5855e7ec7e/src/platform/macos/window.rs#L720

So we either need to prevent the impl from being exposed (if that's possible?) or just change it into a regular pub(crate) method. Either way, it should live in the window module, since having private stuff in the os modules is always a bit confusing.

@elinorbgr
Copy link
Contributor

So we either need to prevent the impl from being exposed (if that's possible?)

I don't think that is possible, unless the type which has the impl is private, of course.

@sodiumjoe
Copy link
Contributor Author

rebased master again, i think that was all the blockers

@francesca64 francesca64 merged commit 30aa5a5 into rust-windowing:master Nov 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

7 participants