Skip to content

Release 3.0.0

Choose a tag to compare

@rekmus rekmus released this 26 Mar 00:47
· 13 commits to master since this release
efc3c24

Node++ 3 vs 2

ci

Version 3 gets rid of ci (connection index) carried around for all those years. I kind of forgot about it, even after it had become obvious that Node++ was going to retain a single-threaded model. Migration to 3.x.x requires removing int ci function arguments.

Silgy

Silgy compatibility has been removed. It's been so long that it no loger makes sense to clutter Node++'s code base with npp_silgy.h.

USERS

Although 62 power 15 gives insane number of possible combinations (exactly 768,909,704,948,766,668,552,634,368 of them), I decided to extend sessid to 20 characters, in case the whole universe and all of its IoT devices started using Node++. I skip providing the updated number of combinations here. Also, CSRF token has been extended to 15 characters.

One Time Password is now possible with NPP_USER_ONE_TIME_PASSWORD_ONLY macro present in npp_app.h.

All of the above requires some database changes:

alter table users add otp char(44);
alter table users add otp_expires datetime;
alter table users_logins modify sessid char(20);
alter table users_logins modify csrft char(15);

npp_open_read_file() has been renamed npp_read_file().