0.40.4

(fix): Upgrades dependency stream-json which improves the performance when reading large API specs. This version will improve your fern generate performance.

0.40.3

(fix): If the serde layer is enabled, then all the serializers are exported under the namespace serializers.

1import { serializers } from "@plantstore/sdk";
2
3export function main(): void {
4 // serialize to json
5
6 const json = serializers.Plant.toJson({
7 name: "fern"
8 });
9
10 const parsed = serializers.Plant.parseOrThrow(`{ "name": "fern" }`);
11}

0.40.2

(fix): The generated SDK now handles reading IR JSONs that are larger than 500MB. In order to to this, the function streamObjectFromFile is used instead of JSON.parse.

0.40.1

(fix): The generated snippets now inline referenced request objects given they are not named, they need to be inlined.

0.40.0

(feat): A new configuration flag has now been added that will automatically generate BigInt for long and bigint primitive types. To turn this flag on:

1groups:
2 ts-sdk:
3 name: fernapi/fern-typescript-node-sdk
4 version: 0.40.0
5 config:
6 useBigInt: true