Skip to content

File tree

53 files changed

+337
-172
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+337
-172
lines changed

CHANGELOG.md

Lines changed: 0 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -1,59 +0,0 @@
1-
<a name="1.0.0"></a>
2-
3-
# [1.0.0](https://github.com/imcuttle/rcp/compare/v1.0.6...v1.0.0) (2021-12-28)
4-
5-
### Bug Fixes
6-
7-
- should remove container firstly ([4e0d087](https://github.com/imcuttle/rcp/commit/4e0d087))
8-
- should remove container firstly ([8dfcc84](https://github.com/imcuttle/rcp/commit/8dfcc84))
9-
- use extendDictionary ([330edf0](https://github.com/imcuttle/rcp/commit/330edf0))
10-
- use.fetcher with key ([fe45ac1](https://github.com/imcuttle/rcp/commit/fe45ac1))
11-
- use.i18ncontext ([da70207](https://github.com/imcuttle/rcp/commit/da70207))
12-
13-
### Features
14-
15-
- add c.preventfastop ([44bf84f](https://github.com/imcuttle/rcp/commit/44bf84f))
16-
- add eq option ([631dfe7](https://github.com/imcuttle/rcp/commit/631dfe7))
17-
- add hook ([300eb94](https://github.com/imcuttle/rcp/commit/300eb94))
18-
- add use.i18n ([8f2b256](https://github.com/imcuttle/rcp/commit/8f2b256))
19-
- allow customized eq function ([79e92ce](https://github.com/imcuttle/rcp/commit/79e92ce))
20-
- remove global option ([55f611a](https://github.com/imcuttle/rcp/commit/55f611a))
21-
- use es6 instead of es5 ([3dcc2a8](https://github.com/imcuttle/rcp/commit/3dcc2a8))
22-
- util.createlogger log alias to info ([8757ae8](https://github.com/imcuttle/rcp/commit/8757ae8))
23-
24-
### Performance Improvements
25-
26-
- set defaultLanguage to defaultProps ([cf01859](https://github.com/imcuttle/rcp/commit/cf01859))
27-
28-
### BREAKING CHANGES
29-
30-
- use es6 instead of es5
31-
- remove global option
32-
33-
<a name="1.0.6"></a>
34-
35-
## [1.0.6](https://github.com/imcuttle/rcp/compare/v1.0.5...v1.0.6) (2018-09-08)
36-
37-
### Bug Fixes
38-
39-
- makeCreateLogger preset argv='[]' ([756b40a](https://github.com/imcuttle/rcp/commit/756b40a))
40-
41-
<a name="1.0.5"></a>
42-
43-
## [1.0.5](https://github.com/imcuttle/rcp/compare/v1.0.4...v1.0.5) (2018-09-07)
44-
45-
<a name="1.0.4"></a>
46-
47-
## [1.0.4](https://github.com/imcuttle/rcp/compare/v1.0.3...v1.0.4) (2018-09-07)
48-
49-
<a name="1.0.3"></a>
50-
51-
## [1.0.3](https://github.com/imcuttle/rcp/compare/v1.0.2...v1.0.3) (2018-09-07)
52-
53-
<a name="1.0.2"></a>
54-
55-
## [1.0.2](https://github.com/imcuttle/rcp/compare/v1.0.1...v1.0.2) (2018-09-07)
56-
57-
<a name="1.0.1"></a>
58-
59-
## 1.0.1 (2018-09-07)

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,28 +53,28 @@ should be named as `use.{{lowerCase}}`, eg. `@rp/use.i18n`.
5353
## Packages
5454

5555
- [@rcp/c.keepalive](packages/c.keepalive) - Keep react component view / store when switched view.
56-
- [@rcp/c.loadingwrapper](packages/c.loadingwrapper) - A component for easy create loading mask
5756
- [@rcp/c.preventfastop](packages/c.preventfastop) - Prevent some fast operation (eg. click)
58-
- [@rcp/c.prompt](packages/c.prompt) - Advanced React router prompt support beforeunload
5957
- [@rcp/hoc.i18n](packages/hoc.i18n) - React Component's high order component about internationalization
58+
- [@rcp/c.loadingwrapper](packages/c.loadingwrapper) - A component for easy create loading mask
59+
- [@rcp/c.prompt](packages/c.prompt) - Advanced React router prompt support beforeunload
6060
- [@rcp/hoc.mount](packages/hoc.mount) - The high order component for mounting component
6161
- [@rcp/hoc.uncontrolled](packages/hoc.uncontrolled) - The high order component for creating uncontrolled component
6262
- [@rcp/use.behaviorsubject](packages/use.behaviorsubject) - use hook for rxjs behavior subject
6363
- [@rcp/use.compareeffect](packages/use.compareeffect) - use custome compare effect
64-
- [@rcp/use.fetcher](packages/use.fetcher) - async data fetcher
6564
- [@rcp/use.forceupdate](packages/use.forceupdate) - forceUpdate like legacy react
6665
- [@rcp/use.i18n](packages/use.i18n) - A react hook for using i18n
66+
- [@rcp/use.fetcher](packages/use.fetcher) - async data fetcher
6767
- [@rcp/use.i18ncontext](packages/use.i18ncontext) - A react hook for using i18n provider/consumer
6868
- [@rcp/use.persistfn](packages/use.persistfn) - use persist fn
69-
- [@rcp/use.persistref](packages/use.persistref) - Persist the ref value
7069
- [@rcp/use.replacer](packages/use.replacer) - Replace runtime value as your wish
71-
- [@rcp/use.shared](packages/use.shared) - shared value like recoil
70+
- [@rcp/use.persistref](packages/use.persistref) - Persist the ref value
7271
- [@rcp/use.syncstorage](packages/use.syncstorage) - Sync state to storage
72+
- [@rcp/use.shared](packages/use.shared) - shared value like recoil
7373
- [@rcp/use.uncontrolled](packages/use.uncontrolled) - Make props.value piped to state, and exposes `onChange`, make react component is **uncontrolled & controlled**
7474
- [@rcp/use.valuesstate](packages/use.valuesstate) - The useful methods exported for values state
75+
- [@rcp/util.createlogger](packages/util.createlogger) - Create namespace isomorphic logger
7576
- [@rcp/util.createmount](packages/util.createmount) - The utility for creating mountable view
7677
- [@rcp/util.displayname](packages/util.displayname) - The utility for getting display name
77-
- [@rcp/util.createlogger](packages/util.createlogger) - Create namespace isomorphic logger
7878
- [@rcp/util.iscompclass](packages/util.iscompclass) - The utility for checking component class
7979
- [@rcp/util.iselemof](packages/util.iselemof) - The utility determinating the input is element of the component class
8080
- [@rcp/util.open](packages/util.open) - Open react element standalone

packages/_types/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [2.0.0](https://github.com/imcuttle/rcp/compare/@rcp/[email protected]...@rcp/[email protected]) (2024-02-27)
7+
8+
### Features
9+
10+
- apply major changes ([76ab08c](https://github.com/imcuttle/rcp/commit/76ab08c0b961d33963a59f95d061f5cced94483c))
11+
12+
### BREAKING CHANGES
13+
14+
- apply lots of changes since two years ago
15+
616
<a name="1.0.9"></a>
717

818
## [1.0.9](https://github.com/imcuttle/rcp/compare/@rcp/[email protected]...@rcp/[email protected]) (2020-07-04)

packages/_types/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
},
2222
"main": "index.js",
2323
"typings": "index.d.ts",
24-
"version": "1.0.9",
24+
"version": "2.0.0",
2525
"devDependencies": {
2626
"@types/react": "^16.4.13"
2727
},

packages/c.keepalive/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [2.0.0](https://github.com/imcuttle/rcp/compare/@rcp/[email protected]...@rcp/[email protected]) (2024-02-27)
7+
8+
### Features
9+
10+
- apply major changes ([76ab08c](https://github.com/imcuttle/rcp/commit/76ab08c0b961d33963a59f95d061f5cced94483c))
11+
12+
### BREAKING CHANGES
13+
14+
- apply lots of changes since two years ago
15+
616
<a name="1.0.13"></a>
717

818
## [1.0.13](https://github.com/imcuttle/rcp/compare/@rcp/[email protected]...@rcp/[email protected]) (2021-12-28)

packages/c.keepalive/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232
},
3333
"main": "index.js",
3434
"typings": "index.d.ts",
35-
"version": "1.0.13",
35+
"version": "2.0.0",
3636
"dependencies": {
37-
"@rcp/util.displayname": "^1.0.15",
37+
"@rcp/util.displayname": "^2.0.0",
3838
"classnames": "^2.2.6"
3939
},
4040
"gitHead": "f28ececd4b2fab80551292239b568841c895177f"

packages/c.loadingwrapper/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [2.0.0](https://github.com/imcuttle/rcp/compare/@rcp/[email protected]...@rcp/[email protected]) (2024-02-27)
7+
8+
### Features
9+
10+
- apply major changes ([76ab08c](https://github.com/imcuttle/rcp/commit/76ab08c0b961d33963a59f95d061f5cced94483c))
11+
12+
### BREAKING CHANGES
13+
14+
- apply lots of changes since two years ago
15+
616
<a name="1.0.12"></a>
717

818
## [1.0.12](https://github.com/imcuttle/rcp/compare/@rcp/[email protected]...@rcp/[email protected]) (2021-12-28)

packages/c.loadingwrapper/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@
3535
},
3636
"main": "index.js",
3737
"typings": "index.d.ts",
38-
"version": "1.0.12",
38+
"version": "2.0.0",
3939
"gitHead": "f28ececd4b2fab80551292239b568841c895177f"
4040
}

packages/c.preventfastop/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [2.0.0](https://github.com/imcuttle/rcp/compare/@rcp/[email protected]...@rcp/[email protected]) (2024-02-27)
7+
8+
### Features
9+
10+
- apply major changes ([76ab08c](https://github.com/imcuttle/rcp/commit/76ab08c0b961d33963a59f95d061f5cced94483c))
11+
12+
### BREAKING CHANGES
13+
14+
- apply lots of changes since two years ago
15+
616
<a name="1.2.2"></a>
717

818
## [1.2.2](https://github.com/imcuttle/rcp/compare/@rcp/[email protected]...@rcp/[email protected]) (2021-12-28)

packages/c.preventfastop/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
"engines": {
3434
"node": ">=6"
3535
},
36-
"version": "1.2.2",
36+
"version": "2.0.0",
3737
"dependencies": {
38-
"@rcp/use.persistfn": "^1.0.4"
38+
"@rcp/use.persistfn": "^2.0.0"
3939
}
4040
}

packages/c.prompt/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [2.0.0](https://github.com/imcuttle/rcp/compare/@rcp/[email protected]...@rcp/[email protected]) (2024-02-27)
7+
8+
### Features
9+
10+
- apply major changes ([76ab08c](https://github.com/imcuttle/rcp/commit/76ab08c0b961d33963a59f95d061f5cced94483c))
11+
12+
### BREAKING CHANGES
13+
14+
- apply lots of changes since two years ago
15+
616
<a name="1.0.6"></a>
717

818
## [1.0.6](https://github.com/imcuttle/rcp/compare/@rcp/[email protected]...@rcp/[email protected]) (2021-12-28)

packages/c.prompt/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"engines": {
3535
"node": ">=6"
3636
},
37-
"version": "1.0.6",
37+
"version": "2.0.0",
3838
"devDependencies": {
3939
"@types/history": "^4.7.8",
4040
"@types/react-router": "5.1.8",
@@ -47,7 +47,7 @@
4747
"react-router": ">=5"
4848
},
4949
"dependencies": {
50-
"@rcp/util.open": "^1.0.5",
50+
"@rcp/util.open": "^2.0.0",
5151
"lodash.isequal": "^4.5.0"
5252
}
5353
}

packages/hoc.i18n/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [2.0.0](https://github.com/imcuttle/rcp/compare/@rcp/[email protected]...@rcp/[email protected]) (2024-02-27)
7+
8+
### Features
9+
10+
- apply major changes ([76ab08c](https://github.com/imcuttle/rcp/commit/76ab08c0b961d33963a59f95d061f5cced94483c))
11+
12+
### BREAKING CHANGES
13+
14+
- apply lots of changes since two years ago
15+
616
<a name="1.0.31"></a>
717

818
## [1.0.31](https://github.com/imcuttle/rcp/compare/@rcp/[email protected]...@rcp/[email protected]) (2021-09-29)

packages/hoc.i18n/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@
2424
},
2525
"main": "index.js",
2626
"typings": "index.d.ts",
27-
"version": "1.0.31",
27+
"version": "2.0.0",
2828
"peerDependencies": {
2929
"prop-types": ">=15.0.0",
3030
"react": ">=15.0.0"
3131
},
3232
"dependencies": {
33-
"@rcp/util.createlogger": "^1.1.7",
34-
"@rcp/util.displayname": "^1.0.15",
35-
"@rcp/util.iscompclass": "^1.0.15",
33+
"@rcp/util.createlogger": "^2.0.0",
34+
"@rcp/util.displayname": "^2.0.0",
35+
"@rcp/util.iscompclass": "^2.0.0",
3636
"lodash.foreach": "^4.5.0",
3737
"tiny-i18n": "^2.0.3"
3838
},

packages/hoc.mount/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [2.0.0](https://github.com/imcuttle/rcp/compare/@rcp/[email protected]...@rcp/[email protected]) (2024-02-27)
7+
8+
### Features
9+
10+
- apply major changes ([76ab08c](https://github.com/imcuttle/rcp/commit/76ab08c0b961d33963a59f95d061f5cced94483c))
11+
12+
### BREAKING CHANGES
13+
14+
- apply lots of changes since two years ago
15+
616
<a name="1.0.20"></a>
717

818
## [1.0.20](https://github.com/imcuttle/rcp/compare/@rcp/[email protected]...@rcp/[email protected]) (2021-09-29)

packages/hoc.mount/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@
2121
},
2222
"main": "index.js",
2323
"typings": "index.d.ts",
24-
"version": "1.0.20",
24+
"version": "2.0.0",
2525
"dependencies": {
26-
"@rcp/util.createlogger": "^1.1.7",
27-
"@rcp/util.createmount": "^1.0.17",
28-
"@rcp/util.displayname": "^1.0.15",
29-
"@rcp/util.tocompclass": "^1.0.15"
26+
"@rcp/util.createlogger": "^2.0.0",
27+
"@rcp/util.createmount": "^2.0.0",
28+
"@rcp/util.displayname": "^2.0.0",
29+
"@rcp/util.tocompclass": "^2.0.0"
3030
},
3131
"gitHead": "f28ececd4b2fab80551292239b568841c895177f",
3232
"repository": {

packages/hoc.uncontrolled/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [3.0.0](https://github.com/imcuttle/rcp/compare/@rcp/[email protected]...@rcp/[email protected]) (2024-02-27)
7+
8+
### Features
9+
10+
- apply major changes ([76ab08c](https://github.com/imcuttle/rcp/commit/76ab08c0b961d33963a59f95d061f5cced94483c))
11+
12+
### BREAKING CHANGES
13+
14+
- apply lots of changes since two years ago
15+
616
<a name="2.1.12"></a>
717

818
## [2.1.12](https://github.com/imcuttle/rcp/compare/@rcp/[email protected]...@rcp/[email protected]) (2021-12-28)

packages/hoc.uncontrolled/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@
2727
},
2828
"main": "index.js",
2929
"typings": "index.d.ts",
30-
"version": "2.1.12",
30+
"version": "3.0.0",
3131
"dependencies": {
32-
"@rcp/util.createlogger": "^1.1.7",
33-
"@rcp/util.displayname": "^1.0.15",
34-
"@rcp/util.iscompclass": "^1.0.15"
32+
"@rcp/util.createlogger": "^2.0.0",
33+
"@rcp/util.displayname": "^2.0.0",
34+
"@rcp/util.iscompclass": "^2.0.0"
3535
},
3636
"gitHead": "f28ececd4b2fab80551292239b568841c895177f",
3737
"repository": {

packages/use.behaviorsubject/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [1.2.3](https://github.com/imcuttle/rcp/compare/@rcp/[email protected]...@rcp/[email protected]) (2024-02-27)
7+
8+
**Note:** Version bump only for package @rcp/use.behaviorsubject
9+
610
<a name="1.2.2"></a>
711

812
## [1.2.2](https://github.com/imcuttle/rcp/compare/@rcp/[email protected]...@rcp/[email protected]) (2021-12-28)

packages/use.behaviorsubject/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,16 @@
3333
"engines": {
3434
"node": ">=6"
3535
},
36-
"version": "1.2.2",
36+
"version": "1.2.3",
3737
"devDependencies": {
3838
"rxjs": "^6"
3939
},
4040
"peerDependencies": {
4141
"rxjs": ">=6"
4242
},
4343
"dependencies": {
44-
"@rcp/use.persistfn": "^1.0.4",
45-
"@rcp/use.uncontrolled": "^2.1.3",
44+
"@rcp/use.persistfn": "^2.0.0",
45+
"@rcp/use.uncontrolled": "^3.0.0",
4646
"shallowequal": "^1.1.0"
4747
}
4848
}

packages/use.compareeffect/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [2.0.0](https://github.com/imcuttle/rcp/compare/@rcp/[email protected]...@rcp/[email protected]) (2024-02-27)
7+
8+
### Features
9+
10+
- apply major changes ([76ab08c](https://github.com/imcuttle/rcp/commit/76ab08c0b961d33963a59f95d061f5cced94483c))
11+
12+
### BREAKING CHANGES
13+
14+
- apply lots of changes since two years ago
15+
616
<a name="1.2.1"></a>
717

818
## [1.2.1](https://github.com/imcuttle/rcp/compare/@rcp/[email protected]...@rcp/[email protected]) (2021-12-28)

packages/use.compareeffect/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"engines": {
3434
"node": ">=6"
3535
},
36-
"version": "1.2.1",
36+
"version": "2.0.0",
3737
"dependencies": {
3838
"shallowequal": "^1.1.0"
3939
}

0 commit comments

Comments
 (0)