Code Monkey home page Code Monkey logo

Comments (5)

jrendel avatar jrendel commented on August 19, 2024

2.0.0 -> 2.1.0 was a non breaking change updated for Swift 2.3. However, I don't think that version updated properly in cocoa pods and may only be accessible in my Swift 2.3 branch.
2.1.0 -> 2.2.0 was breaking changes for Swift 3.0. Function names were changed to better fit the api guidelines in Swift 3.0
2.2.0 -> 2.2.1 was a minor change of one function and one property and I marked the old as deprecated so that they would not be breaking.

If you need to continue using the older version, you can update your pod file and indicate to remain on 2.0.0 until you are ready for the Swift 3 version.

Sorry for the confusion.

from swiftkeychainwrapper.

jrendel avatar jrendel commented on August 19, 2024

Also, I had issues getting the repo updated in Cocoapods. I was able to get those working last night and pushed 2.2.0. But then realized I needed the minor push for 2.2.1 as well. So that may be adding the confusion. But overall, in CocoaPods it was a major number change, from 2.0.0 to 2.2.1.

from swiftkeychainwrapper.

jrendel avatar jrendel commented on August 19, 2024

So I don't know what I was thinking but I completely missed the point of your original comment. You're right with the major changes for Swift 3, including the api interface changes, this should have been a Major version change. i.e. a 3.0 of the library. That was my mistake for not really thinking through it properly.

So at this point I'm not sure what is the best way to resolve the issue. Any suggestions?

I could resubmit to Cocoapods as a 3.0 but that doesn't help the fact that its too late for everyone upgrading today. I'll have to see if Cocoapods has a way to roll back / remove a trunk version maybe. I'm not entirely sure what is the best solution now.

from swiftkeychainwrapper.

jrendel avatar jrendel commented on August 19, 2024

Ok this should now be fixed. I found how to remove versions from CocoaPods, so I've removed 2.2.0 and 2.2.1, as you pointed out, these should have been major release. I felt this was the best fix and to take care of it right away before it affects anyone else.

I've pushed a 3.0.0 that now contains all the Swift 3 changes.

I'm going to leave this issue open for a couple days in case anyone else had the same issue. However, as 2.2.x only went up on CocoaPods last night, hopefully the number of users that updated without wanting the Swift 3 changes will be minimal.

If you happened to update to 2.2.x and didn't want to. Update your pod file to specify you only want version 2.0 (add , "2.0" after the pod name) and re-install.

If you did update to 2.2.x and want the changes, just do another pod update and you'll be on version 3.0. There are no changes between 2.2.1 and 3.0.0 (other than the version number).

from swiftkeychainwrapper.

le4ker avatar le4ker commented on August 19, 2024

Hi @jrendel ,

I wasn't very clear on my original post.
Thanks for fixing it.
I temporarily fixed my pod dependency on 2.0.0 (by dropping the ~>).
Thanks for providing the proper fix.

Cheers,
:panos

from swiftkeychainwrapper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.