Repository navigation
Description
With the GitHub project fast approaching 2,500 stars, people need to be able to have confidence that the library they are using is stable. Looking at the roadmap today (https://github.com/fastify/fastify/projects/1) I can see that a couple new issues were added (#135 and #121), but I think the authentication issue has been solved (https://github.com/fastify/fastify-auth and https://github.com/fastify/fastify-bearer-auth) well enough for 1.0.0.
In my opinion, @mcollina should be able to speak about 1.0.0 in his presentation at the beginning of October.
cc: @fastify/benchmarks
2017-09-24: I have segregated this list into "blocker" and "non-blockers". A non-blocker is an issue that we would like to have solved before 1.0.0, but isn't completely necessary. ~ jsumners
Todo (blockers):
- 404/500 routes (Custom routes for 404 and 500 #135)
- http caching headers (http caching headers #121)
- Add headers to validation schema (Add headers to validation schema #191)
- Add headers to
requestobject (Addrequest.headershelper to avoidrequest.req.headers#200) - Take a final decision in Proposal: remove request/reply and expose just context #169
-
onSendhook (onSend hook #291) - Fix printing stack traces Print stack trace of errors in handlers #258
- Allow payload to be modified in
onSend(Modify the payload in the onSend hook #447) - Fix
thiscontext on hooks (Hooks context #120) - Remove
reply.send(promise)(remove supportreply.send(promise)#448) - setNotFoundHandler is suppressing duplicated routes checking setNotFoundHandler is suppressing duplicated routes checking #451
- Remove callback from
registerremove callback from register, and remove error from .after() #460 - Support metadata in
fastify-pluginRegistering multiple plugins means ambiguous options #456 WIP: Plugins meta #466 - Update content parser API ContentType parser API #525
- avvio says it's already booted before
fastify.listenis invoked avvio says it's already booted beforefastify.listenis invoked #491 Start loading the plugins only when calling .ready, .inject or .listen #561 - Drop Boom support Drop Boom support #542 Updated error handling #558
- Use
http-errorsfor generating errors Use http-errors #543 Use http-errors #571
Todo (non-blockers):
- Refactor documentation to separate concerns (intro vs reference) (Rethinking for docs #296)
- Finish off fastify-swagger First implementation fastify-swagger#1
Activity
delvedor commentedon Sep 15, 2017
Features that we must implement before 1.0.0:
requestobject (Addrequest.headershelper to avoidrequest.req.headers#200)fastify-swaggerFeel free to add this list in your first comment as placeholder :)
jsumners commentedon Sep 15, 2017
@delvedor you should have permissions to be able to edit the post. I am completely fine with that.
delvedor commentedon Sep 15, 2017
Done :)
cagataycali commentedon Sep 15, 2017
For first stable version, this proposals looks good for me! 🎉
jsumners commentedon Sep 16, 2017
I disagree with #169 being a blocker for 1.0.0. That is clearly a divisive proposal and unlikely to be settled any time soon.
delvedor commentedon Sep 17, 2017
Yes, and since it is a divisive proposal I think we should take a final decision on that.
If we keep
req, replywe should provide a better way to help user interact with bothrequestandreplyat the same time when creating a plugin.StarpTech commentedon Sep 19, 2017
I would add this to the list #258
mcollina commentedon Sep 20, 2017
@StarpTech done.
StarpTech commentedon Sep 21, 2017
Hi, why is swagger a blocker for a major release?
jsumners commentedon Sep 21, 2017
@StarpTech for me, it's not. But I understand why it is. Fastify's goal is for writing RESTful API servers. Thus, it would be good to be able to support documenting those APIs. I think things like Swagger are way more trouble than they're worth (the code for Swagger to read ends up being more than the actual method), but there's a lot of people that like it.
StarpTech commentedon Sep 21, 2017
Ok, I understand it but it's still a plugin and not part of the core. Is anybody working on it? Should we discuss some proposals about the integration with fastify e.g configuration approach vs comments?
mcollina commentedon Sep 21, 2017
The actual problem for 1.0.0 is that we had semver-major changes in the last 5 minor releases. I think our API has not settled yet.
mcollina commentedon Sep 23, 2017
I propose we drop fastify-swagger from the list. We can ship it later. 404 and 500 have already a PR open.. is there anyone that wants to add support for the http caching headers in Request and Reply, similar to what Hapi does?
jsumners commentedon Sep 23, 2017
+1 to Swagger not being a blocker.
I'm not entirely sure what needs to be done to tackle #121.
68 remaining items
mcollina commentedon Feb 8, 2018
I like March 1!
jsumners commentedon Feb 12, 2018
Looks like people have voted that March 1 be the v1.0.0 target date.
yamalight commentedon Feb 12, 2018
@jsumners maybe it's also worth releasing RC versions for all official extensions?
at least some of them are currently incompatible with 1.0-rc1
jsumners commentedon Feb 12, 2018
@yamalight it's up to the maintainers of the plugins to do that. I released updates yesterday for the ones I maintain. PRs to currently incompatible plugins would be helpful. Basically, they need:
And after the rc phase, they should change the minimum version to
^1.0.0.Ethan-Arrowood commentedon Feb 12, 2018
@jsumners I'll make some prs against the JWT libraries later today
Update to rc
Update fastify version
allevo commentedon Feb 27, 2018
I'd like to wait for delvedor/find-my-way#60
delvedor commentedon Feb 27, 2018
If someone wants to give a try to that issue be my guest!
I'll give it an eye asap, but at the moment I'm stuck at work.
delvedor commentedon Mar 2, 2018
The router bug has been fixed.
The
v1.0.0release is planned for the 5th of march! (unless very serious bugs comes out)delvedor commentedon Mar 6, 2018
I guess we can close this one :)
https://medium.com/@fastifyjs/fastify-goes-lts-with-1-0-0-911112c64752
fix: fastify#229 TypeScript page, CONTRIBUTING.md anchor tag broken link
fix: #229 TypeScript page, CONTRIBUTING.md anchor tag broken link (#3095
Merge pull request fastify#229 from seriousme/dependabot/npm_and_yarn…