Skip to content

Releases: dentolos19/PasteMystNet

Release 2.0.0

23 Feb 14:24
Compare
Choose a tag to compare

This version is a complete revamp. Please be warned that there will be breaking changes to be made when updating to this version.

🎉 What's Changed

  • Added centralized client class: PasteMystClient
  • Added customized exception class: PasteMystException
  • Added documentation for methods and properties (finally)
  • Switched to System.Text.Json for JSON serialization
  • When getting current user, it uses its own type: PasteMystCurrentUser

⚠️ Breaking Changes

  • Parsed unix time now uses local time
  • Properties that uses arrays now uses IList<> or IReadOnlyList<>
  • Renamed properties
    • PasteMystPasty.Code -> PasteMystPasty.Content
    • PasteMystPastyForm.Code -> PasteMystPastyForm.Content
  • Renamed properties to follow API specifications
    • PasteMystPaste.CreationUnixTime -> PasteMystPaste.CreatedAt
    • PasteMystPaste.CreationTime -> PasteMystPaste.CreatedAtTime
    • PasteMystPaste.DeletionUnixTime -> PasteMystPaste.DeletedAt
    • PasteMystPaste.DeletionTime -> PasteMystPaste.DeletedAtTime
    • PasteMystPaste.ExpireDuration -> PasteMystPaste.ExpiresIn
    • ...
  • Removed methods in all classes and moved to PasteMystClient

Full Changelog: v1.2.3...v2.0.0

Release 1.2.3

17 Jun 09:57
Compare
Choose a tag to compare

🎉 What's Changed

  • Changed target framework to netstandard2.1 to support older versions of .NET

Full Changelog: v1.2.2...v1.2.3

Release 1.2.2

29 May 06:08
Compare
Choose a tag to compare

🎉 What's Changed

  • Added new function PasteMystPaste.GetTotalActivePastesAsync
  • Updated target framework to net6.0
  • Updated function PasteMystLanguage.GetLanguageByNameAsync so it percent-encodes name before request
  • Updated property accessors from init to private init for all object classes

Full Changelog: v1.2.1...v1.2.2

Release 1.2.1

18 Nov 06:43
Compare
Choose a tag to compare

🎉 What's Changed

  • Updated classes from PasteMystNet.Core accessors from public to internal
  • Removed strict form checking

Full Changelog: v1.2.0...v1.2.1

Release 1.2.0

09 Nov 02:37
Compare
Choose a tag to compare

Warning: This release contains breaking changes when updating from the previous release! (See those changes with ⚠️)

🎉 What's Changed

  • Changed target framework to net5.0
  • Changed from using HttpWebRequest to HttpClient
  • Changed PasteMystUser.HasPublicProfile to PasteMystUser.IsPublicProfile ⚠️
  • Removed JSON string representation for PasteMystPaste, PasteMystUser and PasteMystLanguage
  • Removed obsolete methods ⚠️
    • PasteMystLanguage.IdentifyByNameAsync
    • PasteMystLanguage.IdentifyByExtensionAsync
    • PasteMystUser.GetSelfAsync
    • PasteMystUser.GetSelfPastesAsync

Full Changelog: v1.1.6...v1.2.0

Release 1.1.6 (2021-07-19)

19 Jul 23:46
Compare
Choose a tag to compare

Warning: This release contains breaking changes when updating from the previous release! (See those changes with ⚠️)

🎉 What's Changed

  • Made PasteMystLanguage.IdentifyByNameAsync obsolete, use GetLanguageByNameAsync instead
  • Made PasteMystLanguage.IdentifyByExtensionAsync obsolete, use GetLanguageByExtensionAsync instead
  • Made PasteMystUser.GetSelfAsync obsolete, use GetUserAsync instead
  • Made PasteMystUser.GetSelfPastesAsync obsolete, use GetUserPastesAsync instead
  • Changed the name PasteMystAuth to PasteMystToken ⚠️

Full Changelog: v1.1.5...v1.1.6

Release 1.1.5 (2021-05-21)

19 Jul 23:50
Compare
Choose a tag to compare

🎉 What's Changed

  • Added IsContributor property to PasteMystUser
  • Added GetSelfAsync function to PasteMystUser
  • Added GetSelfPastesAsync function to PasteMystUser

Full Changelog: v1.1.4...v1.1.5

Release 1.1.4 (2021-04-11)

19 Jul 23:51
Compare
Choose a tag to compare

Warning: This release contains breaking changes when updating from the previous release! (See those changes with ⚠️)

🎉 What's Changed

  • Changed from using arrays to lists in PasteMystPasteForm and PasteMystEditForm ⚠️
  • Changed the enum PasteMystExpiration to the class PasteMystExpirations ⚠️

Full Changelog: v1.1.3...v1.1.4

Release 1.1.3 (2020-12-03)

19 Jul 23:59
Compare
Choose a tag to compare

🎉 What's Changed

  • Added enum type for paste edit type
  • Added singleton to restrict multiple instances of HttpClient
  • Added JSON string representation for PasteMystPaste, PasteMystUser and PasteMystLanguage
  • Fixed language name encoding

Full Changelog: v1.1.2...v1.1.3

Release 1.1.2 (2020-11-20)

20 Jul 00:00
1a9eba0
Compare
Choose a tag to compare

🎉 What's Changed

  • Added support for editing pastes
  • Fixed issue #5

Full Changelog: v1.1.1...v1.1.2