diff --git a/CHANGELOG.md b/CHANGELOG.md index be4f380..d029a29 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,12 @@ -*Breaking:* If you want selected options to no longer appear in the select, you -now _must_ either pass them back to `FilteredMultiSelect` via its -`selectedOptions` prop or manually remove them from the `options` list. +## 0.2.0 - 2014-12-06 -A `FilteredMultiSelect` will now update its display if its `options` list's -`.length` changes or is no longer `===` the previous `options` list. +**Breaking:** If you want selected options to no longer appear in the select, +you now _must_ either pass them back to `FilteredMultiSelect` via its +`selectedOptions` prop or manually remove them from list that gets passed as its + `options` prop. -Now using ES6 transforms when transpiling. +Fixed: `FilteredMultiSelect` will now re-render if its `options` prop is +replaced with another object, or `options.length` changes. Removed React from package.json `dependencies` - it's now only in `peerDependencies`. diff --git a/README.md b/README.md index ccbb5d3..10086cd 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ var FilteredMultiSelect = require('react-filtered-multiselect') Browser bundles export a global ``FilteredMultiSelect`` variable and expect to find a global ``React`` variable to work with. -*v0.1.0* +*v0.2.0* * [react-filtered-multiselect.js](https://github.com/insin/react-filtered-multiselect/raw/master/dist/react-filtered-multiselect.js) (development version) * [react-filtered-multiselect.min.js](https://github.com/insin/react-filtered-multiselect/raw/master/dist/react-filtered-multiselect.min.js) (compressed production version) diff --git a/dist/react-filtered-multiselect.js b/dist/react-filtered-multiselect.js index 2c2a8a3..6cb10ef 100644 --- a/dist/react-filtered-multiselect.js +++ b/dist/react-filtered-multiselect.js @@ -1,5 +1,5 @@ /** - * react-filtered-multiselect 0.1.1 - https://github.com/insin/react-filtered-multiselect + * react-filtered-multiselect 0.2.0 - https://github.com/insin/react-filtered-multiselect * MIT Licensed */ !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.FilteredMultiSelect=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o currently selected in the