@lehnihon/bit-form 2.2.26 → 2.2.27

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.
Files changed (2) hide show
  1. package/README.md +0 -28
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -204,7 +204,6 @@ The complete documentation is available in the `/docs` folder. Explore the guide
204
204
 
205
205
  - **[When to Use What](./docs/guides/when-to-use-what.md)**: Quick reference for resolver vs asyncValidate vs setServerErrors, normalize vs computed vs transform, and conditional fields.
206
206
  - **[Troubleshooting](./docs/guides/troubleshooting.md)**: Debug common form setup, validation, and devtools issues.
207
- - **[Migration Guide](./docs/guides/migration.md)**: Plan upgrades and breaking-change checks safely.
208
207
  - **[Testing Guide](./docs/guides/testing.md)**: Unit, integration, and e2e testing strategies.
209
208
  - **[Performance Guide](./docs/guides/performance.md)**: Optimize large forms and subscription patterns.
210
209
  - **[Accessibility Guide](./docs/guides/accessibility.md)**: Build accessible form experiences across frameworks.
@@ -234,33 +233,6 @@ The complete documentation is available in the `/docs` folder. Explore the guide
234
233
  - **[Type Definitions](./docs/api-reference/types.md)**: Core TypeScript interfaces and types.
235
234
  - **[Advanced Core API](./docs/api-reference/advanced-core.md)**: Public advanced exports for custom adapters and tooling.
236
235
 
237
- ## ⚠️ Breaking Changes (dev branch)
238
-
239
- This branch currently allows breaking changes while architecture/performance work is in progress.
240
-
241
- - **New explicit `@lehnihon/bit-form/core` subpath** for store/runtime contracts. The package root is now curated for app usage and no longer mirrors every core helper/export.
242
- - **History default limit changed** from `15` to `50` (`history.limit`).
243
- - **Selector subscriptions no longer rely on deep value diff inference** when no `paths` are provided internally; updates are now path-driven for predictable performance.
244
- - **`subscribeSelector` now supports explicit modes**: `mode: "scoped"` (default, path-driven) and `mode: "tracked"` (auto-track with re-track on branch changes).
245
- - **`resolveBitStoreForHooks` now uses symbol branding** instead of duck-typing checks.
246
- - **SSR/Edge support improved** with injectable bus instances (`createBitBus`, `config.bus`, `initDevTools({ bus })`).
247
- - **Field `asyncValidate` now defaults to `blur` trigger**. To keep validation while typing, set `validation.asyncValidateOn: "change"` explicitly.
248
- - **Framework bindings now share internal binding-core helpers** for form meta and field-array orchestration, reducing adapter drift across React, Vue and Angular.
249
- - **New dedicated metadata subscriptions**: `subscribePersistMeta`, `subscribeHistoryMeta` and `subscribeScopeStatus` reduce adapter reliance on generic selectors/tracked subscriptions.
250
- - **React Native is now treated as a thin derivative of the React binding layer**, keeping only native-specific field adaptation.
251
- - **Store capabilities are now first-class namespaces**: `read`, `observe`, `write`, `feature` are the primary contract and `slices` was removed in this major.
252
- - **`BitStoreApi` now represents the namespaced contract only** (`read/observe/write/feature`). During dev migration, flat methods remain available in `BitStoreHooksApi` returned by `createBitStore` for internal/framework compatibility.
253
- - **Capability registry indirection removed from runtime composition**: ports are wired directly in store runtime creation.
254
- - **Devtools bus now stores a typed store port** (state/history/actions) instead of arbitrary store instance references.
255
-
256
- ### Migration quick notes
257
-
258
- - If you relied on broad selector notifications, migrate to `subscribeSelector` with `mode: "scoped"` + `paths`, or `mode: "tracked"` when auto-tracking is needed.
259
- - If you built internal adapters over generic metadata selectors, migrate to `subscribePersistMeta`, `subscribeHistoryMeta` and `subscribeScopeStatus`.
260
- - If you need old history density, set `history: { limit: 15 }` explicitly.
261
- - In SSR/Edge runtimes, create one bus per request scope and inject it into the store and DevTools.
262
- - If you relied on async validation firing while typing, add `asyncValidateOn: "change"` to the field config. `validate()` and submit still execute async validators.
263
-
264
236
  ## 🤝 Contributing
265
237
 
266
238
  Contributions are welcome! Feel free to open issues or submit pull requests.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lehnihon/bit-form",
3
- "version": "2.2.26",
3
+ "version": "2.2.27",
4
4
  "description": "Gerenciamento de estado de formulários agnóstico e performático",
5
5
  "publishConfig": {
6
6
  "access": "public"