Skip to content

Commit

Permalink
Prepare 3.4.0 release candidate
Browse files Browse the repository at this point in the history
  • Loading branch information
nhunzaker committed Apr 26, 2016
1 parent 464ac60 commit a29ba4c
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# Changelog

## 3.4.0 (release candidate)

- Upgrade Microcosm to 9.21.x
- The `<Field />` component is once again controlled. Upgrading
Microcosm addressed issues with using a controlled input inside
of this add-on.

### Upgrading

If you are using the `<Field />` component, verify that it continues to
work as expected. We moved away from controlled inputs in a prior
release when we were unable to determine why cursor position would
erratically move to the end of an input when it changed. This was due
to a way older versions of Microcosm batched state changes
together. This is no longer an issue, so we moved back to the original
controlled strategy.

If you would like to keep the old behavior, instead of passing a
`value` property into the `<Field />` component, send in
`defaultValue`. This is the method exposed by React for uncontrolled
inputs.

For more information on controlled inputs, see the React
documentation:

https://facebook.github.io/react/docs/forms.html#controlled-components

## 3.3.0

- Added `html-embed` add-on. This component may be used to include
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "colonel-kurtz",
"version": "3.3.0",
"version": "3.4.0-rc",
"private": true,
"description": "A block editor",
"main": "src/Colonel.js",
Expand Down

0 comments on commit a29ba4c

Please sign in to comment.