Skip to content

Tweetinvi 1.0

Compare
Choose a tag to compare
@linvi linvi released this 05 Jul 19:40
· 791 commits to master since this release

A bit of history

After 4 years of development we are finally releasing the first major version.
We've communicated with many of you, participated in your projects in order to understand how to guide this project. Therefore I would like to make a big thank you to all of you who have participated to make this release possible.

That said, I hope you will love this latest release.

Breaking Changes

  • Global Namespace refactor. Please consider reading the new namespace documentation.
  • Generate Parameters have been deleted. Use new Parameter() instead. (learn more).
  • Publish methods taking Tweet or Message have now been removed. (learn more).

Signed Libraries

Tweetinvi libraries released will now be signed by certificates. This will allow companies to ensure that the library is an "official" build.

Accessibility and consistency

Our focus for version 1.0 was to improve the library to make it easier and faster to use. We wanted to have a global library that made sense. With this goal in mind we have improved lots of classes/interfaces namespaces, we have removed some redundant methods and finally we have improved the in code documentation.

Namespace complete refactor

For this release 1.0, we wanted to make sure that users were able to have a clear overview of the namespaces they need when using the library.

We have therefore greatly reduced the number of using statement required and consolidated them into major comprehensive groups.

You can learn more about the namespaces in the documentation.

Generate parameter methods deleted

All the generate methods that were used to create parameters have now been removed to promote the ability for developers to create the same parameters using the new keyword.

List of changes :

  • User.GenerateUserIdentifierFromId is no longer available. Please use new UserIdentifier instead.
  • Geo.GenerateGeoCode is no longer available. Please use new GeoCode instead.
  • Tweet.GenerateOEmbedTweet has been renamed Tweet.GetOEmbedTweet
  • Message.CreateGetLatestsReceivedRequestParameter has been removed. Use new MessagesReceivedParameters() instead.
  • Message.CreateGetLatestsSentRequestParameter has been removed. Use new MessagesSentParameters() instead.

Publish methods overloads deleted

For historic reasons, Tweetinvi kept using old methods that allowed developers to create a local (and unpublished) version Tweet or a Message and then actually publish it based on some of its properties.

To make it clear of which properties Tweetinvi is using we have now deleted such methods. Developers will be able to publish using Parameters objects containing all the available parameters that can be use to define how to publish.

Below you can find a list of changes :

  • Tweet.Publish(ITweet) no longer exist. Use Tweet.PublishTweet(IPublishTweetParameters) instead
  • new PublishMessageParameters(IMessageDTO) no longer exists. Use the other constructor overloads instead.