Skip to content
This repository was archived by the owner on Aug 30, 2023. It is now read-only.

Conversation

@streeter
Copy link
Contributor

This allows one to create a separate client instance without worrying if the client instance will be set as the singleton. The class still supports a singleton, but must be explicitly set.

In addition, this uses the instancetype return types for better complier inference.

Fixes #41

This allows one to create a separate client instance without worrying if
the client instance will be set as the singleton. The class still
supports a singleton, but must be explicitly set.

In addition, this uses the instancetype return types for better
complier inference.
@asbjornu
Copy link
Contributor

Looks good to me! This is a breaking change, though, so when this is merged we need to do a major version increment. Let's see if we can fit more than just this change into that release to warrant a major version even more.

@frewsxcv
Copy link

@asbjornu What else did you have in mind for this next 'major version'?

@streeter
Copy link
Contributor Author

And was there anything else you'd like done in this PR?

@asbjornu
Copy link
Contributor

@streeter The PR looks fine. But since it breaks backward compatibility, it warrants a major version increment as per the rules of semantic versioning, which gives us an opportunity to fold other breaking changes into the release. @frewsxcv I'm not quite sure what they are yet, but perhaps @timorzadir has some ideas?

@timorzadir
Copy link
Contributor

If #44, #45 or https://github.com/getsentry/raven-objc/issues/46 ends up breaking backward compability when they are done, I would like to include that

@frewsxcv
Copy link

It looks like all of those issues have stalled. Any chance this could move forward?

timorzadir added a commit that referenced this pull request Feb 22, 2015
Do not set the singleton inside init
@timorzadir timorzadir merged commit a7afd82 into getsentry:master Feb 22, 2015
@streeter streeter deleted the less-singleton-state branch April 14, 2015 21:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants