diff --git a/ReleaseNotes.md b/ReleaseNotes.md index f7ea064dd..f19abb54a 100644 --- a/ReleaseNotes.md +++ b/ReleaseNotes.md @@ -1,4 +1,11 @@ -### NEw in 3.1.3 (Released 2018/04/17) +### New in 3.2.0 (Released 2018/08/08) +* Added the country Kosovo (#22) +* Made SonarAnalyzer dependency a private asset (#26) +* Extended Qowaiv.ComponentModel.Result with factory methods (#24) +* Introduced Qowaiv.ComponentModel.DataAnnotations.AnyAttribute (#25) +* Fix in email address collection (#21) + +# New in 3.1.3 (Released 2018/04/17) * Fix in email address validation (#18) ### New in 3.1.2 (Released 2017/12/12) diff --git a/props/version.props b/props/version.props index c7277861f..b18b85181 100644 --- a/props/version.props +++ b/props/version.props @@ -1,7 +1,7 @@  - 3.1.3 + 3.2.0 diff --git a/src/Qowaiv.TypeScript/JavaScript/Qowaiv.min.d.ts b/src/Qowaiv.TypeScript/JavaScript/Qowaiv.min.d.ts new file mode 100644 index 000000000..092dd1ee4 --- /dev/null +++ b/src/Qowaiv.TypeScript/JavaScript/Qowaiv.min.d.ts @@ -0,0 +1,55 @@ +declare module Qowaiv { + class Guid implements IEquatable, IFormattable, IJsonStringifyable { + constructor(); + private v; + toString(): string; + format(f?: string): string; + toJSON(): string; + version(): number; + equals(other: any): boolean; + static fromJSON(s: string): Guid; + static isValid(s: string): boolean; + static parse(s: string): Guid; + static empty(): Guid; + static newGuid(seed?: Guid): Guid; + private static rndGuid(s); + } +} +interface IEquatable { + equals(other: any): boolean; +} +interface IFormattable { + toString(): string; + format(f: string): string; +} +interface IJsonStringifyable { + toJSON(): string; +} +declare module Qowaiv { + class TimeSpan implements IEquatable, IFormattable, IJsonStringifyable { + private static pattern; + private v; + constructor(d?: number, h?: number, m?: number, s?: number, f?: number); + private num(n); + getDays(): number; + getHours(): number; + getMinutes(): number; + getSeconds(): number; + getMilliseconds(): number; + getTotalDays(): number; + getTotalHours(): number; + getTotalMinutes(): number; + getTotalSeconds(): number; + getTotalMilliseconds(): number; + multiply(factor: number): TimeSpan; + divide(factor: number): TimeSpan; + toString(): string; + format(format?: string): string; + toJSON(): string; + static fromJSON(s: string): TimeSpan; + equals(other: any): boolean; + static isValid(s: string): boolean; + static parse(str: string): TimeSpan; + static fromSeconds(seconds: number): TimeSpan; + } +}