Skip to content

Commit

Permalink
release: v0.5.0.alpha.0
Browse files Browse the repository at this point in the history
  • Loading branch information
yannbcf committed Jun 25, 2023
1 parent f9785ea commit 56d139f
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 27 deletions.
10 changes: 10 additions & 0 deletions .changeset/pre.json
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"
]
}
64 changes: 39 additions & 25 deletions CHANGELOG.md
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
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@yannbcf/altv-rpc",
"version": "0.4.8",
"version": "0.5.0-alpha.0",
"type": "module",
"author": "YannBcf",
"main": "./dist/index.js",
Expand Down Expand Up @@ -35,7 +35,7 @@
"@types/node": "^18.16.18",
"@typescript-eslint/eslint-plugin": "^5.59.11",
"@typescript-eslint/parser": "^5.59.11",
"@yannbcf/altv-rpc": "^0.4.8",
"@yannbcf/altv-rpc": "^0.5.1-alpha.0",
"dts-bundle-generator": "^8.0.1",
"esbuild": "^0.17.19",
"eslint": "^8.42.0",
Expand Down

0 comments on commit 56d139f

Please sign in to comment.