Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Array-Enum Support and Miscellaneous Enhancements #190

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

JDziurlaj
Copy link
Contributor

This pull request introduces several enhancements and fixes to improve the functionality, maintainability, and developer experience for tableschema-js.

Key Features and Changes

  • Extends functionality to allow array-typed fields to leverage enums. This change facilitates better schema validation and broader use cases.
  • Updated various npm dependencies to address security vulnerabilities, where feasible.
  • Added cross-env to npm scripts to support consistent environment variable handling across operating systems, particularly on Windows.
  • Resolved an issue where eslint was silently failing to execute in lint and format npm scripts.
  • Updated the eslint.config to properly suppress ending semicolon, adhering to the project's code style guidelines.
  • Added missing TypeScript definitions for several properties, improving type safety and developer tooling support.
    • Corrected the definition of ExtendedRow to reflect its intended usage accurately.
  • Given the addition of functional changes, incremented the package version to 1.13.0 following semantic versioning principles.

  • Unit tests have been updated and verified for all new functionality.
  • Existing tests were re-run to ensure no regressions were introduced.
  • Manual verification performed for build scripts on Windows and Unix environments.
  • Please publish the updated npm package upon approval.

Please preserve this line to notify @aivuk (lead of this repository)

jungshadow and others added 2 commits December 20, 2024 08:49
- Add support for array fields with enum constraints
- Update packages, configs, and split Webpack configurations
- Fix Karma tests and correct ExtendedRow support
- Ensure builds work on Windows
- Run linter/prettier and rerun formatter
@jungshadow
Copy link

Pinging @roll here as well just for awareness (NB: not sure who's formally watching this repo these days).

@roll
Copy link
Member

roll commented Dec 23, 2024

Hi @jungshadow,

I'm ccying @pdelboca and @sapetti9

@jungshadow
Copy link

Thanks, @roll!

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.

3 participants