@mjgardner I don't think so, because revealing that a version is unstable by notation is not a bad idea for many users, it just might not be what you need.
@mjgardner Oh, right, the pre-release I'm talking about is a pre-release as defined by Semantic Versioning, which means it's not guaranteed to be stable.
@mjgardner If you want to publish a pre-release version to npm, it's simple. Just use a pre-release version (in accordance with the definition of Semantic Versioning, e.g., 1.2.3-dev.123) and tag it with anything other than latest (you can specify a tag with npm publish --tag option).
@gwil It would be nice if dnt's deno shim would also replace the Deno KV API with the @deno/kv package, which @thomasreggi tried to do late last year, but unfortunately it didn't merge.
Work on Node.js compatibility is currently being done in the dnt branch (the branch name may not be appropriate, but I like it because it's short).
I've added the dnt.ts script in the root of the repository. It's not working yet—I'm getting the error below, and I'm trying to figure out a solution:
TS2725: Class name cannot be 'Object' when targeting ES5 with module CommonJS.
I added KvStore and MessageQueue interfaces, an abstraction layer for key-value storage and message queues. Although there are a couple of implementations for development purposes called MemoryKvStore and InProcessMessageQueue, they are not meant to be used in production.
I haven't implemented an adapter for Deno KV yet, so it is not usable in #Fedify. Implementing the adapters for it itself isn't hard, it's the packaging that's the problem. Anyway, this regression is only temporary during development and will go away in the general release.
It was pre-released to JSR as version 0.5.0-dev.79+562c62cf, and you can test it out:
@teleclimber Even though I've decided to work on Node.js compatibility, I'm still going to use #Deno as my primary development runtime—the developer experience in Deno is too good to resist.
I was quite impressed with the result of the above poll, and am going to work on the non-#Deno compatibility of Fedify for the time being. Here's #Fedify's rough roadmap:
Fedify 0.4.0 was just released! Here are the highlights of the changes:
• Added a step-by-step tutorial. • Integration with the Fresh framework has been made much simpler. • Added authenticated document loaders: within personal inbox listeners, Context.documentLoader is now automatically authenticated. • Improved the ergonomics of the vocabulary API.
An intersectionalist, feminist, and socialist guy living in Seoul (UTC+09:00). Write some free software in #Haskell, #Rust, #Deno, & #Python. They/them. #國漢文混用 #한국어 (#朝鮮語) #English #日本語