Skip to content

Releases

v10.1.0

Choose a tag to compare

@kukjevov kukjevov released this 08 Oct 13:03

Bug Fixes

  • fixed DateTimeFormControl directive
    • now correctly sets null value when form control value is undefined, preventing Angular error which does not support undefined value

Features

  • updated DateTimePickerDirectiveOptions interface
    • new properties
      • renderIntoClosest css selector of the closest ancestor of the date time input into which the picker should be rendered, working only with absolute set to true

v10.0.0

Choose a tag to compare

@kukjevov kukjevov released this 28 Jul 08:39

Features

  • new DateTimeFormControl directive, that provides form value control for DateTime
    • implements
      • FormValueControl
      • OnDestroy

BREAKING CHANGES

  • minimal supported version of Node is ^22.22.3 || ^24.15.0 || >=26.0.0
  • minimal supported version of @angular is 22.0.4
  • minimal supported version of @anglr/common is 24.2.0
  • minimal supported version of @jscrpt/common is 7.1.1
  • minimal supported version of rxjs is 7.8.2
  • new dependency lodash-es minimal supported version is 4.18.1
  • removed dependency on @angular/animations

v9.0.3

Choose a tag to compare

@kukjevov kukjevov released this 18 May 11:46

Bug Fixes

  • fixed missing readme file

v9.0.2

Choose a tag to compare

@kukjevov kukjevov released this 20 Jan 12:55

Bug Fixes

  • fixed WithNowDirective directive
    • now correctly sets value of control value accessor (form) after opening picker
  • fixed WithTodayDirective directive
    • now correctly sets value of control value accessor (form) after opening picker

v9.0.1

Choose a tag to compare

@kukjevov kukjevov released this 12 Dec 14:10

Bug Fixes

  • fixed MonthCalendarComponent component
    • now properly displays week which is last week of the year

v9.0.0

Choose a tag to compare

@kukjevov kukjevov released this 23 Jan 14:19

Bug Fixes

  • fixed DateConvertPipe pipe
    • fixed typings, now correctly accepts also undefined and null
    • works as pre date-fns 4, which returns null value for null or undefined input value
  • fixed DateFormatPipe pipe
    • fixed typings, now correctly accepts also undefined and null
    • works as pre date-fns 4, which returns empty string value for null or undefined input value

Features

  • new IsAfterPipe pipe, that tests whether is provided date after tested date
  • new IsBeforePipe pipe, that tests whether is provided date before tested date
  • updated DateApiObject interface
    • new methods
      • timestamp gets value of date time as timestamp (in miliseconds)
  • updated DateApi interface
    • weekdaysShort method is now deprecated
    • new weekdays method, which gets array of weekday names, order of days is dependent on locale
  • updated DateTimeControlValueAccessorDirective directive
    • now it can return also value as DateTimeValueFormat.UnixTimestamp
  • updated DateFormatPipe pipe
    • is now standalone
  • updated DateConvertPipe pipe
    • is now standalone
  • updated MonthCalendarComponent component
    • is now standalone
  • updated CalendarDayTemplateDirective directive
    • is now standalone
  • updated DateTimePickerComponent directive
    • is now standalone
  • subpackage @anglr/datetime/moment
    • updated MomentDateApi
      • now implements also new timestamp
    • updated MomentDateApi
      • now implements new weekdays
  • subpackage @anglr/datetime/date-fns
    • updated DateFnsDateApi
      • now implements also new timestamp
    • updated DateFnsDateApi
      • now implements new weekdays

BREAKING CHANGES

  • minimal supported version of @angular is 19.1.0
  • minimal supported version of @jscrpt/common is 7.0.0
  • minimal supported version of @anglr/common is 22.0.0
  • minimal supported version of date-fns is 4.1.0
  • minimal supported version of moment is 2.30.1
  • minimal supported version of tslib is 2.8.1
  • updated all comments, fixed unix timestamp for timestamp
  • updated DateTimeValueFormat enum
    • UnixTimestamp now returns value in seconds, use Timestamp to get value in miliseconds
  • renamed ButtonDateTimeInputSADirective to ButtonDateTimeInputDirective
  • renamed DatePickerInputSADirective to DatePickerInputDirective
  • renamed DateTimeInputHandlerSADirective to DateTimeInputHandlerDirective
  • renamed DateTimePickerInputSADirective to DateTimePickerInputDirective
  • renamed SimpleDatePickerInputSADirective to SimpleDatePickerInputDirective
  • renamed SimpleDateTimeInputHandlerSADirective to SimpleDateTimeInputHandlerDirective
  • renamed SimpleDateTimePickerInputSADirective to SimpleDateTimePickerInputDirective
  • renamed WithNowSADirective to WithNowDirective
  • renamed WithTimeSADirective to WithTimeDirective
  • renamed WithTodaySADirective to WithTodayDirective
  • renamed DateTimeSADirective to DateTimeDirective
  • renamed DateTimeControlValueAccessorSADirective to DateTimeControlValueAccessorDirective
  • renamed DateTimeInputSADirective to DateTimeInputDirective
  • renamed DateTimeMaxValidatorSADirective to DateTimeMaxValidatorDirective
  • renamed DateTimeValidatorSADirective to DateTimeValidatorDirective
  • renamed DayPickerSAComponent to DayPickerComponent
  • renamed MonthPickerSAComponent to MonthPickerComponent
  • renamed RollerTimePickerSAComponent to RollerTimePickerComponent
  • renamed YearPickerSAComponent to YearPickerComponent
  • renamed DateTimePickerSADirective to DateTimePickerDirective
  • renamed LoopScrollDataSADirective to LoopScrollDataDirective
  • renamed LoopScrollSADirective to LoopScrollDirective

v8.1.0

Choose a tag to compare

@kukjevov kukjevov released this 27 Aug 08:03

Bug Fixes

  • fixed DateTimeSADirective directive, now handles initial set of value from ControlValueAccessor after initialization of this directive, which now correctly applies min/max restrictions

Features

  • updated DateTimeInputValue interface
    • new properties
      • valueSet occurs when value is set, occurs everytime when value was set, even from code
  • updated DateTimeBase class
    • now correctly implements updated DateTimeInputValue interface
  • updated DateTimePickerComponent component
    • now correctly implements updated DateTimeInputValue interface
    • now correctly calls valueSet anytime value changes
  • updated ButtonDateTimeInputSADirective directive
    • now correctly calls valueSet anytime value changes
  • updated DateTimeInputSADirective directive
    • now correctly calls valueSet anytime value changes

v8.0.3

Choose a tag to compare

@kukjevov kukjevov released this 21 Aug 06:23

Bug Fixes

  • fixed bug with entering invalid value as user input, when error is thrown

v8.0.2

Choose a tag to compare

@kukjevov kukjevov released this 04 Jul 07:54

Bug Fixes

  • fixed bug with using datetime value format UnixTimestamp, incorrectly returned value as DateTime

v8.0.1

Choose a tag to compare

@kukjevov kukjevov released this 04 Jul 07:04

Bug Fixes

  • fixed bug with parsing user input for DataString value type