Skip to content

Latest commit

 

History

History
421 lines (244 loc) · 13.9 KB

CHANGELOG.md

File metadata and controls

421 lines (244 loc) · 13.9 KB
  • Update http-proxy-middleware (security fix)
  • Update dependencies
  • Fix English default tel pattern regex
  • Update dependencies
  • Update webpack (security fix)
  • Update JS dependencies (minor & patches)
  • Handle sass update deprecation warning
  • Security fix
  • Fix missing build
  • Update dependencies

No breaking change expected.

  • Replace Storybook by demos
  • Upgrade webpack from v4 to v5
  • Upgrade prettier from v1 to v3
  • Hide password strength feedback while pristine

Breaking changes:

  • Rework PasswordStrengthField strength levels
  • Add optional basic prop to PasswordStrengthField
  • Fix DateField with initial value offset
  • Add auto-slash to DateField
  • Fix storybook deploy
  • Use accent-color to style radio buttons and checkboxes
  • Fix storybook
  • Remove special character obj
  • Make Datefield component accept other react-datepicker props
  • Replace dart-sass by sass
  • Replace all division with slash character / by math.div
  • Make the internal modified state reset to false after successful submit
  • Fix the register function. Multiple Field inside Conditional are now initializable when mounted.
  • Change Field component of type="date" into a datepicker (react-datepicker)
  • Add Field component of type="date-native" for browsers date input
  • Update dependencies (and remove jest 24 transitive dep)
  • Add url native type field
  • Add support for a ButtonsWrapper components prop to add a wrapper around submit and cancel buttons
  • Use fast-deep-equal instead of deep-equal
  • Add a components props for replacing submit and cancel components.
  • Re-add value from item to transient item in case of dynamic field add
  • Fix new bug from react-select giving null instead of empty list
  • BREAKING: Remove react-draft-wysiwyg and replace it by react-quill
  • Add source maps to build
  • Fix select-menu value not being used when async loading choices. (#54)
  • Dependencies upgrade
  • Use es6 regular export from syntax for index. Removes the need of babel @babel/plugin-proposal-export-default-from plugin
  • Dependencies upgrade
  • Scroll to first field with errors on server validation error.
  • Dependencies upgrade
  • Fix margin selector on FieldSet__label which made inliner fields not aligned.
  • Fix phone pattern being ignored in TelField
  • Dependencies upgrade
  • Dependencies upgrade
  • Migration to storybook 5
  • Fix missing position relative when using SwitchButton outside of a formol Form. This fixes a weird bug that caused the page to scroll when toggling the switch state.
  • Inliner cosmetics
  • Only apply error on form when an enteredField has an error. Fix #42
  • Remove Form padding and add transition on Form errors state
  • Fix readOnly style of FileField previews
  • Fix handleSubmit being called on enter even when onSubmit is not defined
  • Dependencies upgrade
  • Rework submit mecanism by using native onSubmit (fix weird enter key behavior)
  • Add unmodified title on disabled form buttons
  • Remove focusNextOnEnter prop
  • Fix disabled style
  • Fix missing disabled placeholder in CalendarField
  • Style disabled state
  • Upgrade dependencies and fix dropzone
  • Adapt to storybook 4.1
  • Use @babel/plugin-transform-runtime rather than medling with globals
  • Add modified argument to onSubmit for forms with allowUnmodifiedSubmit.
  • Make object utils importable.
  • Better select-menu cosmetics
  • Remove form buttons when no onSubmit is provided.
  • Cosmetic fix for Inliner
  • Add a virtualizedThreshold to virtualize select-menu choices only if it exceeds a defined number of options (100 by default)
  • Keep select-menu virtualized focused element into view (#39)
  • Cosmetic improvement for read-only and switch button
  • Repair publishing by removing home from storyshots
  • Add validityErrors field prop to add custom validation error messages
  • Add i18n for select-menu
  • Fix focus on field-set
  • Add title Field prop for adding tooltips to fields
  • Add listDefaultHeight and listApproximatedLengthBreak options to customize the very bad select-menu item height heuristic
  • Workaround select-menu with different option height bug
  • Fix missing placeholder in select-menu
  • Fix choices as array of pairs
  • Make Radio/Checkbox-SetFields handle non-string value like Selects.
  • Fix decorators to keep known static attributes.
  • Add dangerousRawHTMLLabels option for FieldSets to allow raw html in labels.
  • Fix #38 and style disable state for form's button
  • Migrate to react-select 2
  • Minor fixes
  • Fix non-string values not set for async loaded non-string choices.
  • Add an easing on opacity transition for form loading.
  • Fix long labels style in select menu. Fix #35
  • Field refactoring, props processing refactored in a HOC and some rendering optimization.
  • Upgrade bemboo to 2.0.0
  • 100% test coverage
  • Fix lots of minor bugs and unnecessary renders
  • Dead code removal
  • Cosmetic fixes
  • Add a NoRequestNeeded exception to allow unrest onCreate/onSend methods to skip the request (and therefore avoid valid and error messages)
  • Don't duplicate sass now that src is bundled
  • Bundle source code and a pkg.module field to allow in your app building and code-splitting (with webpack you will have to add the node_modules/src/formol directory to the include of your babel rule)
  • Add Formol classes property to specify additional classes on buttons
  • Make sass importable without editing includePath
  • Input text is always in basic color
  • Range field improvements
  • Add focus color for default theme. Fix #27
  • Sass files organization
  • Avoid crash on non-file files in FileField
  • Fix default formatter/normalizer
  • Use an updater for Formol setState to avoid data loss
  • Fix null value in Select and bad coercive equality for value.
  • Handle non-string values in select field (using an internal memo)
  • Add Inliner component to allow several fields in same line
  • Reset form on submit when no item was given
  • Allow restoring not entered state for fields from Form. Restore this state after a successful submit or a cancel.
  • Align password field (take eye size in account)
  • Fix typo for datetime-local type.
  • Fix bad prop check for componentDidUpdate in Field.
  • Add a money type.
  • Use decorators for context and export contexts
  • Add stars on required fields. Fix #19
  • Prevent stack overflow when comparing field props in componentDidUpdate.
  • Protect from unmounting in onSubmit
  • Trigger a form validation on field prop change (makes async choices works better for instance, and knobs too)
  • Fix allowUnmodifiedSubmit
  • Add allowUnmodifiedSubmit to allow submit even if the form has no modification.
  • Trigger a form validation after first render and following item props change.
  • Fix range field
  • Update bemboo to avoid unecessary re-render
  • Make Fields PureComponents
  • Localize datePatern and fix CalendarField
  • Log error on bad return value from onSubmit
  • Add required class on fields
  • Fix useless re-rendering with a better types comparison
  • Fix errors being ignored in FileField
  • Remove choiceGetter (get your choice in your form instead)
  • Improve unrest error handling
  • Wrap the eye toggler for password strength field
  • Fix Password field style related to #18
  • Remove password (and strength) type text at blur
  • Send the right item on create
  • Fix SelectField onChange bad signature
  • Add an extra parameter for form that will be called with the state (can be useful for prompting with react-router for example).
  • Fix creation pk test in unrest wrapper.
  • Use a mapping as argument for unrest and export it publicly
  • First release
  • Refactor everything (see commit log)
  • Pre release