Skip to content

Commit 873e921

Browse files
committed
build: release 2.0.2
1 parent 042ff03 commit 873e921

File tree

9 files changed

+1424
-702
lines changed

9 files changed

+1424
-702
lines changed

CHANGELOG.md

Lines changed: 12 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,99 +1,89 @@
11
# Changelog
22

3+
### 2.0.2 (Dec 1, 2017)
4+
5+
- Trigger change event once district changed.
6+
- Support to load in node environment.
7+
- Update districts.
8+
39
### 2.0.1 (Sep 1, 2017)
410

5-
- Updated districts.
11+
- Update districts.
612

713
### 2.0.0 (Jun 1, 2017)
814

9-
- Updated districts.
15+
- Update districts.
1016
- Use `window.jQuery` instead of `window.$` for browser side usage.
1117
- Change the `main` field value from `dist/distpicker.js` (UMD) to `dist/distpicker.common.js` (CommonJS).
1218
- Added `module` and `browser` fields to `package.json`.
1319

14-
1520
### 2.0.0-rc (Mar 4, 2017)
1621

17-
- Updated districts.
18-
22+
- Update districts.
1923

2024
### 2.0.0-beta.2 (Dec 8, 2016)
2125

2226
- Build the source code with [Rollup](https://github.com/rollup/rollup).
2327

24-
2528
### 2.0.0-beta.1 (Oct 15, 2016)
2629

2730
- Fixed the issue of restoring saved districts by code (#19).
2831

29-
3032
### 2.0.0-alpha.2 (Sep 6, 2016)
3133

3234
- Rename `autoSelect` option to `autoselect`.
3335
- Subdivide optional values for `autoselect` option (#13).
3436
- Fixed the wrong value of the `<select>` elements (#18).
3537

36-
3738
### 2.0.0-alpha.1 (Aug 11, 2016)
3839

3940
- Merge the `distpicker.data.js` file to the `distpicker.js` file.
4041
- Added a new option: `valueType`.
4142
- Added a new method: `getDistricts`.
4243

43-
4444
### 1.0.4 (Jun 1, 2016)
4545

46-
- Updated districts data.
47-
46+
- Update districts data.
4847

4948
### 1.0.3 (Mar 3, 2016)
5049

51-
- Updated districts data.
52-
50+
- Update districts data.
5351

5452
### 1.0.2 (Dec 26, 2015)
5553

56-
- Updated lots of districts.
57-
54+
- Update lots of districts.
5855

5956
### 1.0.1 (Sep 6, 2015)
6057

6158
- Added new cities of Xizang (Tibet).
6259

63-
6460
### 1.0.0 (Aug 27, 2015)
6561

6662
- Added new districts of Sanya city.
6763
- Optimized code style.
6864

69-
7065
### 0.2.1 (Dec 26, 2014)
7166

7267
- Enable to change the global default options.
7368
- Fix placeholder bug.
7469
- Improve code.
7570

76-
7771
### 0.2.0 (Dec 20, 2014)
7872

7973
- Add new options: "autoSelect", "placeholder".
8074
- Add new methods: "reset", "destroy".
8175
- Use "data-distpicker" attribute for initializing automatically instead of "distpicker" attribute.
8276

83-
8477
### 0.1.3 (Aug 9, 2014)
8578

8679
- Improve
8780

88-
8981
### 0.1.2 (Apr 8, 2014)
9082

9183
- Fix a type error bug when initialize a city without districts.
9284

93-
9485
### 0.1.1 (Feb 21, 2014)
9586

9687
- Fix bug: The default options will be changed when use multiple times in one page.
9788

98-
9989
### 0.1.0 (Jan 25, 2014)

0 commit comments

Comments
 (0)