Skip to content

0.12.1.1 breaking change w.r.t. 0.12.0.3 #287

Description

@jkachmar

It looks as if vector-0.12.1.1 has renamed the Vector.Generic.mkType function to Vector.Generic.mkVecType.

cf. mkType @ 0.12.0.3 versus mkVecType @ 0.12.1.1

Activity

  1. lehins commented on Feb 1, 2020

    @lehins
    Contributor

    Not sure what was the motivation behind this change, but the proper way to fix this issue I see is bring back mkType as deprecated:

    mkType :: String -> DataType
    {-# INLINE mkType #-}
    {-# DEPRECATED mkType "In favor of mkVectType" #-}
    mkType = mkNoRepType

    and make new release vector-0.12.1.2, while deprecating vector-0.12.1.0 and vector-0.12.1.1

    @cartazio Would you be keen to making such release if I fix it in proposed way?

  2. cartazio commented on Feb 1, 2020

    @cartazio
    Contributor
  3. added a commit that references this issue on Feb 1, 2020
    9c1ae17
  4. lehins commented on Feb 1, 2020

    @lehins
    Contributor

    The fix is ready: #288

    The tool you two have used for doing api diffs?

    There was recently an announcement of policemen that could potentially help with that. Have not used it though, so can't vouch for it.
    https://www.reddit.com/r/haskell/comments/ew1vd5/blog_post_policeman_new_way_to_assign_pvp/

  5. chessai commented on Feb 1, 2020

    @chessai
    Member

    @lehins unfortunately per PVP depreciation entails a majour version bump. So maybe that isn't the right choice? Unsure.

  6. lehins commented on Feb 1, 2020

    @lehins
    Contributor

    PVP should have been fixed long time ago: haskell/pvp/issues/12

    But thats fine, I'll make a fix without DEPRECATE pragma.

  7. added a commit that references this issue on Feb 1, 2020
    716074a
  8. chessai commented on Feb 1, 2020

    @chessai
    Member

    @lehins i personally agree. Hopefully it will be updated soon. Unfortunately for now, we must adhere

  9. lehins commented on Feb 1, 2020

    @lehins
    Contributor

    @chessai I would not have my hopes up, it's been 3 years since that linked issue on pvp

  10. added 2 commits that reference this issue on Feb 1, 2020
    6e41782
    8eb550c
  11. jkachmar commented on Feb 1, 2020

    @jkachmar
    Author

    Unfortunately for now, we must adhere

    Must we?

  12. cartazio commented on Feb 1, 2020

    @cartazio
    Contributor

    FIXED

  13. added a commit that references this issue on Apr 11, 2020
    f3f127d
  14. added a commit that references this issue on Jun 5, 2020
    249a2e7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions