-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
51 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"mode": "pre", | ||
"tag": "alpha", | ||
"initialVersions": { | ||
"@yannbcf/altv-rpc": "0.5.0" | ||
}, | ||
"changesets": [ | ||
"cuddly-coats-end" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,125 +1,139 @@ | ||
# @yannbcf/altv-rpc | ||
|
||
## 0.5.0-alpha.0 | ||
|
||
### Minor Changes | ||
|
||
- Eradicate < 0.5.0 rpc implementation | ||
- New rpc system wip implementation | ||
|
||
### Patch Changes | ||
|
||
- Make rpcs non-lazy, it will drastically improve performances and allow bridge events to work | ||
- Various rpcs build steps improvements | ||
- Implement webview bi-directional communication | ||
- Throw an error on multiple rpc return value calls | ||
|
||
## 0.4.7 | ||
|
||
### Patch Changes | ||
|
||
- Implement self rpc removal mechanism | ||
- Implement self rpc removal mechanism | ||
|
||
## 0.4.6 | ||
|
||
### Patch Changes | ||
|
||
- Fix library types | ||
- Fix library types | ||
|
||
## 0.4.5 | ||
|
||
### Patch Changes | ||
|
||
- Replace $client and $server with the useTypes method, which remove the useage of subpath imports | ||
- Replace $client and $server with the useTypes method, which remove the useage of subpath imports | ||
|
||
## 0.4.3 | ||
|
||
### Patch Changes | ||
|
||
- Expose ClientEvent and ServerEvent types, allowing external type inference | ||
- Expose ClientEvent and ServerEvent types, allowing external type inference | ||
|
||
## 0.4.2 | ||
|
||
### Patch Changes | ||
|
||
- Fix library types | ||
- Fix library types | ||
|
||
## 0.4.1 | ||
|
||
### Patch Changes | ||
|
||
- Implement useEvents which add support for the alt:V local events | ||
- Implement useEvents which add support for the alt:V local events | ||
|
||
## 0.4.0 | ||
|
||
### Minor Changes | ||
|
||
- Add rpc contract internal event name generator function support | ||
- Add rpc contract internal event name generator function support | ||
|
||
### Patch Changes | ||
|
||
- Add local events support | ||
- Add local events support | ||
|
||
## 0.3.6 | ||
|
||
### Patch Changes | ||
|
||
- Add $shared type checking | ||
- Add $shared type checking | ||
|
||
## 0.3.5 | ||
|
||
### Patch Changes | ||
|
||
- Fix $client and $server subpath exports | ||
- Fix $client and $server subpath exports | ||
|
||
## 0.3.4 | ||
|
||
### Patch Changes | ||
|
||
- Fix library exports | ||
- Fix library exports | ||
|
||
## 0.3.1 | ||
|
||
### Patch Changes | ||
|
||
- Isolate $client and $server to unlock alt types runtime type checking | ||
- Isolate $client and $server to unlock alt types runtime type checking | ||
|
||
## 0.3.0 | ||
|
||
### Minor Changes | ||
|
||
- Implement rpc handler level runtime type checking | ||
- Implement contract level type checking | ||
- Implement rpc handler level runtime type checking | ||
- Implement contract level type checking | ||
|
||
### Patch Changes | ||
|
||
- Add rpc router return value runtime type checking | ||
- Add rpc router return value runtime type checking | ||
|
||
## 0.2.0 | ||
|
||
### Minor Changes | ||
|
||
- Implement $typeOnly method | ||
- Implement $typeOnly method | ||
|
||
## 0.1.1 | ||
|
||
### Patch Changes | ||
|
||
- Fix package types | ||
- Fix package types | ||
|
||
## 0.1.0 | ||
|
||
### Minor Changes | ||
|
||
- Restructure the library exports | ||
- Restructure the library exports | ||
|
||
### Patch Changes | ||
|
||
- Implement an event name override system | ||
- Expose zod compatible alt:V classes | ||
- Implement an event name override system | ||
- Expose zod compatible alt:V classes | ||
|
||
## 0.0.4 | ||
|
||
### Patch Changes | ||
|
||
- Improve types inference when no args/returns schema is provided | ||
- Apply the rpc router env correctly | ||
- Allow only 1 return value per rpc call | ||
- Improve types inference when no args/returns schema is provided | ||
- Apply the rpc router env correctly | ||
- Allow only 1 return value per rpc call | ||
|
||
## 0.0.3 | ||
|
||
### Patch Changes | ||
|
||
- Fix the rpc router protocol return value type inference | ||
- Fix the rpc router protocol return value type inference | ||
|
||
## 0.0.1 - 0.0.2 | ||
|
||
### Patch Changes | ||
|
||
- Types fixes, add the return value as a method passed in the router handler args rather than a return statement | ||
- Types fixes, add the return value as a method passed in the router handler args rather than a return statement |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters