@objectstack/plugin-pinyin-search 16.1.0 → 17.0.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
 
2
- > @objectstack/plugin-pinyin-search@16.1.0 build /home/runner/work/objectstack/objectstack/packages/plugins/plugin-pinyin-search
2
+ > @objectstack/plugin-pinyin-search@17.0.0-rc.0 build /home/runner/work/objectstack/objectstack/packages/plugins/plugin-pinyin-search
3
3
  > tsup --config ../../../tsup.config.ts
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -12,11 +12,11 @@
12
12
  CJS Build start
13
13
  CJS dist/index.js 8.92 KB
14
14
  CJS dist/index.js.map 19.68 KB
15
- CJS ⚡️ Build success in 84ms
15
+ CJS ⚡️ Build success in 54ms
16
16
  ESM dist/index.mjs 6.88 KB
17
17
  ESM dist/index.mjs.map 19.09 KB
18
- ESM ⚡️ Build success in 85ms
18
+ ESM ⚡️ Build success in 57ms
19
19
  DTS Build start
20
- DTS ⚡️ Build success in 10824ms
20
+ DTS ⚡️ Build success in 8808ms
21
21
  DTS dist/index.d.mts 5.12 KB
22
22
  DTS dist/index.d.ts 5.12 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,93 @@
1
1
  # @objectstack/plugin-pinyin-search
2
2
 
3
+ ## 17.0.0-rc.0
4
+
5
+ ### Patch Changes
6
+
7
+ - 9f060e5: chore(deps)!: better-auth 1.7.0-rc.2 (account identity restructuring) + the
8
+ production-dependency batch from #3517
9
+
10
+ **better-auth 1.7.0-rc.1 → 1.7.0-rc.2** across the family (`better-auth`,
11
+ `@better-auth/core`, `@better-auth/oauth-provider`, `@better-auth/sso`, and the
12
+ adapter/telemetry overrides). `@better-auth/scim` deliberately stays on
13
+ 1.7.0-rc.1 — rc.2 replaces its whole model (code-defined connections; the
14
+ `scimProvider` model and the generate-token endpoint are gone), which is a
15
+ feature migration, not a version bump. Its peer range accepts rc.2 core, and the
16
+ advisory that forced the original pin (GHSA-j8v8-g9cx-5qf4) is still fixed.
17
+
18
+ **BREAKING — account identity.** better-auth renamed `account.accountId` to
19
+ `account.providerAccountId` and added a REQUIRED `account.issuer`; sign-in now
20
+ resolves accounts by `(issuer, providerAccountId)`.
21
+
22
+ - FROM `fields: { accountId: 'account_id' }` → TO
23
+ `fields: { issuer: 'issuer', providerAccountId: 'account_id' }`. The provider
24
+ account id keeps its `account_id` column — only the better-auth-side name
25
+ moved — and `sys_account` gains an `issuer` column.
26
+ - FROM `internalAdapter.createAccount({ providerId, accountId, … })` → TO
27
+ `createAccount({ providerId, issuer, providerAccountId, … })`. A local
28
+ password account carries the issuer better-auth mints for itself,
29
+ `local:credential`.
30
+ - FROM `client.auth.accounts.unlink({ providerId, accountId })` → TO
31
+ `unlink({ accountId })`, where `accountId` is now the account ROW id (the `id`
32
+ from `accounts.list()`), matching better-auth's narrowed body.
33
+ `accounts.list()` returns `issuer` + `providerAccountId` in place of
34
+ `accountId`.
35
+
36
+ **Existing deployments:** rows written before 1.7 have no issuer and are
37
+ invisible to sign-in until stamped. The auth plugin now runs an idempotent
38
+ boot-time backfill that stamps what it can derive — `local:credential` for
39
+ password accounts, `local:oauth:<providerId>` for configured social providers,
40
+ and the registered IdP's real `iss` from `sys_sso_provider` for federated ones.
41
+ Accounts from a federated IdP that is no longer registered cannot be derived;
42
+ they are logged with their provider id and row count rather than guessed, and
43
+ those users cannot sign in through that provider until the row is stamped with
44
+ the IdP's issuer or removed so a fresh login re-links it.
45
+
46
+ **Also required by 1.7:** `SecondaryStorage` gained two mandatory methods, both
47
+ now implemented over the kernel cache service — `getAndDelete` (single-use
48
+ verification values) and `increment` (fixed-window rate-limit counter;
49
+ `rateLimit.storage: 'secondary-storage'` throws at boot without it).
50
+
51
+ The rest of #3517's production-dependency batch rides along: `@oclif/core`
52
+ 4.13.0, `@hono/node-server` 2.0.12, `hono` 4.12.32, `tar` 7.5.22, `jose` 6.2.4,
53
+ `pinyin-pro` 3.28.2, plus the private docs app's fumadocs/next/react bumps.
54
+
55
+ - Updated dependencies [6169615]
56
+ - Updated dependencies [fa3d0cf]
57
+ - Updated dependencies [a749273]
58
+ - Updated dependencies [fdb4f50]
59
+ - Updated dependencies [879ea13]
60
+ - Updated dependencies [840ee4b]
61
+ - Updated dependencies [ad4af62]
62
+ - Updated dependencies [d44dbfa]
63
+ - Updated dependencies [b949059]
64
+ - Updated dependencies [c5ff96d]
65
+ - Updated dependencies [48c110e]
66
+ - Updated dependencies [87aca93]
67
+ - Updated dependencies [32d3800]
68
+ - Updated dependencies [a227ed7]
69
+ - Updated dependencies [763931e]
70
+ - Updated dependencies [de9af8a]
71
+ - Updated dependencies [5d4de37]
72
+ - Updated dependencies [0e3a226]
73
+ - Updated dependencies [4cca74c]
74
+ - Updated dependencies [81ce41a]
75
+ - Updated dependencies [85e1e4e]
76
+ - Updated dependencies [e1fa8d5]
77
+ - Updated dependencies [402f534]
78
+ - Updated dependencies [030125b]
79
+ - Updated dependencies [8e08bc3]
80
+ - Updated dependencies [0c302a7]
81
+ - Updated dependencies [5f0852f]
82
+ - Updated dependencies [cde1975]
83
+ - Updated dependencies [20cb232]
84
+ - Updated dependencies [e231abb]
85
+ - Updated dependencies [b95577a]
86
+ - Updated dependencies [54f479a]
87
+ - @objectstack/objectql@17.0.0-rc.0
88
+ - @objectstack/core@17.0.0-rc.0
89
+ - @objectstack/types@17.0.0-rc.0
90
+
3
91
  ## 16.1.0
4
92
 
5
93
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@objectstack/plugin-pinyin-search",
3
- "version": "16.1.0",
3
+ "version": "17.0.0-rc.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Pinyin search recall for ObjectStack — populates the hidden `__search` companion column (full pinyin + initials of the display/name field) so `$search` hits CJK names typed as pinyin. Locale-gated via OS_SEARCH_PINYIN_ENABLED (#2486).",
6
6
  "main": "dist/index.js",
@@ -13,10 +13,10 @@
13
13
  }
14
14
  },
15
15
  "dependencies": {
16
- "pinyin-pro": "^3.28.1",
17
- "@objectstack/core": "16.1.0",
18
- "@objectstack/objectql": "16.1.0",
19
- "@objectstack/types": "16.1.0"
16
+ "pinyin-pro": "^3.28.2",
17
+ "@objectstack/core": "17.0.0-rc.0",
18
+ "@objectstack/objectql": "17.0.0-rc.0",
19
+ "@objectstack/types": "17.0.0-rc.0"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@types/node": "^26.1.1",