1067 Commits
Author SHA1 Message Date
nocobase[bot] 86ad59fcb0 chore(versions): 😊 publish v2.4.0-alpha.23 2026-12-06 13:22:24 +00:00
nocobase[bot] b4a2da3ba0 chore(versions): 😊 publish v2.4.0-alpha.22 2026-12-03 06:19:09 +00:00
nocobase[bot] 86f836d2b6 chore(versions): 😊 publish v2.4.0-alpha.21 2026-12-02 06:29:17 +00:00
nocobase[bot] 6996125296 chore(versions): 😊 publish v2.4.0-alpha.20 2026-11-25 07:09:28 +00:00
nocobase[bot] 76e486f44d chore(versions): 😊 publish v2.4.0-alpha.19 2026-11-24 11:09:51 +00:00
nocobase[bot] 3dc567ffb9 chore(versions): 😊 publish v2.4.0-alpha.18 2026-11-14 05:16:04 +00:00
nocobase[bot] a45e79bd5b chore(versions): 😊 publish v2.4.0-alpha.17 2026-11-08 10:55:35 +00:00
nocobase[bot] 039334531d chore(versions): 😊 publish v2.4.0-alpha.16 2026-11-03 05:34:25 +00:00
nocobase[bot] 8b54e96456 chore(versions): 😊 publish v2.4.0-alpha.15 2026-10-29 15:29:07 +00:00
nocobase[bot] 0edf0810bc chore(versions): 😊 publish v2.4.0-alpha.14 2026-10-29 14:23:37 +00:00
PiEgg 111d3b8652 docs: point NocoBase 2 documentation links to nocode.docs.nocobase.com (#11163) 2026-10-25 11:48:26 -04:00
nocobase[bot] 353790b2c4 Merge branch 'next' into develop 2026-10-25 08:49:42 +00:00
nocobase[bot] 093dd4e0d0 Merge branch 'main' into next 2026-10-25 08:48:56 +00:00
Junyi 3a5b84f765 fix(plugin-workflow): restrict personal task reads (#11097)
* fix(plugin-workflow): restrict personal task reads

* fix(plugin-workflow): shorten task test table prefixes

* fix(plugin-workflow): deduplicate task association projections

* test(server): wait for asynchronous backend states
2026-10-25 16:48:16 +08:00
nocobase[bot] 9c8f72191a chore(versions): 😊 publish v2.2.32 2026-10-25 06:35:28 +00:00
nocobase[bot] f815df756b chore(versions): 😊 publish v2.4.0-alpha.13 2026-10-24 03:36:04 +00:00
nocobase[bot] 8e44fa6dc9 chore(versions): 😊 publish v2.2.31 2026-10-23 12:35:43 +00:00
nocobase[bot] 9829ce2ba1 chore(versions): 😊 publish v2.4.0-alpha.12 2026-10-22 12:32:00 +00:00
nocobase[bot] e9a632efd3 chore(versions): 😊 publish v2.3.0-beta.18 2026-10-22 11:09:48 +00:00
nocobase[bot] d7bbafe862 chore(versions): 😊 publish v2.2.30 2026-10-22 08:22:23 +00:00
nocobase[bot] 37680ff395 chore(versions): 😊 publish v2.3.0-beta.17 2026-10-21 06:01:39 +00:00
nocobase[bot] 5fa5fd2587 chore(versions): 😊 publish v2.2.29 2026-10-21 01:18:24 +00:00
nocobase[bot] 01f61349e8 chore(versions): 😊 publish v2.3.0-beta.16 2026-10-19 15:21:55 +00:00
nocobase[bot] 4623015250 chore(versions): 😊 publish v2.2.28 2026-10-19 08:51:19 +00:00
nocobase[bot] 92e5f7a488 chore(versions): 😊 publish v2.2.27 2026-10-16 12:30:03 +00:00
nocobase[bot] 36e25cf0fe chore(versions): 😊 publish v2.4.0-alpha.11 2026-10-16 01:18:36 +00:00
nocobase[bot] 8ce80e1794 chore(versions): 😊 publish v2.2.26 2026-10-15 10:20:57 +00:00
nocobase[bot] 8aaf4e9fcb chore(versions): 😊 publish v2.3.0-beta.15 2026-10-15 01:17:19 +00:00
nocobase[bot] 235bf563ce chore(versions): 😊 publish v2.2.25 2026-10-14 13:25:42 +00:00
nocobase[bot] 7730894fe6 chore(versions): 😊 publish v2.2.24 2026-10-13 06:46:23 +00:00
nocobase[bot] 0fd4a2cf6f chore(versions): 😊 publish v2.4.0-alpha.10 2026-10-12 03:00:14 +00:00
nocobase[bot] 43f741aefc chore(versions): 😊 publish v2.3.0-beta.14 2026-10-12 01:43:30 +00:00
nocobase[bot] 3b7958ce95 chore(versions): 😊 publish v2.2.23 2026-10-11 13:11:35 +00:00
nocobase[bot] a4eac04d1b chore(versions): 😊 publish v2.2.22 2026-10-08 06:16:11 +00:00
nocobase[bot] 3c38adf7b7 chore(versions): 😊 publish v2.2.21 2026-10-06 06:08:01 +00:00
nocobase[bot] 68fa52702d chore(versions): 😊 publish v2.4.0-alpha.9 2026-09-30 15:50:55 +00:00
nocobase[bot] 68b8d4a3b6 chore(versions): 😊 publish v2.2.20 2026-09-30 13:50:08 +00:00
nocobase[bot] 01779af537 chore(versions): 😊 publish v2.3.0-beta.13 2026-09-30 00:41:05 +00:00
nocobase[bot] 6bd485268d chore(versions): 😊 publish v2.2.19 2026-09-29 04:18:54 +00:00
nocobase[bot] 8abe6e57fe chore(versions): 😊 publish v2.2.18 2026-09-25 14:39:40 +00:00
nocobase[bot] a4470a0e4f Merge branch 'next' into develop 2026-09-24 15:18:14 +00:00
nocobase[bot] b3b3eb428c Merge branch 'main' into next 2026-09-24 15:17:34 +00:00
Junyi a11bad2045 fix(client): support local schema persistence (#10545) 2026-09-24 23:16:59 +08:00
xilesun f9f77620be Merge branch 'next' into develop
Three conflicts:
- packages/core/cli-v1/src/commands/client.js: both sides appended an
  export, kept both.
- packages/core/server/package.json: kept develop's 2.4.0-alpha.8
  versions and next's removal of the now unused @types/decompress.
- yarn.lock: regenerated from develop's side.

develop's lockfile had pinned hono, @hono/node-server, joi, axios,
fast-uri, form-data, follow-redirects and tmp at versions predating the
security fixes. yarn install keeps existing entries that still satisfy
their range, so the merge would have silently carried those old versions
forward. Dropped those entries and let yarn re-resolve them; all are back
at or above their patched versions.

Claude-Session: https://claude.ai/code/session_01UukbeCcgu3fBifyyaTkmwx
2026-09-24 21:33:08 +08:00
xilesun 3bd5a9b9d1 Merge branch 'main' into next
Conflict in packages/core/server/package.json: next had bumped the
@nocobase/* dependencies to 2.3.0-beta.12 while main dropped the now
unused @types/decompress next to them. Kept next's versions and main's
removal; @xhmikosr/decompress supersedes it.

Claude-Session: https://claude.ai/code/session_01UukbeCcgu3fBifyyaTkmwx
2026-09-24 21:10:06 +08:00
YANG QIA 912b9395de fix(deps): upgrade vulnerable application dependencies (#10542)
* fix(deps): upgrade vulnerable application dependencies

* fix(deps): narrow overrides and update Hono adapter

* fix(deps): pin request qs to patched version

* fix(deps): close remaining gaps from the vulnerability scan

Widen the qs override to `**/qs`. The previous `**/request/qs` pattern
only matches when `request` itself depends on qs, so it never covered
`express -> qs@~6.15.1`; qs 6.15.3 stayed in the lockfile and failed the
Dependency Review check.

Bump joi in @nocobase/database, the one package still pinned to ^17.13.3,
so joi 17.13.3 is no longer installed next to 17.13.8.

Drop @types/decompress, which became dead when decompress was replaced by
@xhmikosr/decompress, and declare the subset of that package used by the
server and plugins, since it ships no type declarations of its own.

* fix(test): use named type import for mariadb Connection

mariadb v2 typings were `export =` plus `declare namespace mariadb`, so
`mariadb.Connection` resolved as a namespace type. v3 exports its types
as plain named exports, so that reference fails with TS2503 and broke the
declaration build. Import `Connection` directly; the default import is
still fine for the value side.

* fix(plugin-idp-oauth): drop runtime copies oidc-provider no longer needs

oidc-provider 9.7 depended on eta, quick-lru, undici and friends; 9.12
only depends on debug, jose and koa. eta is therefore no longer installed
and afterBuild crashed with "Cannot find module 'eta'".

Copy only oidc-provider and jose. Neither the plugin source nor
oidc-provider 9.12.2 references eta, quick-lru, statuses or undici, and
oidc-provider ships its own nested dependencies, so dropping them also
keeps an unnecessary undici copy out of the plugin bundle.

* fix(build): treat mariadb as an external plugin dependency

mariadb 3 is ESM and its entry uses import attributes (`import packageJson
from './package.json' with { type: 'json' }`), which @vercel/ncc 0.36
cannot parse. Bundling it into a plugin's dist/node_modules therefore
fails with "Module parse failed: Unexpected token".

mariadb is a database driver provided at the app level, exactly like
mysql2, pg, pg-hstore and sqlite3, which are already external. Add it to
that list so plugins resolve it at runtime instead of bundling it.

* fix(plugin-file-manager): drop isEvalSupported removed in pdf.js 6

pdf.js 6 removed `isEvalSupported` from DocumentInitParameters, so passing
it fails the declaration build with TS2345.

The option existed to keep pdf.js from using eval. That hardening is no
longer opt-in: the v6 bundle contains no `eval(` or `new Function(` call
at all, so dropping the option does not weaken anything. Comment updated
to say so, and `enableXfa: false` still covers XFA scripting.

* revert(deps): keep mariadb on ^2.5.6

sequelize 6 supports mariadb 2 only: every 6.x, including 6.37.8, calls
`delete data.meta` in its mariadb dialect, and mariadb 3 defines `meta`
as non-configurable, so the call throws and every mariadb backend test
fails at app startup. mariadb 3 support only exists in sequelize 7 alpha.

This also reverts the two changes that existed solely to carry mariadb 3:
the named `Connection` type import (mariadb 3 dropped the namespace
export) and the build `external` entry (mariadb 3 is ESM with import
attributes, which @vercel/ncc 0.36 cannot parse).

Known trade-off: GHSA-cqhc-2h57-wpxf (HIGH), GHSA-42r5-vhpq-m858 and
GHSA-g5xc-5w98-jfvm stay unfixed, as none has a 2.x patch. Reachability
is limited: the driver is loaded only when DB_DIALECT=mariadb or an
external MariaDB data source is configured, the two credential-disclosure
issues additionally need an on-path attacker between app and database,
and the SQL injection needs a legacy CJK client charset that NocoBase
never sets. Setting DB_DIALECT_OPTIONS_SSL_CA mitigates both disclosure
issues. Upgrading needs a separate change that patches sequelize and
works through mariadb 3's numeric type mapping.

* fix(cli): make client asset upload survive transient OSS timeouts

`client:upload` pushes the whole dist-client tree to OSS one file at a
time, created the ali-oss client without a `timeout`, and rethrew on the
first failure. ali-oss defaults to a 60s response timeout, so a single
slow bundle failed the entire pro image build; it has now done so twice
in a row.

Raise the client timeout to 300s and retry a failed put up to three times
with a linear backoff. Both values are exported through `_test` so the
retry behaviour is covered.

Claude-Session: https://claude.ai/code/session_01UukbeCcgu3fBifyyaTkmwx

* chore(deps): drop resolutions that the dependency ranges already satisfy

Ten of the thirteen overrides were not load-bearing. Eight of them pinned
a version that the parent's own caret range already admits, so they were
working around a stale lockfile rather than a constraint: gigachat wants
axios ^1.8.2, axios wants follow-redirects ^1.16.0 and form-data ^4.0.5,
ajv wants fast-uri ^3.0.1, the MCP SDK wants hono ^4.11.4 and
@hono/node-server ^1.19.9 || ^2.0.5, minimatch wants brace-expansion
^5.0.8, exceljs wants tmp ^0.2.0. The other two matched nothing at all:
ajv-draft-04 declares ajv as a peer dependency, and no package on the
openapi-mcp-generator path depends on ajv.

Resolutions are exact overrides with no minimum-version semantics, so a
stale pin silently downgrades a transitive dependency once its parent
moves past it, warning but not failing the install. Keeping only the
three that a range genuinely excludes removes that hazard for the rest.

Verified every affected package still resolves to its patched version,
and the version sets are unchanged. @hono/node-server is now better off:
the requester that declares ^1.19.9 gets a patched 1.19.17 instead of
being forced across a major to 2.0.10.

Still required, with their removal conditions:
- **/@rushstack/node-core-library/ajv: declares ~8.13.0, excludes 8.18.0
- **/pm2/js-yaml: pm2 7.0.4 pins js-yaml 4.3.1 exactly
- **/qs: body-parser 1.20.8 wants ~6.15.1 and request wants ~6.5.2

Claude-Session: https://claude.ai/code/session_01UukbeCcgu3fBifyyaTkmwx
2026-09-24 21:06:22 +08:00
nocobase[bot] ee4bd9a780 chore(versions): 😊 publish v2.4.0-alpha.8 2026-09-24 07:05:37 +00:00
nocobase[bot] 68fb38fba8 chore(versions): 😊 publish v2.3.0-beta.12 2026-09-24 04:17:26 +00:00
nocobase[bot] 4cf4f6ed75 chore(versions): 😊 publish v2.2.17 2026-09-24 00:48:59 +00:00
nocobase[bot] 277fc67401 chore(versions): 😊 publish v2.2.16 2026-09-21 01:21:50 +00:00