Skip to content

v5: remove deprecated checkOptions and checkinitialData exports #754

Description

@tyler-reitz

Background

checkOptions and checkinitialData (in src/index.ts) are no longer used internally as of #740, which tightened ReactFireOptions generics and rewrote checkIdField to read options?.idField directly.

Removing them is a breaking change for any consumer importing them (an ESM import error at load, not just a type change), so per review on #740 we're keeping them as dead exports for now and deferring removal to v5.

To do in v5

  • Remove checkOptions from src/index.ts
  • Remove checkinitialData from src/index.ts
  • Regenerate reference docs (npm run docs:fork) to drop docs/reference/functions/checkOptions.md and checkinitialData.md

Notes

Context: #740.

Metadata

Metadata

Assignees

No one assigned

    Labels

    v5Planned for v5

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions