Skip to content

Update @openforis/arena-core to 2.24.0, remove the casts it makes unnecessary - #4764

Merged
SteRiccio merged 2 commits into
masterfrom
claude/eloquent-babbage-6z89ib
Nov 18, 2026
Merged

SteRiccio merged 2 commits into
masterfrom
claude/eloquent-babbage-6z89ib

Conversation

@SteRiccio

@SteRiccio SteRiccio commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Description

Updates @openforis/arena-core to 2.24.0 (openforis/arena-core#544), which declares types / values Arena used through casts:

  • DateFormats.datetimeExport

    core/dateUtils formats.datetimeExport uses it, so the surveys list export passes it to convertDate without a cast.
  • ChainProps.cycles

    A new chain is created with ChainFactory.createInstance({ cycles }) (no cast).
  • NodeDefEntityChildPosition.minH / minW / maxH

    The node defs clone uses the layout position minimum sizes directly (the local LayoutPosition type and its cast are removed).

A single arena-core version is resolved (yarn dedupe @openforis/arena-core; arena-server requires ^2.18.13).

Types of changes

  • Docs change
  • Refactoring
  • Dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

How has this been tested

  • yarn typecheck: no errors
  • yarn test:unit: all passing except the 4 job tests that need a database (failing locally without PostgreSQL, same as on master)
  • yarn build:server:prod: OK
  • ESLint: no errors

Do you consider this PR needs further testing?

  • No
  • Yes

…ecessary

DateFormats.datetimeExport (surveys list export), ChainProps.cycles (new chain) and the
NodeDefEntityChildPosition minimum size props (node defs clone layout) are now declared by
arena-core.
@mergify

mergify Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

This pull request is merged.

…bage-6z89ib

# Conflicts:
#	package.json
#	yarn.lock
@sonarqubecloud

Copy link
Copy Markdown

@SteRiccio
SteRiccio merged commit 2a31bc1 into master Nov 18, 2026
12 checks passed
@SteRiccio
SteRiccio deleted the claude/eloquent-babbage-6z89ib branch November 18, 2026 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant