Releases: Permify/permify-node
v1.0.10
What's Changed
- style: new logo by @tolgaozen in #119
- [StepSecurity] Apply security best practices by @step-security-bot in #102
- Bump @typescript-eslint/eslint-plugin from 5.62.0 to 8.25.0 by @dependabot[bot] in #133
- Update README.md by @FlorentinLedy in #98
- Bump actions/upload-artifact from 4.4.0 to 4.6.1 by @dependabot[bot] in #121
- Bump actions/checkout from 3.6.0 to 4.2.2 by @dependabot[bot] in #122
- Bump ossf/scorecard-action from 2.3.3 to 2.4.1 by @dependabot[bot] in #123
- Bump step-security/harden-runner from 2.10.1 to 2.11.0 by @dependabot[bot] in #124
- Bump actions/setup-node from 3.8.2 to 4.2.0 by @dependabot[bot] in #126
- Bump nice-grpc from 2.1.9 to 2.1.11 by @dependabot[bot] in #125
- chore(deps-dev): bump @types/jest from 29.5.12 to 29.5.14 by @dependabot[bot] in #116
- Bump globals from 15.9.0 to 16.0.0 by @dependabot[bot] in #127
- Bump ts-jest from 29.2.4 to 29.2.6 by @dependabot[bot] in #128
- Bump @typescript-eslint/parser from 5.62.0 to 8.25.0 by @dependabot[bot] in #129
- Bump jasmine from 5.2.0 to 5.6.0 by @dependabot[bot] in #130
- Bump @bufbuild/protobuf from 2.1.0 to 2.2.3 by @dependabot[bot] in #131
- Bump eslint from 8.57.0 to 9.21.0 by @dependabot[bot] in #132
- chore(deps): bump github/codeql-action from 2.26.10 to 3.28.11 by @dependabot[bot] in #139
- chore(deps-dev): bump @typescript-eslint/parser from 8.25.0 to 8.26.0 by @dependabot[bot] in #138
- chore(deps-dev): bump @typescript-eslint/eslint-plugin from 8.25.0 to 8.26.0 by @dependabot[bot] in #137
- chore(deps-dev): bump eslint from 9.21.0 to 9.22.0 by @dependabot[bot] in #136
- chore(deps): bump actions/dependency-review-action from 4.3.4 to 4.5.0 by @dependabot[bot] in #135
- chore(deps): bump github/codeql-action from 3.28.11 to 3.28.13 by @dependabot[bot] in #150
- chore(deps-dev): bump ts-jest from 29.2.6 to 29.3.0 by @dependabot[bot] in #149
- chore(deps-dev): bump @typescript-eslint/eslint-plugin from 8.26.0 to 8.27.0 by @dependabot[bot] in #148
- chore(deps): bump @bufbuild/protobuf from 2.2.3 to 2.2.5 by @dependabot[bot] in #147
- chore(deps-dev): bump eslint from 9.22.0 to 9.23.0 by @dependabot[bot] in #146
- chore(deps): bump actions/setup-node from 4.2.0 to 4.3.0 by @dependabot[bot] in #142
- chore(deps): bump actions/upload-artifact from 4.6.1 to 4.6.2 by @dependabot[bot] in #143
- chore(deps-dev): bump @typescript-eslint/parser from 8.26.0 to 8.27.0 by @dependabot[bot] in #145
- chore(deps): bump actions/dependency-review-action from 4.5.0 to 4.6.0 by @dependabot[bot] in #155
- chore(deps): bump step-security/harden-runner from 2.11.0 to 2.11.1 by @dependabot[bot] in #154
- chore(deps): bump ts-proto from 2.6.1 to 2.7.0 by @dependabot[bot] in #153
- chore(deps-dev): bump @typescript-eslint/eslint-plugin from 8.27.0 to 8.28.0 by @dependabot[bot] in #152
- chore(deps): bump github/codeql-action from 3.28.13 to 3.28.14 by @dependabot[bot] in #156
- chore(deps-dev): bump eslint from 9.23.0 to 9.24.0 by @dependabot[bot] in #157
- chore(deps-dev): bump @typescript-eslint/parser from 8.28.0 to 8.29.0 by @dependabot[bot] in #160
- chore(deps-dev): bump ts-jest from 29.3.0 to 29.3.1 by @dependabot[bot] in #159
- chore(deps-dev): bump @typescript-eslint/eslint-plugin from 8.28.0 to 8.29.0 by @dependabot[bot] in #158
- chore(deps): bump nice-grpc from 2.1.11 to 2.1.12 by @dependabot[bot] in #151
- chore(deps): bump github/codeql-action from 3.28.14 to 3.28.15 by @dependabot[bot] in #161
- chore(deps): bump actions/setup-node from 4.3.0 to 4.4.0 by @dependabot[bot] in #165
- chore(deps-dev): bump @typescript-eslint/eslint-plugin from 8.29.0 to 8.29.1 by @dependabot[bot] in #164
- chore(deps-dev): bump ts-jest from 29.3.1 to 29.3.2 by @dependabot[bot] in #162
- chore(deps-dev): bump @typescript-eslint/parser from 8.29.0 to 8.29.1 by @dependabot[bot] in #163
- chore(deps): bump github/codeql-action from 3.28.15 to 3.28.18 by @dependabot[bot] in #186
- chore(deps): bump actions/dependency-review-action from 4.6.0 to 4.7.1 by @dependabot[bot] in #185
- chore(deps-dev): bump @typescript-eslint/parser from 8.29.1 to 8.32.0 by @dependabot[bot] in #184
- chore(deps-dev): bump @typescript-eslint/eslint-plugin from 8.29.1 to 8.32.0 by @dependabot[bot] in #183
- chore(deps): bump step-security/harden-runner from 2.11.1 to 2.12.0 by @dependabot[bot] in #169
- chore(deps-dev): bump @typescript-eslint/eslint-plugin from 8.32.0 to 8.32.1 by @dependabot[bot] in #191
- chore(deps-dev): bump ts-jest from 29.3.2 to 29.3.4 by @dependabot[bot] in #190
- chore(deps-dev): bump globals from 16.0.0 to 16.2.0 by @dependabot[bot] in #193
- chore(deps): bump @bufbuild/protobuf from 2.2.5 to 2.5.0 by @dependabot[bot] in #192
- chore(deps-dev): bump eslint from 9.24.0 to 9.27.0 by @dependabot[bot] in #188
- chore(deps-dev): bump @typescript-eslint/parser from 8.32.0 to 8.32.1 by @dependabot[bot] in #187
- chore(deps-dev): bump jasmine from 5.6.0 to 5.7.1 by @dependabot[bot] in #177
- chore(deps): bump github/codeql-action from 3.28.18 to 3.28.19 by @dependabot[bot] in #200
- chore(deps): bump ossf/scorecard-action from 2.4.1 to 2.4.2 by @dependabot[bot] in #199
- chore(deps-dev): bump @typescript-eslint/parser from 8.32.1 to 8.33.0 by @dependabot[bot] in #198
- chore(deps-dev): bump @typescript-eslint/eslint-plugin from 8.32.1 to 8.33.0 by @dependabot[bot] in #197
- chore(deps): bump @bufbuild/protobuf from 2.5.0 to 2.5.2 by @dependabot[bot] in #202
- chore(deps-dev): bump @typescript-eslint/eslint-plugin from 8.32.1 to 8.33.1 by @dependabot[bot] in #203
- chore(deps-dev): bump jasmine from 5.7.1 to 5.8.0 by @dependabot[bot] in #204
- chore(deps-dev): bump eslint from 9.27.0 to 9.28.0 by @dependabot[bot] in #195
- chore(deps): bump step-security/harden-runner from 2.12.0 to 2.12.1 by @dependabot[bot] in #206
- chore(deps): bump github/codeql-action from 3.28.19 to 3.29.0 by @dependabot[bot] in #205
- chore(deps-dev): bump eslint from 9.28.0 to 9.29.0 by @dependabot[bot] in #212
- chore(deps-dev): bump ts-jest from 29.3.4 to 29.4.0 by @dependabot[bot] in #211
- chore(deps-dev): bump @typescript-eslint/eslint-plugin from 8.33.1 to 8.34.0 by @dependabot[bot] in #210
- chore(deps): bump ts-proto from 2.7.4 to 2.7.5 by @dependabot[bot] in #209
- chore(deps-dev): bump jest and @types/jest by @dependabot[bot] in #208
- chore(deps-dev): bump @typescript-eslint/parser from 8.33.1 to 8.34.0 by @dependabot[bot] in #207
- chore(deps-dev): bump jest from 30.0.0 to 30.0.2 by @dependabot[bot] in #215
- chore(deps-dev): bump @typescript-eslint/eslint-plugin from 8.34.0 to 8.34.1 by @dependabot[bot] in #214
- chore(deps): bump github/codeq...
v1.0.9
v1.0.8
v1.0.7
v1.0.5
v1.0.4
Release Notes
After receiving feedback from the community, we have reverted the parameter structure of our client functions to match the structure from v0.4.6 and earlier versions.
With this release, defining a schema will be as follows:
client.schema.write({
tenantId: "t1",
schema: `
entity user {}
entity document {
relation viewer @user
action view = viewer
}
`
});What's Changed
Full Changelog: v0.4.9...v1.0.4
v0.4.9
Release Notes
-
SDK Generation: SDKs are now generated using the official
bufgRPC Node generator. -
Unified Data Access: All data is accessable through the
grpc.payload,grpc.base, or simplygrpcproperties. -
Configuration Update: This version requires updating your configuration to include the
bufregistry in your npm settings. Make sure to add the necessary entries to your npm configuration to leverage the new SDKs. -
Object-Based Data Handling: Dictionary-typed data bodies are transitioned from sending to requiring objects to be created and set.
In versions earlier than v0.4.6, writing a schema could be done using the client.schema.write function with a dictionary option:
client.schema.write({
tenantId: "t1",
schema: `
entity user {}
entity document {
relation viewer @user
action view = viewer
}
`
});With this release, writing a schema now involves creating and setting the appropriate request objects:
let schema = `
entity user {}
entity document {
relation viewer @user
action view = viewer
}
`;
let schemaWriteRequest = new permify.grpc.payload.SchemaWriteRequest();
schemaWriteRequest.setTenantId("t1");
schemaWriteRequest.setSchema(schema);
client.schema.write(schemaWriteRequest);This pattern will be applied to all similar functions, where dictionary-typed data bodies are transitioned to requiring objects to be created and set. Please make sure to migrate your code accordingly.