- Update PUBLISH_NODE_VERSION to 10.7.0
- Update PUBLISH_NODE_VERSION to 10.7.0
- Run es5 getter codemod
Dependencies:
- Updated core dependencies to be compatible with ember 3.3.
- Updated third-party dependencies to be compatible with ember 3.3.
Addon:
- Updated Ember core module import paths to match Ember.js new Modules API.
- Replaced Ember.Logger with the native console.
Testing:
- Removed
helpers/resolver.js
,helpers/start-app.js
,helpers/destroy-app.js
as they are not needed with Ember new testing API. - Updated
test-helper.js
to align with Ember's new testing API. - Added Ember 3.3 scenario to ember-try config.
- Fixed Travis API key.
- Fixed Travis API key.
- Updated ember-component validator to work with Ember CLI 3.2.0
- Updated
ember-spread
devDependency to^5.0.0
- Updated pull request template
- Added issue template
- Updated to
pr-bumper
version3
- Updated to node 8
- Added slack integration
- Updated
ember-frost-test
to^4.0.1
- Updated
ember-test-utils
to^8.1.1
- Updated
ember-cli-frost-blueprints
to^5.0.2
- Added
package-lock.json
file
- Updated test helper to now be provided from
addon-test-support
. For example, thecreateComponent
test helper previously available atdummy/tests/helpers/ember-prop-types
is now available viaember-prop-types/test-support/utils
- Update
ember-spread
devDependency to ^4.0.1
- Update
ember-cli-google-fonts
to^2.16.2
- Pin
ember-cli-htmlbars-inline-precompile
to0.3.12
- Pin
ember-get-config
to0.2.2
- Move
ember-string-ishtmlsafe-polyfill
to dependency - Remove
npm-install-security-check
dependency - Pin
prism
Bower dependency to1.6.0
- Remove useLintTree ember-cli-mocha configuration
- Upgrade
ember-frost-test
to^4.0.0
- Install
ember-cli-frost-blueprints@^5.0.1
- Git ignore package-lock.json file until officially support Node 8
- Upgrade
ember-spread
to^3.0.1
We experienced an issue with our release version strategy and this release should not have occurred. It should have been part of 6.0.0
- Updated to use latest version of
ember-frost-test
- Updated to use latest version of
ember-test-utils
- Added
bower
package since it is no longer included by Ember CLI - Updated lint to skip linting of line length in
CHANGELOG.md
file
- Update
ember-spread
to Ember CLI 2.12.3 compatible version as part of reversion from Ember CLI 2.16.1 to 2.12.3
We apologize for this change. Unfortunately, due to the internal needs of our organization this became a required action.
The 2.16.1 changes are now located in the ember-cli-2.16.1
branch and will hopefully be contained in a versioned release again in the future.
- Added regexp type
- Updated to Ember CLI 2.16.1
- Updated to Ember CLI version 2.15.1 (uses babel 6)
- Updated imports to ember javascript modules syntax
- Added eslint rule to require usage of new modules syntax (will remove once added to ember-test-utils)
- Updated test helpers to now come from
addon-test-support
- Updated
ember-cli-code-coverage
and configured reporters - Removed
ember-string-ishtmlsafe-polyfill
- If running Ember CLI < 2.8 then add back to your consuming addon/app.
- Adds a fallback for Object.assign for browsers that don't support it (i.e. IE).
- Install
ember-string-ishtmlsafe-polyfill
to address #139
Update string validation to support Ember SafeString objects. Fixes #128.
- Fix ember-component validator usage in
ember#lts-2-8
branch of Ember
Upgrade ember-cli to 2.12.3
- Upgrade
ember-get-config
- Fix HTMLBars linting
- Added date type
fixed error with nameOfType if typedef does not return a function string
- Fixed a regression in the execution order of getDefaultProps introduced in #118
- Updated the secure auth tokens in
.travis.yml
- Fixed build.
- Log typeOf value when asserting type
- Upgraded
ember-get-config
.
- Fixed
EmberComponent
prop type to work properly with Glimmer 2.
- Upgraded to test against Ember 2.11.
- Attempt to fix publishing of dummy app to
gh-pages
branch.
- Added additional builds to CI to make sure addon works with latest versions of Ember.
- Removed files from npm package that aren't necessary (all of the various config files).
- Updated dependencies to latest versions.
- Added new
updatable
option to all types to flag components that shouldn't allow updates. By default all properties will allow updates so specifyingupdatable: true
isn't necessary.
- Added
EmberComponent
prop-type for properties that come from the{{component}}
helper.
- Fixed typo in dummy app.
-
Added new alternative API for the following types:
any
array
bool
element
EmberObject
func
null
number
object
string
symbol
Example of new API with
any
typebar: PropTypes.any(), // Same as PropTypes.any baz: PropTypes.any({required: true}), // Same as PropTypes.any.isRequired foo: PropTypes.any({required: false}) // same as PropTypes.any
NOTE: If you update an addon to use this new API, consumers of your addon will also need to be upgraded to the version of
ember-prop-types
that includes this API. Otherwise they'll see errors asPropTypes.any()
won't work due to the factany
will be an object rather than a function. -
Added new optional argument to the following types:
arrayOf
instanceOf
oneOf
oneOfType
shape
Example of new optional argument with
arrayOf
typebaz: PropTypes.arrayOf(PropTypes.string, {required: true}), // Same as PropTypes.arrayOf(PropTypes.string).isRequired foo: PropTypes.arrayOf(PropTypes.string, {required: false}) // same as PropTypes.arrayOf(PropTypes.string)
-
Added the ability to enable/disable validation from an environment configuration setting, allowing consumers to control which environments
ember-prop-types
warnings/errors appear in. Below is an example of how to explicitly enable validation:'ember-prop-types': { validate: true }
Note: Without explicitly adding this setting things will continue to work as they did before in which validation is enabled for all environments except production.
-
Fixed validation error messages when
throwErrors
is set to true to match error messages when errors are not thrown (logging warnings instead).
- Added ability to validate properties on initialized that are nested under a single property via something like ember-spread.
-
Added the ability to configure validation errors to be throw as errors instead of logged as warnings. To enable this feature simply add the following to
config/environment.js
:'ember-prop-types': { throwErrors: true }
-
Added opt-in validation checks when properties that are spec'd in
propTypes
are updated. To enable this feature simply add the following toconfig/environment.js
:'ember-prop-types': { validateOnUpdate: true }
- Fixed bug where defaults weren't being applied when consumer passes in
undefined
for a property with defaults.
- Added more detailed messaging for sub-property validations when using
PropTypes.arrayOf
orPropTypes.shape
- Fixed a bug in the
PropTypes.arrayOf
validator when used in conjunction with thePropTypes.shape
validator.
- Fixed #76
- Refactored tests
- Updated test tools
- Improved demo by adding license, link to Github repository, contributors, syntax highlighting, and a brief summary.
- Added dummy app for better documentation.
- Support cases where components and mixins both use this mixin.
- Added pull request template.
- Added
npm-install-security-check
as a dependency to make consumers more security conscious.
- Updated CI configuration to not run npm scripts on install.
- Cleaned up README to pass default config for remark-lint and better organized badges.
- Updated dev dependencies.
- Addressed the following security vulnerability: https://nodesecurity.io/advisories/118.
- Updated Travis configuration to test addon against older versions of Ember.
- Only import polyfill for CI and not for consuming apps. Apps that want Symbol can pay as they go.
No CHANGELOG section found in Pull Request description.
Use a # CHANGELOG
section in your Pull Request description to auto-populate the CHANGELOG.md
No CHANGELOG section found in Pull Request description.
Use a # CHANGELOG
section in your Pull Request description to auto-populate the CHANGELOG.md
- Fixed issue when
Ember.assign
does not exist to fallback onObject.assign
thenEmber.merge
.
- Addedd missing prop-types to README.
- Upgraded
ember-get-config
to latest version.
- Added
element
prop-type.
- Added
symbol
prop-type.
No CHANGELOG section found in Pull Request description.
Use a # CHANGELOG
section in your Pull Request description to auto-populate the CHANGELOG.md
No CHANGELOG section found in Pull Request description.
Use a # CHANGELOG
section in your Pull Request description to auto-populate the CHANGELOG.md
- Fixed
shape
prop-type to not error when non-required props in shape are not present.
- Added
arrayOf
prop-type.
- Split source code up into separate modules as a first step in refactoring and improving implementation.
- Added tests for
oneOf
prop-type.
No CHANGELOG section found in Pull Request description.
Use a # CHANGELOG
section in your Pull Request description to auto-populate the CHANGELOG.md
No CHANGELOG section found in Pull Request description.
Use a # CHANGELOG
section in your Pull Request description to auto-populate the CHANGELOG.md
- Added tests for
instanceOf
prop-type.
- Added tests for
shape
prop-type and commented out tests that exercise issue #24.
- Added a bunch of tests to help prevent future regressions and verify addon does what it advertises.
- Finishes the removal of lodash as a dependency
- Removed Object.assign to fix cases where browsers don't support the latest ES6 syntax
- Removed lodash as a dependency to avoid lodash as a downstream requirement
- Replaced lodash functions with equivalent Ember/ES6/custom functions
- Changed from
ember-lodash
toember-lodash-shim
.
- Updated dependencies to the latest versions.
No CHANGELOG section found in Pull Request description.
Use a # CHANGELOG
section in your Pull Request description to auto-populate the CHANGELOG.md
No CHANGELOG section found in Pull Request description.
Use a # CHANGELOG
section in your Pull Request description to auto-populate the CHANGELOG.md
No CHANGELOG section found in Pull Request description.
Use a # CHANGELOG
section in your Pull Request description to auto-populate the CHANGELOG.md