Skip to content

Commit 6f8fb82

Browse files
Jake ChampionJakeChampion
authored andcommitted
docs: rename to Fastly Compute
1 parent a6518a6 commit 6f8fb82

File tree

248 files changed

+767
-767
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

248 files changed

+767
-767
lines changed

CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,7 @@ addEventListener("fetch", event => {
766766

767767
#### Object-store support
768768

769-
This release adds support for Fastly [Object-store](https://developer.fastly.com/reference/api/services/resources/kv-store/), which is globally consistent key-value storage accessible across the Fastly Network. This makes it possible for your Compute@Edge application to read and write from Object-stores.
769+
This release adds support for Fastly [Object-store](https://developer.fastly.com/reference/api/services/resources/kv-store/), which is globally consistent key-value storage accessible across the Fastly Network. This makes it possible for your Fastly Compute application to read and write from Object-stores.
770770

771771
We've added two classes, `ObjectStore`, and `ObjectStoreEntry`. `ObjectStore` is used to interact with a particular Object-store and `ObjectStoreEntry` is a particular value within an Object-store. We've made `ObjectStoreEntry` have a similar API as `Response` to make it simpler to read and write from Object-stores. I.e. `ObjectStoreEntry` has a `body` property which is a `ReadableStream` and has `arrayBuffer`/`json`/`text` methods - just like `Response`.
772772

@@ -901,7 +901,7 @@ console.log(request); // outputs `Request: {method: POST, url: https://www.fastl
901901
### Added
902902

903903
- Updated the js-compute-runtime to `0.2.2` (Which includes fixes to geoip, a way to get environment variables, improves debugging of exceptions in the request handler, and other updates)
904-
- Added the `Env` namespace for accessing Fastly C@E environment variables.
904+
- Added the `Env` namespace for accessing Fastly Compute environment variables.
905905

906906
## 0.2.0 (2021-08-31)
907907

@@ -926,5 +926,5 @@ console.log(request); // outputs `Request: {method: POST, url: https://www.fastl
926926
### Added
927927

928928
- Initial Release
929-
- Includes TypeScript type definitions for Compute@Edge flavored ServiceWorkers APIs
929+
- Includes TypeScript type definitions for Fastly Compute flavored ServiceWorkers APIs
930930
- Also includes the `js-compute-runtime` CLI for bundling JavaScript applications

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Contributing to the JS Compute Runtime
22

33
First off thank you for wanting to contribute to making the JS Compute Runtime better! We
4-
appreciate you taking time to improve the Compute@Edge experience for developers
4+
appreciate you taking time to improve the Fastly Compute experience for developers
55
everywhere. There are many ways you can contribute that include but aren't
66
limited to documentation, opening issues, issue triage, and code contributions.
77
We'll cover some of the ways you can contribute below, but if you don't see

DEVELOPMENT.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Fastly Compute@Edge JS Runtime
1+
# Fastly Compute JS Runtime
22

3-
The JS Compute Runtime for Fastly's [Compute@Edge platform](https://www.fastly.com/products/edge-compute/serverless) provides the environment JavaScript is executed in when using the [Compute@Edge JavaScript SDK](https://www.npmjs.com/package/@fastly/js-compute).
3+
The JS Compute Runtime for Fastly's [Compute platform](https://www.fastly.com/products/edge-compute/serverless) provides the environment JavaScript is executed in when using the [Fastly Compute JavaScript SDK](https://www.npmjs.com/package/@fastly/js-compute).
44

5-
**Note**: If you just want to use JavaScript on the Compute@Edge Platform, we recommend using the JavaScript Starter Kits provided by the Fastly CLI tool. For more information please see the [JavaScript documentation on the Fastly Developer Hub](https://developer.fastly.com/learning/compute/javascript/).
5+
**Note**: If you just want to use JavaScript on the Fastly Compute Platform, we recommend using the JavaScript Starter Kits provided by the Fastly CLI tool. For more information please see the [JavaScript documentation on the Fastly Developer Hub](https://developer.fastly.com/learning/compute/javascript/).
66

77
## Working with the JS Compute Runtime source
88

@@ -72,6 +72,6 @@ To run an end-to-end test which builds and deploys an application to fastly:
7272
## Testing a Dev Release
7373
:warning: **You should not use this for production workloads!!!!!!!!**
7474

75-
Dev builds are released before production releases to allow for further testing. These are not released upstream to NPM, however you can acquire them from the [Releases](https://github.com/fastly/js-compute-runtime/releases/) section. Download the runtime for your platform, extract the executable and place it in the /node_modules/@fastly/js-compute/bin/PLATFORM folder of your Compute@Edge project. Then you can use the normal [Fastly CLI](https://github.com/fastly/cli) to build your service.
75+
Dev builds are released before production releases to allow for further testing. These are not released upstream to NPM, however you can acquire them from the [Releases](https://github.com/fastly/js-compute-runtime/releases/) section. Download the runtime for your platform, extract the executable and place it in the /node_modules/@fastly/js-compute/bin/PLATFORM folder of your Fastly Compute project. Then you can use the normal [Fastly CLI](https://github.com/fastly/cli) to build your service.
7676

7777
Please submit an [issue](https://github.com/fastly/js-compute-runtime/issues) if you find any problems during testing.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
![npm version](https://img.shields.io/npm/v/@fastly/js-compute) ![npm downloads per month](https://img.shields.io/npm/dm/@fastly/js-compute)
44

5-
JavaScript SDK and CLI for building JavaScript applications on Fastly's [Compute@Edge](https://www.fastly.com/products/edge-compute/serverless).
5+
JavaScript SDK and CLI for building JavaScript applications on [Fastly Compute](https://www.fastly.com/products/edge-compute/serverless).
66

77
## Getting Started
88

9-
We recommend using the [Fastly CLI](https://github.com/fastly/cli) to create, build, and deploy JavaScript Compute@Edge services, as [described on the Fastly Developer Hub](https://developer.fastly.com/learning/compute/).
9+
We recommend using the [Fastly CLI](https://github.com/fastly/cli) to create, build, and deploy JavaScript Fastly Compute services, as [described on the Fastly Developer Hub](https://developer.fastly.com/learning/compute/).
1010

11-
[Detailed documentation for JavaScript Compute@Edge services](https://developer.fastly.com/learning/compute/javascript/) is also available on Fastly Developer Hub.
11+
[Detailed documentation for JavaScript Fastly Compute services](https://developer.fastly.com/learning/compute/javascript/) is also available on Fastly Developer Hub.
1212

1313
## Usage
1414

documentation/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ This command generates static content into the `build` directory and can be serv
3030
$ yarn deploy
3131
```
3232

33-
This command will run `yarn build` and then will upload the website to Fastly KV Store and deploy the application to Fastly Compute@Edge.
33+
This command will run `yarn build` and then will upload the website to Fastly KV Store and deploy the application to Fastly Compute.

documentation/app/fastly.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This file describes a Fastly Compute@Edge package. To learn more visit:
1+
# This file describes a Fastly Compute package. To learn more visit:
22
# https://developer.fastly.com/reference/fastly-toml/
33

44
authors = ["[email protected]"]

documentation/docs/fastly:backend/Backend/Backend.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {Fiddle} from '@site/src/components/fiddle';
88

99
# `Backend()`
1010

11-
The **`Backend` constructor** lets you dynamically create new [Fastly Backends](https://developer.fastly.com/reference/api/services/backend/) for your Compute@Edge service.
11+
The **`Backend` constructor** lets you dynamically create new [Fastly Backends](https://developer.fastly.com/reference/api/services/backend/) for your Fastly Compute service.
1212

1313
Dynamically creating new [Fastly Backends](https://developer.fastly.com/reference/api/services/backend/) is disabled by default for Fastly Services. Please contact [Fastly Support](https://support.fastly.com/hc/requests/new?ticket_form_id=360000269711) to request the feature be enabled on the Fastly Services which require Dynamic Backends.
1414

documentation/docs/fastly:env/env.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {Fiddle} from '@site/src/components/fiddle';
1010

1111
The **`env()`** function returns the value for the provided environment variable name.
1212

13-
For a list of available environment variables, see the [Fastly Developer Hub for C@E Environment Variables](https://developer.fastly.com/reference/compute/ecp-env/)
13+
For a list of available environment variables, see the [Fastly Developer Hub for Compute Environment Variables](https://developer.fastly.com/reference/compute/ecp-env/)
1414

1515
>**Note**: The environment variables can only be retrieved when processing requests, not during build-time initialization.
1616

documentation/docs/fastly:experimental/allowDynamicBackends.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {Fiddle} from '@site/src/components/fiddle';
88

99
# allowDynamicBackends
1010

11-
The **`allowDynamicBackends()`** function is used to control whether or not Dynamic Backends should be allowed within this Compute@Edge Service.
11+
The **`allowDynamicBackends()`** function is used to control whether or not Dynamic Backends should be allowed within this Fastly Compute Service.
1212

1313
By default, Dynamic Backends are disabled within a JavaScript application as it can be a potential avenue for third-party JavaScript code to send requests, potentially including sensitive/secret data, off to destinations that the JavaScript project was not intending, which could be a security issue.
1414

documentation/docs/fastly:experimental/includeBytes.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ includeBytes(path)
1919
### Parameters
2020

2121
- `path` _: string_
22-
- The path to include, relative to the Compute@Edge application's top-level directory during build-time initialization.
22+
- The path to include, relative to the Fastly Compute application's top-level directory during build-time initialization.
2323

2424
### Return value
2525

0 commit comments

Comments
 (0)