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

For 2.7.0.0 #310

Merged
merged 19 commits into from
Mar 23, 2018
Merged

For 2.7.0.0 #310

merged 19 commits into from
Mar 23, 2018

Conversation

kazu-yamamoto
Copy link
Collaborator

  • The old 2.7 branch is now 2.7-old
  • The new 2.7 was created on 2.6 (They point the same commit at this moment)

This PR is to recover 2.7 based on 2.6.
No deletions. Deprecations only.

Some APIs should be implemented or fixed as discussed in #296 before we release v2.7.0.0.

eborden and others added 17 commits February 28, 2018 11:08
This module has been kept for backwards compatibility for a long time.
It has been unnoficially deprecated via documentation for a long time
(since 2014), but has never been given a proper deprecation flag. This
flag signals that using this module is an error and should be avoided,
something that can easily be missed by not reading the module summary.
We introduced warnings on `String` based functions in 2016. It seems
reasonable to upgrade these warnings to `DEPRECATED`. The eventual goal
here would be to remove these functions in a major epoch like 3.0.0.0.
@kazu-yamamoto kazu-yamamoto requested a review from eborden March 2, 2018 01:44
@kazu-yamamoto
Copy link
Collaborator Author

@eborden You can review this independent on #312 because 2.7 includes #271. Now CI passed.

@@ -191,6 +184,8 @@ packSocketType' stype = case Just stype of
#endif
_ -> Nothing

{-# DEPRECATED packSocketType "Don't use this" #-}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Could we get some reasoning in place for these "Don't use this" messages? Why shouldn't we use them?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Could you clean up the other instances of "Don't use this"?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

OK. I changed three "Don't use this".

@kazu-yamamoto
Copy link
Collaborator Author

@eborden Ping.

Copy link
Collaborator

@eborden eborden left a comment

Choose a reason for hiding this comment

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

Great! Thanks for cleaning those up.

@kazu-yamamoto kazu-yamamoto merged commit 655e2f5 into haskell:2.7 Mar 23, 2018
@kazu-yamamoto kazu-yamamoto deleted the poc-2.7.0.0 branch March 23, 2018 01:15
@kazu-yamamoto
Copy link
Collaborator Author

Merged. Thank you for your review!

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