We've switched to keeping our changelog in Github releases. Please go here to view the latest release notes.
- Fix broken entrypoint in package.json; clean up build a bit.
- VERSION 6.0.0 IS BROKEN. PLEASE DO NOT USE. USE 6.0.1 INSTEAD.
- BREAKING CHANGE: BlocklyEditor is now the default export of this package. If you are using a default import, you'll need to change that. You can still import individual components using named imports (see the updated README for how), and if you only need BlocklyEditor, it should be more straightforward to use that.
- Update webpack files to support default export of the component, separate the dev example from the package (thanks @OriAmir!)
- Upgrade to Babel 7, fix configuration to actually transpile to ES5
- Suppress a lot of console warnings in development mode (thanks @DarkMetroid!)
- Update to Blockly version v3.20200625.2 (fixes a regression)
- Update to Blockly version v3.20200625.1 (thanks @mastanca!)
- Update to Blockly version 3.0! (thanks @samelhusseini!)
- Add the ability to use buttons in the toolbox (thanks @GAUTAMRAJU15!)
- Dev dependency updates and linter cleanups (thanks @abbychau!)
- First release under the new package name react-blockly
- Use the new official blockly npm package as a dependency
- Update development dependencies
- Support expanded property on category (thanks @doper1234)
- Support parsing nested blocks (thanks @YuliyaBolbot!)
- Bugfix: render single blocks in a category again (thanks @YuliyaBolbot!)
- Add a
prepare
script to make it easier to test forks (thanks again @YuliyaBolbot!)
- Add a
parseWorkspaceXml
function that makes it easier to use XML-formatted toolboxes with react-blockly-component (thanks @Macilias!)
- Make
type
an optional prop because categories don't always use it
- Fix a logic error in BlocklyEditor's componentDidUpdate (thanks @prabak!)
- If the toolbox props change, automatically update the toolbox in Blockly
- Support React 16. Drop support for React 0.14.x.
- Deprecate
xmlDidChange
in favor ofworkspaceDidChange
, which gives you access to the workspace object itself to allow generating code for any language including XML (thanks @Xaptor!) - Stop depending on ReactDOM in favor of callback refs.
- Major internal cleanups to pass AirBnB's eslint configuration.
- Update react-immutable-proptypes dependency to avoid warning in newer React versions (thanks @ipince!)
- BREAKING CHANGE: Swap the order of arguments for
domToWorkspace
to match the latest Blockly changes (thanks @ipince!)
- Handle errors when importing/exporting workspace XML, optionally passing the error back to the app (thanks @benjie!)
- Support
readOnly
mode for workspaces (thanks @benjie!).
- Add
colour
property for toolbox blocks (thanks @benjie!).
- Add
.npmignore
so that npm doesn't use.gitignore
by default.
- Make React a peerDependency.
- Loosen the React version dependency.
- Fix a bug that was causing unnecessary toolbox updates.
- Expose a
resize
function fromBlocklyEditor
andBlocklyWorkspace
that causes the workspace to resize to fit its container element.
- Breaking change: the component now uses Immutable.js internally to track its state and properties for dramatically improved performance. This is mostly invisible to embedding apps, but if they have a custom
processToolboxCategory
function, that function will now be passed an Immutable.js Map and is expected to return one (either modified or not).
- Reconfigured the build to emit compiled ES5 in the dist-modules directory, for easier use in build systems.
- Add a default export so that this component can easily be used inside another ES6 module.
- Add support for PatientsLikeMe's [https://github.com/google/blockly/pull/224](pending pull request) on Blockly to allow typeahead search.
- Add a code of conduct.
- Initial public release.