Skip to content
This repository has been archived by the owner on Sep 1, 2024. It is now read-only.

Add CHANGELOG #40

Merged
merged 6 commits into from
May 3, 2017
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
## 15.5.4
* Fix UMD Build. ([@acdlite](https://github.com/acdlite) in [31e9344](https://github.com/reactjs/prop-types/commit/31e9344ca3233159928da66295da17dad82db1a8))
Copy link
Contributor

@gaearon gaearon Apr 28, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe let's say "Reduce the size of the UMD build".

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is also an important change in 15.4.4:

  • Remove the accidentally included typechecking code from the production build.

* Remove bad package url. ([@ljharb](https://github.com/ljharb) in [158198f](https://github.com/reactjs/prop-types/commit/158198fd6c468a3f6f742e0e355e622b3914048a))

## 15.5.3
* Remove the dependency on the `react` package. ([@acdlite](https://github.com/acdlite) in [df318bb](https://github.com/reactjs/prop-types/commit/df318bba8a89bc5aadbb0292822cf4ed71d27ace))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is probably "Remove the accidentally included React package code from the UMD bundle."


## 15.5.2
Copy link
Contributor

@gaearon gaearon Apr 28, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think 15.5.2 added the UMD build (worth mentioning). But it was unnecessarily large by mistake.

https://unpkg.com/prop-types@15.5.2/prop-types.js
https://unpkg.com/prop-types@15.5.2/prop-types.min.js

Then 15.5.4 fixed its size (18 -> 4 kB pre gzip).

* Remove accidental uncompiled ES6 syntax in the published package. ([@acdlite](https://github.com/acdlite) in [e191963](https://github.com/facebook/react/commit/e1919638b39dd65eedd250a8bb649773ca61b6f1))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think 15.5.2 is the one that actually removed the (implicit) dependency on react:

https://unpkg.com/prop-types@15.5.2/index.js

Compare to 15.5.1:

https://unpkg.com/prop-types@15.5.1/index.js

## Before 15.5.2

PropTypes was previously included in React, but is now a separate package. For earlier history of PropTypes [see the React change log.](https://github.com/facebook/react/blob/master/CHANGELOG.md)