Skip to content

Releases: mojtabanabavi/Loby

v2.0.0

27 Mar 16:14
Compare
Choose a tag to compare

Updates and Changes

  • Serializer tool is removed
  • Mailer is updated to version 2.0
  • Paginator is updated to version 1.1
  • New validations in validator
  • New extension methods were added
  • Some problems were solved

Serializer tool is removed

  • Removed because Loby is supposed to be standalone and lightweight, but Serializer had unnecessarily dependency.
  • There are so many settings for serialization that adding them to the Serializer was like creating a useless wrapper for System.Text.Json and XmlSerializer.

Mailer is updated to version 2.0

  • Now there are more settings for sending e-mail by Mailer. follow this link for more information.
  • From now on, Mailer receives its settings by an instance of MailerSettings in its constructor.

Paginator is updated to version 1.1

  • Now PagingResult is Independent of Paginator.
  • In the new version of paginator there is more metadata available. follow this link for more information.

New validations in Validator

  • IsValidCreditCard(string value)
  • IsValidNumber(string value)

New extension methods are available

  • String
    • ToTitleCase(this string value, string culture = "en-us")
  • IEnumerable
    • Join(this IEnumerable list, string delimiter)
    • IEnumerable DistinctBy<TSource, TKey>(this IEnumerable source, Func<TSource, TKey> keySelector)
  • IQueryable
    • IQueryable OrderBy(this IQueryable source, string expression)
  • Reflection
    • HasAttribute(this MemberInfo element, Type attributeType, bool inherit = false)
    • HasAttribute(this MemberInfo element, bool inherit = false)
    • IsInheritFrom(this Type element, Type type)
    • IsInheritFrom(this Type element)

v1.3.0

02 Mar 14:09
Compare
Choose a tag to compare
  • Adding paginator tool
  • Adding pagination extensions
  • Splitting convertor tool into some extensions
  • Fixing some exceptions

v1.2.0

02 Dec 16:51
Compare
Choose a tag to compare
  • Inhance compatibility with other frameworks
    • .Net >= 5.0
    • .Net Core >= 3.1
    • .Net Standard >= 2.0
    • .Net Framework >= 4.7.2
  • Fixing namespaces (In previous releases, all classes were in the same namespace)
    • Loby.Tools
    • Loby.Extensions

v1.1.0

21 Nov 10:33
Compare
Choose a tag to compare
  1. Converting extension methods to normal ones in tools
  2. Adding some new extensions.

v1.0.0

18 Nov 13:27
Compare
Choose a tag to compare

The following items were added:

Tools:

  1. Convertor
  2. Dater
  3. Mailer
  4. Mather
  5. Password Hasher
  6. Pluralizer
  7. Randomizer
  8. Serializer
  9. Validator

Extensions for:

  1. Enumerable
  2. Enum
  3. Identity
  4. Object
  5. String