Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 9, 2025

Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more here.

This PR contains the following updates:

Package Change Age Confidence
chrono-node@<2.2.4 >=2.2.4 -> >=2.8.4 age confidence

Release Notes

wanasit/chrono (chrono-node@<2.2.4)

v2.8.4

Compare Source


v2.8.3

Compare Source

  • Rewrite duration calculations (without DayJs) abba434
  • Fix: (en) "noon" time assignment confidence (by @​crazyjncsu)
  • Fix: export type ParsingContext (by @​wickedest)

v2.8.2

Compare Source

  • Fix: Correct import error in 2.8.1

v2.8.1

Compare Source


v2.8.0

Compare Source

New/Fix: Reference date calculation on the assigned timezone 4033a27

Previously, the reference date calculation (e.g., "1 day ago", "tomorrow at 9am") was based on the interpretation of the reference instant/timestamp using the system timezone rather than the assigned timezone (e.g., "April 5" in the system timezone may already "April 6" in the assigned timezone).

const refInstant = new Date("2025-02-27T22:00:00.000Z");
// This instant/timestamp
// = Thu Feb 27 2025 15:00:00 GMT-0800 (PST)
// = Fri Feb 28 2025 08:00:00 GMT+0900 (JST)

chrono.parseDate("Tomorrow at 9am", { instant: refInstant, timezone: "PST" })
// In PST, "Tomorrow at 9am" => Fri Feb 28 2025 09:00:00 GMT-0800 (PST)

chrono.parseDate("Tomorrow at 9am", { instant: refInstant, timezone: "JST" })
// In JST, "Tomorrow at 9am" => Sat Mar 1 2025 09:00:00 GMT+0900 (JST)

This changed some current relative date/time output. So, it is published in a minor version, instead of a patch.


v2.7.9

Compare Source

  • New: Italian (IT) support (beta/untested).
  • New: (en) add "Overmorrow" support in casual date e1acb29
  • Fix: (jp) rewrite 当日 to 本日
  • Fix: timezone option for relative dates should affect time 8c415a8

v2.7.8

Compare Source

  • Fix: (en) The second could be an ordinal number or time-unit 6d8d672
  • Fix: (en) Recognize "of" between month name and year 257722f
  • Fix: (en) The "may" could be verb or month name a857d3f
  • New: add debug tags for result/relativeDate 80c126b
  • New: add debug tags for parser/SlashDateFormatParser and parser/ENTimeExpressionParser 6646c75
  • New: (en) Add support for weekend/weekday mentioning 3a15d3d

v2.7.7

Compare Source

  • Fix: (en) incorrect timeunit words extraction 08e4dc4
  • Fix: Forward dates option affect relative timeago results 31bcae3
  • Fix: ISO format default to local timezone instead of UTC 696d247
  • Fix: Hyphanated (or slash) dates started by year intepretation d61f933
  • Fix: (en) support new separator for date/time 23abdda
  • New: (en) Add year suffix extraction refiner be6e995

v2.7.6

Compare Source

  • Fix: Time expression parsing after date with number-ending (#​547) 3ae3144
  • New [ZH]: Replace default chrono.zh configuration from combined zh.hans and zh.hant c5261b7

v2.7.5

Compare Source

  • New: Accept multiple time units connected by "and" d1a71c9
  • Fix: Month-year is incorrect parsed as month-date-year 9aeb1c3
  • Fix: TS type for parse() and parseDate() reference input (in locale modules) fa472f2
  • Fix: TS type for parseDate() return 3126f44

v2.7.4

Compare Source

  • Fix: little-endian month and year case c201115
  • Fix: incorrect reference "for the ..." 2cbe422
  • New: Support reference following a date (e.g. "today + 4day") fed9f9d
  • Fix [NL]: Various NL improvement by Dutch from @​HendrikJan #​539

v2.7.3

Compare Source

  • Fix: Apply lazy loading to UK patterns (related to errors in Hermes engine) 4c4d6d1
  • Fix: Apply lazy loading to RU patterns (related to errors in Hermes engine) 5db3a1f

v2.7.2

Compare Source

  • Fix: More lazy loading to RU patterns (related to errors in Hermes engine) cb0bdd4

v2.7.1

Compare Source

  • Fix: Apply lazy loading to RU patterns (related to errors in Hermes engine) 5db3a1f

v2.7.0

Compare Source

  • New: Introduce parsing tags (#​534)
    • The parsed components (and results) have tags (Set<string>).
    • These tags are added by parsers and refiners for additional information about the results.

v2.6.6

Compare Source

Full Changelog: wanasit/chrono@v2.6.5...v2.6.6

v2.6.5

Compare Source

  • Export ReferenceWithTimezone and ParsingComponents to public interface 99b2e9f
  • Fix: Improve timezone abbr keyword between date and time 1b6994b

v2.6.4

Compare Source

v2.6.3

Compare Source

  • Improved Timezone handling (by @​JoakimNil, #​450)
    • Handle DST on major timezones
    • Support timezones override configuration
  • Fixed forwardDate calculation for the month/year (665bda6)
  • RU: Added more RU abbreviation (by @​mikemikhaylov, #​510)
  • EN: Timeunit abbreviations disabled in strict mode (787c41b)

v2.6.2

Compare Source

v2.6.1

Compare Source

  • Fix: Remove unused lookbehind pattern causing error on Safari (#​503) 8b64dcb

v2.6.0

Compare Source

v2.5.1

Compare Source

  • Fix: Support "the x after ..." pattern 6760ca0
  • Fix: recognize time ending that shift to another month dc1b244
  • New (nl): Dutch shortened month (by @​skoppers)
  • New (ru): Parsing for Russian "day before yesterday/after tomorrow" (by @​mikemikhaylov)
  • New (de/es): Time within pattern support (by Toby Rothe)

v2.5.0

Compare Source

  • New Added basic support for Spanish (by @​S4M3R)

Others:

  • New: Support timeunit abbriviation (English)
  • Support "midday" casual time in English (by @​kieranm)

v2.4.2

Compare Source

  • Fix: slash date format accept invalid dates
  • Fix: forward date to correctly increment day by one #​456 (by @​Swivelgames)
  • Fix: Midnight follow by date
  • Fix: Incorrect date(day) value in Chinese Local time expression parsers when date by @​maxwellyue
  • Other refactoring/fixes by @​mikemikhaylov @​7qt

v2.4.1

Compare Source

Minor version v2.3 -> v2.4

  • New weekday calculation (e.g. "This Friday", "Next Saturday")
  • Fixed inconsistent behaviors (#​464)
  • New: Introduced weekday enum

Other:

v2.3.9

Compare Source

v2.3.8

Compare Source

  • (new) Added parsing for quarter f4964a6 (by @​PriyankaSand)
  • (new, DE) Improve German casual relative expression parsing 668b5fe (by @​georgd)
  • (new, DE) Other German improvement (month name, era, time parsing)

v2.3.7

Compare Source

  • New: Recognize relative time from an absolute date (e.g. "2 weeks before 2020-02-13") from @​liamcain (PR #​430)
  • Fix: MSK (Moscow Time) from UTC+4:00 to UTC+3:00 from @​DylanFrese (PR #​421)
  • Fix: "after" and "after this" reference 0d1c9bd

v2.3.6

Compare Source

  • New: Chinese Hans support (chrono.zh.hans) support from @​QingWei-Li (PR #​427)
  • Fix: Ambiguous timezone names when time is not mentioned afbba58

v2.3.5

Compare Source

  • New: Chinese Hant support (chrono.zh.hant) support from @​DingWeizhe (MR #​417)
  • Improvement: also assign meridium on relative time parsing c4cd375

v2.3.4

Compare Source

  • Fix: improve timezone adjustment (dayligth-saving related) 543c3bc
  • Fix: incorrect date when ref timezone is unknown 801ca4e

v2.3.3

Compare Source

  • New: Allow null reference timezone; result timezone will not be implied or assigned unless one is read from a parsed date d337a53
  • Fix: Require a word boundary after short tokens that can be interpreted as numbers 8efe94c

v2.3.2

Compare Source

  • Fix: ForwardRefiner to activate on the same weekday 699c871

v2.3.1

Compare Source

  • Fix: (performance) Regex backtracking in consecutive space patterns #​399
  • New: Enhance Dutch (NL) Support 0cfef4e

v2.3.0

Compare Source

  • New: Date/Timezone Reference API (see. Parsing Reference (Date / Timezone) in Readme)

v2.2.7

Compare Source

  • Improvement: Apply case-sensitive timezone extraction on date expressions f036345
  • Fix: Time parsing ending with "a" or "p" 77fbd83
  • New: BCE/CE year label support dde6103
  • New: "tmrw" as abbr for "tomorrow" b9c02f5

v2.2.6

Compare Source

  • Fix: Improve performance by avoid unnecessary parsing in time exp cdfb6bc
  • Fix: negative time range parsing 053cc8f
  • Fix: handling quote sign around time parsing 6a52cf3

v2.2.5

Compare Source

  • Fix: Performance improvement by reduce the usage of dayjs in results 38cbefb
  • Fix: Small performance improvement through caching fab8f51
  • New: Adding basic benchmark ac08a8c

Configuration

📅 Schedule: Branch creation - "after 10:00 before 19:00 every weekday except after 13:00 before 14:00" in timezone Europe/Berlin, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from prisis as a code owner September 9, 2025 12:47
@renovate renovate bot added the c: dependencies Pull requests that adds/updates a dependency label Sep 9, 2025
@renovate renovate bot enabled auto-merge (squash) September 9, 2025 12:47
Copy link
Contributor

coderabbitai bot commented Sep 9, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

prisis
prisis previously approved these changes Sep 9, 2025
Copy link
Contributor

github-actions bot commented Sep 9, 2025

Thank you for following the naming conventions! 🙏

Copy link

pkg-pr-new bot commented Sep 9, 2025

Open in StackBlitz

@anolilab/multi-semantic-release

npm i https://pkg.pr.new/anolilab/semantic-release/@anolilab/multi-semantic-release@190

@anolilab/rc

npm i https://pkg.pr.new/anolilab/semantic-release/@anolilab/rc@190

@anolilab/semantic-release-clean-package-json

npm i https://pkg.pr.new/anolilab/semantic-release/@anolilab/semantic-release-clean-package-json@190

@anolilab/semantic-release-pnpm

npm i https://pkg.pr.new/anolilab/semantic-release/@anolilab/semantic-release-pnpm@190

@anolilab/semantic-release-preset

npm i https://pkg.pr.new/anolilab/semantic-release/@anolilab/semantic-release-preset@190

commit: 18ec1b0

Copy link

codecov bot commented Sep 9, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 64.55%. Comparing base (8744742) to head (18ec1b0).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #190   +/-   ##
=======================================
  Coverage   64.55%   64.55%           
=======================================
  Files          32       32           
  Lines         790      790           
  Branches      114      114           
=======================================
  Hits          510      510           
  Misses        277      277           
  Partials        3        3           
Flag Coverage Δ
rc 92.10% <ø> (ø)
semantic-release-clean-package-json 85.24% <ø> (ø)
semantic-release-pnpm 50.50% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@renovate renovate bot force-pushed the renovate/minor-updates branch from 490e4df to 8d34dec Compare September 10, 2025 10:28
@renovate renovate bot force-pushed the renovate/minor-updates branch from 8d34dec to a19871b Compare September 11, 2025 10:39
@renovate renovate bot changed the title fix(deps): update dependency chrono-node@&lt;2.2.4 to >=2.8.4 fix(deps): update minor updates (minor) Sep 11, 2025
@renovate renovate bot force-pushed the renovate/minor-updates branch from a19871b to 18ec1b0 Compare September 15, 2025 12:19
@renovate renovate bot changed the title fix(deps): update minor updates (minor) fix(deps): update dependency chrono-node@&lt;2.2.4 to >=2.8.4 Sep 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: dependencies Pull requests that adds/updates a dependency
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant