aglinxinyuan opened a new pull request, #6268: URL: https://github.com/apache/texera/pull/6268
### What changes were proposed in this PR? Backport of #6235 to `release/v1.2`. `@ngx-formly/core` and `@ngx-formly/ng-zorro-antd` ship from the **same monorepo** and must be the exact same version — `ng-zorro-antd`'s `peerDependency` pins `core` to an exact version, and its fesm bundle imports internal `ɵ`-prefixed symbols (`ɵFormlyAttributes`, `ɵFormlyValidationMessage`) from `core`. Bumping only one breaks the frontend build. This bumps **both** in lock-step. | File | Before | After | | --- | --- | --- | | `@ngx-formly/core` | `6.3.12` | `7.1.0` | | `@ngx-formly/ng-zorro-antd` | `6.3.12` | `7.1.0` | | `frontend/yarn.lock` | 6.3.12 entries | regenerated for 7.1.0 | | `frontend/LICENSE-binary` | `@6.3.12` bullets | `@7.1.0` bullets | Notes: - **`yarn.lock` was regenerated on `release/v1.2`, not cherry-picked from `main`.** This branch's frontend dependency set differs from `main` (e.g. `monaco-editor` 8.0.4 vs 25.1.2), so `main`'s lockfile does not apply cleanly — a straight cherry-pick conflicts on `yarn.lock`. - `frontend/LICENSE-binary` is synced in the same commit so the `build / frontend` binary-license check stays drift-free. - ngx-formly v7 requires Angular ≥18 (`release/v1.2` is on Angular 21.2.17) and removed the deprecated `FormlyFormOptions` methods (`_markForCheck`, `_buildForm`), which this codebase does not use — only stable public API (`FieldType`, `FieldArrayType`, `FieldWrapper`, `FormlyFieldConfig`, `FormlyModule`, `FormlyNgZorroAntdModule`). ### Any related issues, documentation, discussions? Backport of #6235 (main). ### How was this PR tested? Dependency-only change. Verified locally against `release/v1.2`: - `yarn build:ci` (production nx build) — `Successfully ran target build for project gui`, no `ɵ ... was not found in '@ngx-formly/core'` errors. - `./bin/licensing/check_binary_deps.py --ignore-transitive-version npm frontend/dist/3rdpartylicenses.json` — `OK: 106 npm packages match LICENSE-binary`. No `release/*` label is added — this PR *is* the backport. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude Code (Opus 4.8 [1M context]) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
