Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion public/samples/CRE/ReceiverTemplate.sol
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ abstract contract ReceiverTemplate is IReceiver, Ownable {
/// @inheritdoc IERC165
function supportsInterface(
bytes4 interfaceId
) public pure virtual override returns (bool) {
) public view virtual override returns (bool) {
return interfaceId == type(IReceiver).interfaceId || interfaceId == type(IERC165).interfaceId;
}
}
127 changes: 0 additions & 127 deletions reports/llms-report.json

This file was deleted.

2 changes: 0 additions & 2 deletions src/content/cre/getting-started/snippets/part-1-main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,3 @@ export async function main() {
const runner = await Runner.newRunner<Config>()
await runner.run(initWorkflow)
}

main()
2 changes: 0 additions & 2 deletions src/content/cre/getting-started/snippets/part-2-main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,3 @@ export async function main() {
const runner = await Runner.newRunner<Config>()
await runner.run(initWorkflow)
}

main()
2 changes: 0 additions & 2 deletions src/content/cre/getting-started/snippets/part-3-main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,5 +116,3 @@ export async function main() {
const runner = await Runner.newRunner<Config>()
await runner.run(initWorkflow)
}

main()
2 changes: 0 additions & 2 deletions src/content/cre/getting-started/snippets/part-4-main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,5 +192,3 @@ export async function main() {
const runner = await Runner.newRunner<Config>()
await runner.run(initWorkflow)
}

main()
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,6 @@ export async function main() {
const runner = await Runner.newRunner<Config>()
await runner.run(initWorkflow)
}

main()
```

## Understanding the components
Expand Down Expand Up @@ -372,8 +370,6 @@ export async function main() {
const runner = await Runner.newRunner<Config>()
await runner.run(initWorkflow)
}

main()
```

### Configuration file (`config.json`)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -442,8 +442,6 @@ export async function main() {
const runner = await Runner.newRunner<Config>()
await runner.run(initWorkflow)
}

main()
```

## Working with complex types
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,6 @@ export async function main() {
const runner = await Runner.newRunner<Config>()
await runner.run(initWorkflow)
}

main()
```

## 2. The `runInNodeMode` Pattern (Low-Level)
Expand Down Expand Up @@ -348,8 +346,6 @@ export async function main() {
const runner = await Runner.newRunner<Config>()
await runner.run(initWorkflow)
}

main()
```

## Response helper functions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,6 @@ export async function main() {
})
await runner.run(initWorkflow)
}

main()
```

#### The complete workflow file
Expand Down Expand Up @@ -327,8 +325,6 @@ export async function main() {
})
await runner.run(initWorkflow)
}

main()
```

### Step 4: Run the simulation and verify
Expand Down Expand Up @@ -460,8 +456,6 @@ export async function main() {
})
await runner.run(initWorkflow)
}

main()
```

## Learn more
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -499,8 +499,6 @@ export async function main() {
const runner = await Runner.newRunner<Config>()
await runner.run(initWorkflow)
}

main()
```

### Configuration file (`config.json`)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ export async function main() {
const runner = await Runner.newRunner<Config>()
await runner.run(initWorkflow)
}

main()
```

## Callback and payload
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@ export async function main() {
const runner = await Runner.newRunner<Config>()
await runner.run(initWorkflow)
}

main()
```

### Filtering by event type
Expand Down Expand Up @@ -611,8 +609,6 @@ export async function main() {
const runner = await Runner.newRunner<Config>()
await runner.run(initWorkflow)
}

main()
```

## Testing log triggers in simulation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ export async function main() {
const runner = await Runner.newRunner<Config>()
await runner.run(initWorkflow)
}

main()
```

**About authorized keys:**
Expand Down
28 changes: 26 additions & 2 deletions src/content/cre/llms-full-go.txt
Original file line number Diff line number Diff line change
Expand Up @@ -442,10 +442,34 @@ To help us assist you faster, please include:

# Release Notes
Source: https://docs.chain.link/cre/release-notes
Last Updated: 2025-11-20
Last Updated: 2026-01-16

This page provides detailed release notes for CRE. It includes information on new features, significant changes, and known limitations.

## TS SDK v1.0.3 - January 19, 2026

- **Bug Fixes**: Fixed issue where workflows could execute twice during simulation

- **Examples Updated**: All workflow examples in the SDK repository now use **direct imports** (e.g., `import { HTTPClient } from "@chainlink/cre-sdk"`) instead of the namespace pattern (e.g., `cre.capabilities.HTTPClient`). Both patterns remain fully supported—choose whichever fits your coding style.

[See all changes on GitHub](https://github.com/smartcontractkit/cre-sdk-typescript/compare/v1.0.2...v1.0.3)

## TS SDK v1.0.2 - January 16, 2026

**TypeScript SDK version 1.0.2** introduces several improvements to developer experience:

**New features:**

- **Optional `main()` call**: You no longer need to call `main()` at the end of your workflow files. The SDK now automatically executes the `main()` function during compilation.
- **Automatic error handling**: If you don't provide custom error handling, the SDK automatically adds `.catch(sendErrorResponse)` to your workflow's `main()` function. This ensures errors are properly reported instead of silently failing.
- **Direct imports**: You can now import SDK components directly (e.g., `import { HTTPClient } from "@chainlink/cre-sdk"`) instead of accessing them through the `cre` namespace (e.g., `cre.capabilities.HTTPClient`). Both import styles remain supported for backward compatibility.

**Migration notes:**

- **Custom error handling**: If you need custom error handling, you can still add your own `.catch()` handler: `main().catch(myCustomHandler)`. The SDK will respect your custom handler and not override it.

[See all changes on GitHub](https://github.com/smartcontractkit/cre-sdk-typescript/compare/v1.0.1...v1.0.2)

## CLI v1.0.5 - January 13, 2026

**<a href="https://github.com/smartcontractkit/cre-cli/releases/tag/v1.0.5" target="_blank">CRE CLI version 1.0.5</a> is now available.** This release includes various small improvements and bug fixes.
Expand Down Expand Up @@ -2700,7 +2724,7 @@ abstract contract ReceiverTemplate is IReceiver, Ownable {
/// @inheritdoc IERC165
function supportsInterface(
bytes4 interfaceId
) public pure virtual override returns (bool) {
) public view virtual override returns (bool) {
return interfaceId == type(IReceiver).interfaceId || interfaceId == type(IERC165).interfaceId;
}
}
Expand Down
Loading
Loading