Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ngneat/reactive-forms Loading
base: v1.7.5
Choose a base ref
...
head repository: ngneat/reactive-forms Loading
compare: v3.0.0
Choose a head ref
  • 2 commits
  • 158 files changed
  • 1 contributor

Commits on Oct 8, 2021

  1. feat(library): refactor the entire code base

    BREAKING CHANGE: refactor the entire code
    
    I completely rewrote the library from scratch for two reasons:
    1. Provide as much support as possible without introducing bugs, breaking strict mode, or creating an inconvenient API.
    2. Reduce the library size.
    
    Here are the changes:
    - Angular's peer dependency is now `>= 12`.
    - FormGroup's generic was removed in favor of the **experimental** `ControlsOf` interface.
    - Remove `mergeValidators`.  Use addValidators in v12.
    - Remove `validateOn`.
    - Remove `getControl` in favor of `get(key)` or `get(['nested', 'key'])`.
    - Remove errors typing.
    - Validators should now be imported from Angular.
    - `FormBuilder` doesn't support generic anymore. Due to the complexity of the builder API, we're currently couldn't create a "good" implementation of `ControlsOf` for the builder.
    - Remove the `group.persist()` from the instance to an exported function to make it tree-shakeable.
    
    Fixes #197,#103,#102,#97,#100
    NetanelBasal committed Oct 8, 2021
    Configuration menu
    Copy the full SHA
    5cee6fe View commit details
    Browse the repository at this point in the history
  2. chore(release): 3.0.0

    NetanelBasal committed Oct 8, 2021
    Configuration menu
    Copy the full SHA
    9cc49ba View commit details
    Browse the repository at this point in the history
Loading