How to know what version of dhtmlx scheduler

Hello,

I’m working on a project with an old version of dhtmlx Scheduler. There is no reference in the code (date or version) git repo has been created after it was imported and nobody know anything about. Is there a repo where I could compare files?

Is there a way to know what version is currently in the web application and if it would be possible to update scheduler to a newer version?

My guest is its been a long time since last update.

Hi,

Can you check if there is a version comment at the beginning of dhtmlxscheduler.js?

It looks like this:

If there is no version number - looks like your version of dhtmlxScheduler is indeed quite old, since the versions were specified since v4.1.0 (Jun 2016)

You can try checking the library version from the browser console,
if you execute scheduler.version it should output the version number:

scheduler.version

–> http://prntscr.com/q9gbgz

This property was added a long time ago, so most likely your version also has it.
If nothing helps - just PM me your dhtmlxscheduler.js, most likely I’ll be able to tell something.

As for the code repository - you can check previous versions on github https://github.com/DHTMLX/scheduler
However, only GPL (free) builds are published there, and only starting from v4.0.

1 Like

Thanks got it with the scheduler.version its 3.5.0!

Wow:)

However, the update to the latest version should be possible and not necessary to be difficult.
There were no major shifts in API. Unless you’ve modified the source code or have customization that relies on internal api, there shouldn’t be too many issues
Here are migration notes https://docs.dhtmlx.com/scheduler/migration_from_older_version.html

One noticeable change will be regarding the UI skin https://docs.dhtmlx.com/scheduler/skins.html
Most likely, your scheduler uses either “Classic” or “Glossy” skin, which both have been deprecated and removed from the package https://docs.dhtmlx.com/scheduler/what_s_new.html#x2412x50x2413x

If you’re unsure what skin is used, you can check “Classic” and “Glossy” skins here https://dhtmlx.com/docs/products/dhtmlxScheduler/skinBuilder/ please note that this skin builder tool is also obsolete, I only use it to show how old skins look like.
If you have one of those, you’ll probably have to switch to another skin https://docs.dhtmlx.com/scheduler/skins.html
And if there are substantial css customizations - they may have to go, or will have to be redone according to the new UI scheme.

Overall, if you’re thinking about the update, it should be doable.
For a quick check, you can request an evaluation version of the component (https://dhtmlx.com/docs/products/dhtmlxScheduler/download.shtml) and just try replacing js and css files of the scheduler with the latest versions. I suggest the evaluation version and not a free one (GPL), because some features were moved to the paid versions since 3.5 (https://docs.dhtmlx.com/scheduler/migration_from_older_version.html#4x43)

With any luck, it will just continue working:)

1 Like

You are awesome thanks!