Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.0 release blog post draft #6564

Closed
wants to merge 3 commits into from
Closed

1.0 release blog post draft #6564

wants to merge 3 commits into from

Conversation

mario-guerra
Copy link
Member

Putting this up for review, DO NOT COMMIT

Copy link
Contributor

No changes needing a change description found.

@azure-sdk
Copy link
Collaborator

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

slug: 2025-03-31-typespec-1-0-release
title: "Introducing TypeSpec 1.0: APIs at the Speed of Thought"
image: ./TypeSpec_1_0_release.png
description: "TypeSpec 1.0 is here! Accelerate your API development by automatically generating server-side code, client SDKs, schemas, and documentation directly from concise API models, enabling you to focus on innovation rather than implementation details."
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the target to release that on the 31st? If so this feels deceiving if we say 1.0 is here but we only release the rc

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What if I called it TypeSpec 1.0-RC and made clear it was a release candidate?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah Im fine with that, also happy to republish again/update the article when we we move out of the rc


Imagine building a "to do" service API. With TypeSpec, you start by defining your data models and operations in a concise and human-readable format. For example:

```typescript
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
```typescript
```tsp


### Client-side Code Generation

In addition to server-side code, TypeSpec can generate client-side SDKs for multiple languages, including TypeScript, Python, C#, and Java, with support for additional languages like Rust in development. These SDKs simplify integration for developers by abstracting API calls and ensuring consistency with the API specification.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason we say TypeScript in the client-side code generation but JavaScript in service-side code generation? I want to confirm that is correct.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, do we want to say SDKs, libraries, or SDK libraries? (SDKs are often a collection of things)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The client emitter is currently named typespec-ts and the server emitter is named http-server-javascript, so there's a discrepancy here. I'll confirm with the team on what the emitters are actually producing and ensure they are named consistently for the release.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And, I think I like "libraries" over "SDKs", I'll change that wording.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is a missing a section on other emitters. I.e., it comes with an OpenAPI 3 emitter, other emitters (even if they are still in preview), and an experimental emitter framework to allow you to create your own emitters.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, I'll add a section that covers this.

@allenjzhang
Copy link
Member

allenjzhang commented Mar 21, 2025

On the PR website view, the PNG and text font size ratio seems off. I think maybe resizing the png would bring better proportion.


> **TypeSpec-generated SDKs ensure seamless integration with your backend, since everything is derived from the same single source of truth.**

For example, a generated TypeScript SDK might allow you to interact with your `todo` API like this:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

might? Should we use will

}
```

TypeSpec ensures that your API implementation stays perfectly aligned with your specification, saving you time and effort.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is great showcasing the TypeSpec client/service code gen. Should we have step by step tutorial (linked by separate from this blog post) that folks can follow along and get hands-on?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dina is working on that.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

on second thought, the content Dina is working on won't be available till Build. I'll see what I can put together this week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
meta:website TypeSpec.io updates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants