Skip to content

Latest commit

 

History

History
743 lines (522 loc) · 48.6 KB

CHANGELOG.md

File metadata and controls

743 lines (522 loc) · 48.6 KB

Changelog

All notable changes to this project will be documented in this file. Dates are displayed in UTC.

Generated by auto-changelog.

  • Add support for React 18 #692

8 November 2022

  • Migrate to react testing lib instead of enzyme #679
  • Bump deps 7056b3e
  • refactor: Move rules tests to rules folder 33d2f88
  • Update ci build deps 3599710

24 July 2022

  • chore(deps): Bump ws from 7.4.2 to 7.4.6 #630
  • chore(deps): Bump hosted-git-info from 2.8.8 to 2.8.9 #628
  • chore(deps): Bump glob-parent from 5.1.1 to 5.1.2 #639
  • chore(deps): Bump normalize-url from 4.5.0 to 4.5.1 #640
  • chore(deps): Bump path-parse from 1.0.6 to 1.0.7 #652
  • chore(deps): Bump shelljs from 0.8.4 to 0.8.5 #658
  • chore(deps): Bump minimist from 1.2.5 to 1.2.6 #661
  • chore(deps): Bump terser from 4.8.0 to 4.8.1 #665
  • Upgrade to GitHub-native Dependabot #618

24 July 2022

  • Bump deps #668
  • Update CHANGELOG.md 80acda7
  • Make changelog change properly on deploy e528cfd

15 March 2021

  • Add lodash-es to support tsdx lodash optimisation #610
  • Update CHANGELOG.md 8d2e660

10 March 2021

  • Frontend library updates #602
  • Bugfix: updateInputsWithValue doesn't update nested field #604

21 January 2021

  • Add "formElement" props to allow any element to be render as a form #599

19 January 2021

  • Add react 17 as valid peerDependencies #600
  • chore(deps): Bump ini from 1.3.5 to 1.3.7 #590
  • chore(deps): Bump node-fetch from 2.6.0 to 2.6.1 #564
  • Clarify and update API and sibling packages in README 46df770

27 August 2020

27 August 2020

27 August 2020

  • Revalidate form when dynamic inputs are added, fixes #550 #551
  • Pass submit event to onSubmitX methods, closes #549 #552
  • Move build to use tsdx #547
  • Revalidate form when dynamic inputs are added, fixes #550 (#551) #550 #550
  • Pass submit event to onSubmitX methods, closes #549 (#552) #549
  • Remove travis 698f794
  • Add Coverage to github actions 12a2871
  • Change build badge 1670a56

27 July 2020

  • Refactor index file, extract Formsy class to a separate file #530
  • chore(deps): Bump lodash from 4.17.15 to 4.17.19 #527
  • Automatic library bumps #511
  • Improve initial render #490
  • fix: UMD version used in production build, closes #488 #489
  • Add FormsyInjectedProps type #470
  • fix: UMD version used in production build, closes #488 (#489) #488

5 May 2020

  • Automatic Library Updates #416
  • Allow errors in UpdateInputsWithError method to be React elements #468

18 February 2020

  • Unify definition of empty value; Clean up validation rules #402
  • Improve typing of Element tests #401
  • Test for regex equality #400

17 February 2020

  • Respect dot notation in reset #393
  • Remove unnecesary externalError state #398
  • Allow validation errors to be React elements #394
  • Update rollup plugin libraries #397
  • Improvements to README and PR Template #395
  • Fix types in Formsy spec tests #396
  • Remove unused Formsy props; tighten types; improve runRules #392
  • Rename cloneIfObject to protectAgainstParamReassignment; Fix isObject #391
  • Added possibility to use browser builtin submit #226
  • Improve test coverage #378
  • Dependabot Automatic Library Bumps #376
  • Use React's New Context API #198
  • Fix in-page link to updateInputsWithValue 6fcc682
  • Change coveralls from dependency to dev dependency c9d9db5
  • Add coverage to gitignore 0afef60

3 February 2020

  • Rewrite API docs to match Formsy 2.x release #190
  • Add coveralls library + Travis build step c5b8209
  • Collect coverage with Jest 6bed870
  • Track coverage with Coveralls 3de2810

30 January 2020

  • Edit types to parameterize value. Edit validations rules to apply to specific types #341
  • Rewrite isSame to not use circular imports, remove arraysDiffer, objectsDiffer, find #362
  • Dependabot Automatic Library Bumps #363
  • Edit validation function type to add string type (for error message) #339
  • Add cloneIfObject utility to reduce code duplication #337
  • Dependabot Automatic Library Bumps #338
  • bug-fix: Improve performance, prevent redundant exponential data copy #317
  • Fix deprecated lifecycle method usage in tests #318
  • Apply automatic code formatting 9952dfe

14 December 2019

  • Dependabot Automatic Library Bumps #305
  • Updated API.md to make emphasis in the double quote validation argument #304
  • Fix wrapper unregister on unmount. #282
  • Fix wrapper unregister on unmount. (#282) #261

28 October 2019

  • Dependabot Automatic Library Bumps #272

26 October 2019

  • Fix Typescript false vs boolean typing #260
  • Dependabot Automatic Library Bumps #240
  • Update to wrapper types to fix props #259
  • Remove deprecated lifecycle methods #216
  • chore(deps-dev): Bump jest from 24.8.0 to 24.9.0 #222
  • chore(deps-dev): Bump rollup from 1.19.2 to 1.20.3 #223
  • chore(deps-dev): Bump husky from 3.0.2 to 3.0.4 #220
  • chore(deps): [Security] Bump eslint-utils from 1.4.0 to 1.4.2 #215
  • chore(deps-dev): Bump @types/react from 16.8.24 to 16.9.2 #221
  • Bump babel, typescript, and types #212
  • Fix shouldComponentUpdate and context changes in withFormsy #200
  • Add function formsyRef.setValue to change only one input #189
  • Fix test utils imports to use src, not dist. #199
  • Bump np from 5.1.0 to 5.1.1 ec69f94
  • Fix Typescript type issue from false => boolean 0cafa43
  • Fix type incompatibility between validation and requiredValidation 349cc14

12 July 2019

  • Add prettier format to Markdown files #197
  • Fix test imports to use src not dist files #196
  • Bump all libraries #195
  • Allow HTMLFormElement attributes to be passed to a Formsy form #193
  • chore(deps): [Security] Bump lodash from 4.17.11 to 4.17.14 #191
  • Fix 'types' package key to point at the generated type declaration. #192

5 July 2019

  • Significant tightening / improvements of Typescript Types #175
  • chore(deps-dev): Bump eslint-plugin-jsx-a11y from 6.2.1 to 6.2.3 #185
  • Add back a number of disabled eslint checks #184
  • Bump all libraries and reset yarn lock #183
  • Convert tests to Typescript #182
  • Convert Wrapper to Typescript #181
  • Convert index / Formsy to Typescript #178
  • Bump all eslint libraries and reset yarn lock #180
  • Convert utils to typescript #177
  • Convert validationRules to Typescript #174
  • Restrict prettier from formatting dist #176
  • Replace webpack with rollup for cleaner releases #173
  • Clean up tests and remove unnecesary dev libraries #172
  • Stop project from building when running yarn #171
  • Switch from standard-changelog to auto-changelog #170
  • Revert some changes with Enzyme #169
  • docs: Update gitter badge #168
  • Switch to Enzyme for testing #167
  • Switch to Jest for testing #166
  • refactor: Upgrade all babel libraries to 7.x #165
  • chore(deps-dev): Bump np from 5.0.2 to 5.0.3 #150
  • chore(deps-dev): Bump eslint-plugin-react from 7.5.1 to 7.13.0 #163
  • chore(deps): [Security] Bump hoek from 4.2.0 to 4.2.1 #162
  • chore(deps-dev): Bump nodeunit from 0.11.2 to 0.11.3 #159
  • chore(deps-dev): Bump eslint-plugin-jsx-a11y from 6.0.3 to 6.2.1 #157
  • chore(deps-dev): Bump babel-eslint from 8.1.2 to 10.0.2 #158
  • chore(deps-dev): Bump webpack from 3.10.0 to 3.12.0 #160
  • chore(deps-dev): Bump eslint from 4.14.0 to 4.19.1 #161
  • chore(deps-dev): Bump eslint-plugin-import from 2.8.0 to 2.17.3 #149
  • chore(deps-dev): Bump sinon from 4.1.3 to 7.3.2 #152
  • chore(deps-dev): Bump react from 16.2.0 to 16.8.6 #154
  • Fix version command blocking beta-3 release fe8ea23
  • Fix build 6f183a2

21 June 2019

  • style: Add prettier #156
  • docs: Add guide for upgrading from 1.x to 2.x to README #142
  • chore(deps): [Security] Bump extend from 3.0.1 to 3.0.2 #147
  • chore(deps): [Security] Bump is-my-json-valid from 2.16.1 to 2.20.0 #148
  • chore(deps): [Security] Bump lodash from 4.17.4 to 4.17.11 #151
  • chore(deps-dev): [Security] Bump react-dom from 16.2.0 to 16.8.6 #155
  • chore(deps): [Security] Bump stringstream from 0.0.5 to 0.0.6 #153
  • Increase performance #126
  • Fix: Improve comparison of dates in isSame #129
  • Improve form valid state #95
  • test(form): Element's sCU is called with correct value #97
  • docs: Add Github pull request template #140
  • Add information about standard-changelog #139
  • Remove broken examples and webpack-dev-server #138
  • Add np for standard, easy releases #137

26 May 2019

  • Merge v2.0 branch #135
  • Fixing #123 #124
  • Fix isValidValue call in documentation. Closes #99. #101
  • Merge pull request #101 from guillaumevincent/patch-1 #99
  • Fix isValidValue call in documentation #99
  • fix: removed useless default for innerRef prop from the HOC to prevent warnings when the wrapped component is a SFC 3284327

22 May 2018

  • chore: removed deprecated Wrapper export and all the redundant tests for it a71a072
  • Fix tests 42dbcfb
  • fix form level onchange not honoring dot notation nesting 247d3cc

21 May 2018

  • typo #91
  • Update CHANGELOG for 1.1.4 #85
  • Fix isDefaultRequiredValue to also consider null as an empty value. #82
  • fix: Scroll in IE does not work if form is disabled #81
  • Allow string values for Wrapper required prop #75
  • chore(dependencies): Bump eslint-plugin-jsx-a11y from 6.0.2 to 6.0.3 #56
  • chore(dependencies): Bump standard-changelog from 1.0.6 to 1.0.7 #58
  • chore(dependencies): Bump eslint from 4.13.1 to 4.14.0 #55
  • chore(dependencies): Bump babel-eslint from 8.0.3 to 8.1.2 #57
  • chore(gitter): Add gitter badge to readme #49
  • docs: Added badge-size badge and a list of component packages to readme 8f8192d
  • docs: fixed mixed-up headers b441a6d
  • 1.1.4 build 6cfdc9a

12 December 2017

  • refactor(Formsy): Use arrow functions instead of manual bind #44
  • fix(deprecation): Make Wrapper deprecation warning only show once #30
  • chore(dependencies): Bump webpack from 3.8.1 to 3.9.1 #43
  • chore(dependencies): Bump eslint from 4.12.0 to 4.12.1 #42
  • chore(dependencies): Bump react from 16.1.1 to 16.2.0 #39
  • chore(dependencies): Bump react-dom from 16.1.1 to 16.2.0 #40
  • chore(dependencies): Bump webpack-dev-server from 2.9.4 to 2.9.5 #37
  • Add reference to old project #36
  • Bump eslint from 4.11.0 to 4.12.0 #33
  • Bump jsdom from 11.4.0 to 11.5.1 #34
  • Update all outdated libraries: eslint plugins, jsdom, sinon #31
  • chore(dependencies): Bump eslint from 4.11.0 to 4.12.0 ad39ca7
  • chore(dependencies): Bump jsdom from 11.4.0 to 11.5.1 14f83f8

22 November 2017

  • feat(changelog): Changelog with conventional-commits #26
  • Fix email validation broken for new domains #20
  • refactor(Wrapper) Use arrow functions instead of manual bind #24
  • Bind all necessary methods of the HOC #22

16 November 2017

  • v1.1.0 #19
  • Add support for react 16 #18
  • Export validationRules #17
  • Fixed code styling issues f9a6f42

13 November 2017

  • exporting both withFormsy and Wrapper, Wrapper displays a deprecation warning, replicated some of the tests 8f9467a

13 November 2017

  • Bump version number to v1.0.1 #16
  • Change PropType for value to allow array. #14
  • Run existing eslint file in Travis #13
  • Fix incorrect mapping prop type (function, not object) #8
  • v1.0.0 #3
  • Update readme and package.json for new organization #5
  • Chore/tweaks for v1 #473
  • A few changes to API for better Wrapped component support #472
  • Major update/cleanup to Formsy API; React v15+; No more mixins #470
  • Add lib folder a18c220
  • Fix eslint 9f12b30
  • Rename organization to formsy a010273

17 June 2017

  • Fix warning about isMounted being deprecated ebd84bb

16 June 2017

  • Migrate from React.createClass to create-react-class 7dc68fc

15 June 2017

  • fix: show the default validation message when there is a required error #386
  • Remove stray sentence. #415
  • Fix crash when comparing array with null #404
  • docs: Removing unnecessary single quote #410
  • Migrate from React.PropTypes to prop-types a20da5b
  • Revert "fix: show the default validation message when there is a required error (#386)" f1ba9d4
  • Update API.md f395839

8 December 2016

  • feat: expose inner element when using HOC #399
  • Nit-picky typo #366
  • Update README.md 15493dc
  • Update LICENSE 89dbed0

5 July 2016

  • Use better displayNames for components wrapped into HOC #357
  • Fixed #335: getErrorMessages is undocumented in API #335
  • Fixed #298: RangeError: Maximum call stack size exceeded with custom validator #298
  • Fixed #361: Unknown props onValidSubmit, onSubmitted on <form> tag #361
  • Update documentation 89a2d42
  • Fix: Cannot reset value unless truthy 6767a6b
  • Use better names for components wrapped into HOC 9e923dd

19 April 2016

  • Fix multiple on change #258
  • Issue 267 #275
  • Prevent multiple rendering with PureRenderMixin #252
  • Fix: Form.validationErrors disables input validation #239 #242
  • Remove babelify transform #251
  • Add formsy-material-ui to elements section. #243
  • Add formsy-material-ui #238
  • Fix #267 #267
  • Added dynamic form fields example. fbd0911
  • Update dependencies. Some minor changes. 112819f
  • Add getModel() to documentation. 5b5bd0f

8 October 2015

  • Update package.json #233
  • fix extending props in HOC. #229
  • React 0.14 support 2be44f1

4 October 2015

  • Bumped version due to beta testing 5bfa7e5

4 October 2015

  • Transpile with Babel prior to publishing to npm #221
  • Add getInitialState to README example #214
  • make server validation more obvious in docs #213
  • Add display name #211
  • fix links so they work on githib #210
  • Added new validation rules: isAlphanumeric, isInt, isFloat #205
  • fix #196 #197
  • Pass through props inside the decorator #195
  • Make it browserify-friendly #176
  • Add example use case for require="isFalse" #174
  • Fix 'localhost' links in 'Examples' readme #202
  • removed unneeded comparison #201
  • React 0.14 #193
  • React 0.14 #192
  • Fix React warnings in tests #173
  • Relax react peerDependency to minor level (0.13.x instead of ^0.13.1) #172
  • Update main.js #160
  • fix typo #156
    • Fixed mapModel issue when input name is nested #153
  • Made passing all props, except onSubmit #148
  • fix typo #149
  • Changed validation behaviour #138
  • Merge pull request #197 from rblakeley/patch-1 #196
  • add built files, fix #196 #196
  • removed obsolete method call, fix #196 #196
  • fix #196 #196
  • Moved tests to es2015 7ab78f9
  • Added reset-values example. 6a0d23c
  • Initial commit for new version 818b1de

22 May 2015

  • Reverted passing of all props, only added autoComplete d7e7dfc

22 May 2015

  • Allow form to be initialised with specified data #117
  • typeo in error message #125
  • Add type check to isSame #119
  • Prepared new release a1cf223
  • Bumped version and created release 4fcb74f
  • Pull request for isChanged 23f91c4

29 April 2015

  • Removed 'required' check from validations #115
  • Merged pull, fixed equality bug and added tests 37018b1
  • API corrected 750fe15

25 April 2015

  • Fix code example in API.md #112
  • don't validate the inputs when the form was not submitted #108
  • Cleaning up tests setup 6d64dd3
  • Fixed value bug and configured deploy new version script 8acaead
  • Clean up b18b4e8

22 April 2015

  • improving validation rules + unit tests #105
  • releasing 0.12.6 f64d244
  • Added keywords and another recommended fields e4b5dbf
  • Added keywords 1a70c89

17 April 2015

  • Fixed validation errors using callback 4267c40
  • Merged new README structure 7e909fb
  • Moved API to separate file 6c3d9a0

16 April 2015

  • Fixed bug with comparing validations. Removed dynamic validations aaac6d0
  • Fix README 7227895
  • Added release badge 4736bee

15 April 2015

  • Examples #97
  • Fixed required bug 1475dbb
  • Added more info about examples. Fix custom-validation example 9fdca02

15 April 2015

  • Fixed callbacks for onInvalidSubmit and onValidSubmit d0af137

14 April 2015

  • Removed noValidate and added formNoValidate to readme 1fb4461
  • Update README.md 01e6b36
  • removed novalidate from readme e8cd6a8

14 April 2015

14 April 2015

  • Fixed equalsField validation rule. #86
  • Fixed equalsField rule 785ac0c
  • fixed equalsField validation rule. a0bab16

13 April 2015

  • Added example of custom validation #79
  • added react 0.13 as test lib 36d4439
  • Passing invalidate on onValidSubmit and onInvalidSubmit 5e00ea2
  • Added validation objects and required validation b0738a5

7 April 2015

  • Fixed bugs with isValidValue and isValidForm ad83a10

3 April 2015

  • Added npmignore file #68
  • Allow a component to decide whether it is valid (fixes #60) #63
  • Added example #69
  • Merge pull request #63 from philippotto/checkValidity #60
  • Allow a component to decide whether it is valid (fixes #60) #60
  • Fixed bug with internal ajax ebd17fd
  • Fixed validation bug 0964b07
  • Added section on validate method f1d9d6c

29 March 2015

  • Fix bug: Allow value === false to be passed #49
  • Element spec: Fix typo in spec description #51
  • Update README.md #55
  • Rewrite validation tests #50
  • Handle any value with tests dca9f78
  • Bumped to release 0.9.0 47dd80b

24 March 2015

  • Fix global variable leak #61
  • Suppress error in non-browser environments #59
  • Add repository to package.json (prevents npm WARN) #41
  • Support React 0.13.1 5e12c95
  • Update package.json 2c64535

7 March 2015

  • Added dynamic validation rule support #34
  • Check isMounted in setTimeout #38
  • Move React to peerDependencies #39
  • Actually check for invalid floats #30
  • Attach CSRF token to header if it exists #29
  • Allow floats in isNumeric #28
  • Fixed dynamic validations, disable form, dynamic value update etc. 86aec65
  • Allow floats for isNumeric a65b294
  • Dynamic validation support 5cc979e

23 February 2015

  • Update form's model if the input is pristine and its value changes; test #27
  • registerInputs: Support null/undefined children; add test #26
  • Merged two pull requests 385263c

3 February 2015

21 January 2015

  • Add method for checking if input has had interaction #16
  • Pristine, mapping and tests 15b6df9

19 January 2015

  • Call onSuccess and onSubmitted from props after AJAX response #13
  • Fixed exception on trying to forEach empty request headers #8
  • Fixed uncaught exception on parsing non-JSON AJAX response #9
  • Fixed bug with handlers in ajax 1ec5868
  • Added setState documentation 80227cc
  • Update README.md 7c95bf1

14 January 2015

  • Fixed bug with empty validations 9e430bb

14 January 2015

  • Cross input validation, invalidateForm and bug fix e9743a2

7 January 2015

  • words, spaces and special letters. #6
  • Allow for no url, using "onSubmit" handler to pass model for manual XHR #5
  • Fixed required and no validations bug 915ddb8
  • Release 0.4.0 b04c989
  • Update README.md d12ae50

5 January 2015

17 November 2014

29 October 2014

  • Fixed updating of props bug 874fe8f

28 October 2014

  • onCancel handler toggles showing of cancel button 5bdfc82

28 October 2014

28 October 2014

28 October 2014

28 October 2014

v0.1.0

22 October 2014