Skip to content

Release Notes

The goal of this release is to make the library native to .NET Standard 2.0 by removing the NETStandard.Library dependency – this will heavily reduce the number of installed packages. There are no new features or bug fixes, so it's more like a maintenance release.

  • Added – Explicit netstandard2.0 targeting to not to install any dependencies in .NET Core applications.
  • ChangedNETStandard.Library dependency bumped to version 1.6.1 in netstandard1_0 target.
  • Changed – Removed the use of .NET's internal AdjustmentRule class because it works differently on Linux with .NET Core 2.X and causes issues.
Assets 3

@aidmsu aidmsu released this Nov 7, 2017 · 7 commits to master since this release

Release Notes

Important bugs were fixed in this release!

  • FixedCronExpression.GetOccurrences skip an occurrence when Daylight Saving Time ends (the clocks jump backward).
  • Fixed – Sometimes CronExpression.GetOccurrences goes into infinite loop when Daylight Saving Time ends.
Assets 3

@aidmsu aidmsu released this Jul 24, 2017 · 10 commits to master since this release

Release Notes

  • Changed – Decreased memory usage and improved performance of CronExpression.ToString method.
  • FixedCronExpression.GetNextOccurrence returned wrong result in some cases due to rounding error.
Assets 3

@aidmsu aidmsu released this Jun 13, 2017 · 15 commits to master since this release

Release Notes

  • Added – Implemented ToString method returning cron expression.
  • Changed – A link to the project site were added to NuGet package.
  • Fixed – Exception message when field value is outside the bounds.
Assets 3

@aidmsu aidmsu released this Apr 28, 2017

Release Notes

  • AddedCronExpression class implemented IEquatable interface. Thus it's possible to compare two instances of CronExpression. They are equal if they define the same date or interval. For example 0,1,2,3 * * * * is equal to 0-3 * * * * but * * L * * is not equal to * * LW * *.
  • Added – The GetOccurrences method overloads returning the list of next occurrences within the given date/time range.
  • AddedSource link support. If Enable source link support flag is set in Visual Studio it's possible to debug Cronos using its downloaded sources.
  • Changed – Relicense Cronos under the MIT License.
Assets 3

@aidmsu aidmsu released this Apr 20, 2017

Release notes

Added – Supported using days of weeks names with L special character. For example, * * * * SUNL - the last sunday of a month.

Assets 3

@aidmsu aidmsu released this Apr 17, 2017

Release Notes

  • Changed – Denied passing DateTime with DateTimeKind.Local in GetNextOccurrence method. Previous behavior could be incorrect when daylight saving time transitions happened.
  • FixedCronExpression.Parse became finally case-insensitive. Thus you can use expressions with lowercase special characters: 0 0 lw * *.
  • Performance – Decreased the size of the CronExpression by half.
  • Performance – Made GetNextOccurrence faster by significant simplification of base algorithm.
Assets 3

@aidmsu aidmsu released this Mar 28, 2017

Release Notes

FixedGetNextOccurrence sometimes returns null when W character is used in DayOfMonth field, from param is on Saturday or Sunday, and next occurrence moves from weekend to the nearest weekday: Monday.

Assets 3

@aidmsu aidmsu released this Mar 24, 2017

Release Notes

  • AddedCronExpression.Parse supports macros like "@daily".
  • ChangedGetOccurrenceAfter and GetOccurrenceFrom methods merged into GetNextOccurrence.
  • Changed – Made the CronFormatException class serializable in .NET Framework.
  • ChangedGetNextOccurrence(DateTime from) returns occurrence instead of throwing ArgumentException if from is invalid with Kind property set to Local.
  • Changed – Some interval expressions occurred just once when Daylight Saving Time ended. Now if second, minute or hour field contains *, - or / expression is interval and it will be occurred before and after time transition.
Assets 3

@aidmsu aidmsu released this Mar 21, 2017

This release contains lots of breaking changes!

Release Notes

  • Added - Added support for .NET Framework 4.0.
  • Added - Added groups of methods GetOccurrenceAfter and GetOccurrenceFrom.
  • Removed - Removed GetOccurrence methods.
  • Removed - Removed endTime parameter from GetOccurrence* methods.
  • Changed - Pass DateTime with DateTimeKind.Local to GetOccurrence* methods to calculate occurrence in Local time zone.
  • Changed - CronExpression.Parse throws CronFormatExcpetion if given string has invalid cron format.
Assets 3
You can’t perform that action at this time.