Ian's blog
May 10 2022

Twitter threads

Thread tests

Today, we’re deprecating two features of the legacy v1.1 streaming endpoints, which we will retire on Oct 29, 2022: • The v1.1 statuses/sample endpoint • Compliance messages on the v1.1 statuses/filter endpoint Learn more: twittercommunity.com/t/deprecation-…

twittercommunity.com

Today, we’re deprecating two features on the Twitter API v1.1 streaming endpoints: The v1.1 statuses/sample endpoint Compliance messages on the v1.1 statuses/filter endpoint These features will be...

The v2 sampled stream, filtered stream, and batch compliance endpoints are available to all developers as replacements for this v1.1 functionality.

Starting today, new client applications will not be able to access v1.1 statuses/sample nor statuses/filter. Client apps created before today will retain access to both endpoints until they are retired. We are not deprecating v1.1 statuses/filter today, only compliance messages.

Deprecating these legacy features enables us to best serve developers on the Twitter API v2. We regain energy to go faster on new features. We’re committed to making migration to v2 equivalents easy and building more new value on v2. See the forum post for resources 👆

next version of bun gets support for __dirname and __filename injected into the file if used

it exists for compatibility; I don't want to recommend using it so it won't be in the ts types for bun, but libraries that expect that to work should work

Early benchmark from a new JavaScript bundler. It transpiles JSX files: - 3x faster than esbuild - 94x faster than swc - 197x faster than babel

It’s based on esbuild’s source, but written in Zig. Zig is an LLVM frontend (like Rust) with manual memory management. The bundler does fewer memory allocations and moves some work to compile-time, but overall is very similar to esbuild. (esbuild is incredibly well-documented)

The focus is on increasing JavaScript/TypeScript developer velocity and WASM performance. The focus is not e.g. minifying or bundling for production.

@jarredsumner This sounds like amazing progress. I thought esbuild was already close to peak performance. Looking forwards to Esdev Inc. Let me know when you're ready for some seed capital 😉

@robpalmer2 @jarredsumner I think esbuild is probably within 5x of peak, but it’s definitely not peak. It’s pretty much a standard JS parser without many tricks, and uses GC. I'm guessing (and hoping!) that esbuild’s speed will be eclipsed by another production-ready bundler either this year or next.

The time has finally come - you can now Tweet using the Twitter API v2!  We heard your feedback, and have added several new, highly requested API features. Read on (🧵) or check out the forum post: twittercommunity.com/t/announcing-m…

twittercommunity.com

Today, we are launching new endpoints that enable you to Tweet or delete a Tweet using the Twitter API v2. With the manage Tweets endpoints, you can create engaging, impactful, and creative ways for...

You can Tweet with polls

Yay!   166 45%
OMG, yay!   84 23%
No seriously, this is big   120 32%
370 votes · Final results

You can set reply settings to choose who can reply to your Tweets. We thought about doing a demo of this functionality here, but we'd rather hear what you think 🤔