This repository has been archived by the owner on Oct 21, 2024. It is now read-only.
Releases: sst/ion
Releases Β· sst/ion
v0.0.300
v0.0.299
v0.0.298
v0.0.297
v0.0.296
DNS Adapters
Many users have asked, "Can I use my domain that's not hosted on Route 53?" In the past, migrating the domain's DNS to Route 53 was necessary.
With this release, we introduce Domain DNS Adapters, enabling SST to manage DNS records with your domain provider.
Below is an example of configuring a Cloudflare domain for a Next.js site deployed to AWS:
new sst.aws.Nextjs("Web", {
domain: {
name: "my-cloudflare-domain.com",
dns: sst.cloudflare.dns(),
}
});
We are launching with 3 adapters:
Breaking Changes
-
domain.domainName
has been renamed todomain.name
in SSR Site, Router, and ApiGatewayV1 components. For example:// change from { domain: { domainName: "example.com", }, } // to { domain: { name: "example.com", }, }
-
domain.hostedZoneId
has been replaced withdomain.dns
in SSR Site, Router, and ApiGatewayV1 components. For example:// change from { domain: { hostedZoneId: "Z3FDTNDATAQYW2", }, } // to { domain: { dns: sst.aws.dns({ zone: "Z3FDTNDATAQYW2" }), }, }
-
On deployment, if you encounter the error:
Record: InvalidChangeBatch: [Tried to create resource record set [name='xxxxxxxx', type='yyyyyyyy'] but it already exists]
Remove the indicated DNS record from your AWS Route 53 Console.
Changelog
- 8266c5e Dns adapter
- e5e365f Dns adapter
- 753b6ee Docs cloudflare
- a9620e5 Docs kv
- c264ec8 Docs trpc quick start
- 2a28e2a Docs: sync
- 1625104 Document monorepo example (#248)
- b67a117 Error copy
- 048d578 Example monorepo use npm
- 78f3b52 Examples
- 9d1a835 Examples KV
- 8bcf5c0 Merge branch 'dev' of github.com:sst/ion into dev
- c5ebffc Sync
- 5386860 aws-trpc
- 2cd1682 fix: typos (#240)
- 79ac2b4 improve trpc example