Skip to content

v4.1.0 - #50

Merged
craftzdog merged 9 commits into
masterfrom
beta
Apr 23, 2025
Merged

craftzdog merged 9 commits into
masterfrom
beta

Conversation

@craftzdog

Copy link
Copy Markdown
Owner

This pull request introduces multiple updates, including dependency upgrades, code refactoring, and configuration changes to enhance compatibility and maintainability. Key highlights include the addition of a new dependency, updates to ESLint and TypeScript configurations, and minor refactoring for unused parameters in the codebase.

Dependency and Version Updates:

  • Updated Node.js version in .nvmrc from v18 to v20 for compatibility with newer features.
  • Added @craftzdog/pouchdb-errors as a dependency and upgraded @op-engineering/op-sqlite to version ^12.0.2 in package.json and example/package.json. [1] [2]
  • Updated eslint to version ^8.57.0 and incremented the package version to 4.1.0-beta.1 in package.json. [1] [2]

Configuration Changes:

  • Added @craftzdog/pouchdb-errors to the module-resolver alias in babel.config.js and example/babel.config.js for better module resolution. [1] [2]
  • Modified ESLint rules to disable @typescript-eslint/no-shadow and react-native/no-inline-styles for improved code flexibility.

Documentation Updates:

  • Updated installation instructions in README.md to include the new dependency @craftzdog/pouchdb-errors.
  • Added pouchdb-errors to the example babel.config.js plugin configuration in the documentation.

Code Refactoring:

  • Refactored unused parameters in src/core.ts by prefixing them with underscores (e.g., _tx, _docId, _attachId) to indicate they are intentionally unused. [1] [2] [3] [4]

@craftzdog

Copy link
Copy Markdown
Owner Author

Testing it on my app now

@craftzdog
craftzdog merged commit f7b0fdf into master Apr 23, 2025
@craftzdog

craftzdog commented Apr 23, 2025

Copy link
Copy Markdown
Owner Author

Fix #49 #47 #40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant