OpenSSO 2.0.0 Release Notes.
What's new in this 2.0.0:
1. Upgraded using Fastify V5
Now OpenSSO has been successfully upgraded from Fastify V4 to V5. Fastify V5 is a LTS version which is released at the end of last year 2024. Sorry for taking a long time, because we have been waiting for the ecosystems updated first, so today we really grateful could deliver this to you.
2. Dropping support for outdated Node.js
OpenSSO V2 now targeting the NodeJS v20 and above, so you have guaranteed to get support at least for the next 5 years.
Issues that have been resolved ?
1. Update regex email and username
We found that some users is spamming using strange username or email like example___
or exa...mple
. This has been fixed, so any consecutive special chars is not allowed. User still able to use special chars like dot, plus, hyphen and underscore but with the proper structure, for example, my.sweety
, black_dom
, my.blue_bird+go
, etc.
2. Fixed file db.mysql.sql and db.postgre.sql
We found that in the latest database version, there is reserved name for example like key
is used which is causing the script broken also the type text
in PostgreSQL can't be set with Default value.
3. Fixed custom port in db connection
We found that OpenSSO is failing to make a connection to the database if using custom port.
4. Fixed deprecated package
We found that many dependencies didn't support for NodeJS V20, so we have to dropping it out and replacing them with the alternative modern dependencies.
Should I Upgrade ?
Yes, because NodeJS V16 is getting old and too risky for production use, there is so many deprecated and outdated APIs still used in there.
How to Upgrade ?
Here is the Guide about How to Upgrade from 1.6.0 to 2.0.0.