Question New releases of webtrees
- ungeahnt
- Offline
- Junior Member
Is there a file or DB record that can be deleted or edited to skip the delay on auto-upgrade?
You can delete the value of LATEST_WT_VERSION_TIMESTAMP in the wt_site_setting table.
Dieter
Schmidt ⚭ Schwab (Sudeten) | Hauer ⚭ Bühler (Bayern / BW) | Маринов ⚭ Шаламанова (България)
webtrees 2.1.17 | PHP 8.1 | MariaDB 10.5
Please Log in or Create an account to join the conversation.
- Jörg
- Offline
- New Member
Will vesta 2.1.6.0 work together with webtrees 2.1.7?
Please Log in or Create an account to join the conversation.
- fisharebest
- Topic Author
- Offline
- Administrator
However, you should wait for confirmation. The release was less than 24 hours ago. Be patient.
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- ric2015
- Offline
- Senior Member
Will vesta 2.1.6.0 work together with webtrees 2.1.7?
There may not be any actual changes required. I'll have to evaluate this, as usual. There will be a matching 2.1.7 Vesta release in about ten days (I'm currently on vacation).
Richard
webtrees 2.2.0 at cissee.de/webtrees2
Vesta custom modules (Classic Look & Feel, Gov4webtrees, Shared Places, Extended Relationships) available at cissee.de
Please Log in or Create an account to join the conversation.
- Mabba
- Offline
- New Member
- Posts: 7
Will vesta 2.1.6.0 work together with webtrees 2.1.7?
There may not be any actual changes required. I'll have to evaluate this, as usual. There will be a matching 2.1.7 Vesta release in about ten days (I'm currently on vacation).
Then have a nice holiday, enjoy the time.
we can wait
Please Log in or Create an account to join the conversation.
- MaSteRu
- Offline
- New Member
Please Log in or Create an account to join the conversation.
- fisharebest
- Topic Author
- Offline
- Administrator
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- MaSteRu
- Offline
- New Member
Please Log in or Create an account to join the conversation.
- bertkoor
- Offline
- Platinum Member
- Greetings from Utrecht, Holland
A better solution would be if all developers strictly adhered to Semantic Versioning. For example v2.1.9 means Major version = 2, Minor version = 1, Patch/Build/Release = 9.
This also implies a kind of contract: no breaking internal changes are allowed at all when only the last part of the version is incremented.
This takes effort, but will pay off in the long run.
Or maybe we already have this, but the metadata in Vesta modules was coded too defensive...
stamboom.BertKoor.nl runs on webtrees v2.1.20
Please Log in or Create an account to join the conversation.
- ric2015
- Offline
- Senior Member
This also implies a kind of contract: no breaking internal changes are allowed at all when only the last part of the version is incremented.
It would indeed be very helpful for custom modules if webtrees itself would follow this. However, I realize that it is sometimes hard to define what constitutes a breaking change, because custom modules may modify basically any part of the webtrees code.
Still, webtrees version numbers have been used rather inconsistently in the past. E.g. 2.1 was actually a major release in my opinion.
Richard
webtrees 2.2.0 at cissee.de/webtrees2
Vesta custom modules (Classic Look & Feel, Gov4webtrees, Shared Places, Extended Relationships) available at cissee.de
Please Log in or Create an account to join the conversation.
- WGroleau
- Offline
- Platinum Member
- Posts: 2165
Being "defensive" is better than fatal error and a stack dump, in my opinion.Or maybe we already have this, but the metadata in Vesta modules was coded too defensive...
Still, it would be nice to have a way for a user to test when the module author hasn't yet had time. If the test works, we could keep using the module, and if not, nothing is lost.
--
Wes Groleau
UniGen.us/
Please Log in or Create an account to join the conversation.
- fisharebest
- Topic Author
- Offline
- Administrator
Semantic versioning works well for *libraries*. These tend to have very clearly defined behaviour, inputs and outputs.
I maintain lots of open-source libraries - for dates, languages, algorithms, etc. These all follow semantic versioning.
Semantic versioning doesn't work so well for large and complex *applications*.
There are two types of bug. Firstly, those where the code isn't working as designed. These can be usually be fixed without breaking backwards compatibility.
Secondly, those where the code is working as designed, but the outcome isn't the one that is wanted. Fixing these requires a change in the design - which could potentially break backwards compatibility for someone.
> This also implies a kind of contract: no breaking internal changes are allowed at all when only the last part of the version is incremented.
In any release, there is usually be at least one bug in the second category. So, to follow semantic versioning, we'd need to make every release a "minor version".
Within webtrees, a lot of the code is designed to be extended, replaced, etc. When these interfaces change, it is clearly documented and alternative code is suggested. For example, here's a line in the current code. It says that a function will be removed in the 2.2.0 release, and tells you what to do instead.
github.com/fisharebest/webtrees/blob/7ce...ameTradition.php#L44
Any good PHP development environment will warn you if you use functions marked as "@deprecated", and developers will have plenty of time to update their code to use the new functions..
These interfaces do not change very often. They are also designed so that we usually add to them, rather than change them. So when they do change, most modules will continue to work.
> it is sometimes hard to define what constitutes a breaking change, because custom modules may modify basically any part of the webtrees code.
The vesta modules replace some of the core/internal functions in webtrees - things that were not designed to be modified/extended.
As a result, they are much more sensitive to changes. This creates compatibility errors, which are impossible to catch.
There is no easy solution to this. The current solution requires that somebody (Richard) tests/reviews/updates the code.
But he's offline for a couple of weeks, so you will need to be patient.
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- fisharebest
- Topic Author
- Offline
- Administrator
A list of the changes and fixes can be found on the blog .
I would like to dedicate this release to Wim Vleeshhouwer, who died this week after a long illness.
Wim posted on the forum as "wimniny". He was an early and enthusiastic user of phpgedview and then webtrees.
He was one of the few members of the webtrees community that I have actually spoken to, and I will miss him.
I also created a new release for users of webtrees 2.0 - 2.0.26. There are no bug-fixes or changes. This release simply updates the translation files and some of the third-party libraries.
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- JustCarmen
- Away
- Elite Member
I would like to dedicate this release to Wim Vleeshhouwer, who died this week after a long illness.
Wim posted on the forum as "wimniny". He was an early and enthusiastic user of phpgedview and then webtrees.
He was one of the few members of the webtrees community that I have actually spoken to, and I will miss him.
I am sorry to hear that Wim has passed away. I was in email contact with him several times in the past and I remember him as a nice man. My condolences.
Carmen
Designer of the JustLight theme (comes with a light and dark color palette), Fancy Imagebar, Fancy Research Links and Fancy Treeview for webtrees 2
Check my website at www.justcarmen.nl
Please Log in or Create an account to join the conversation.
- fisharebest
- Topic Author
- Offline
- Administrator
These bugs were caused by new validation system that is applied to all user parameters. This validation checks that all parameters are present, that they contain valid UTF8 characters, and that they are the correct type (number/text/array), etc.
A list of the changes and fixes can be found on the blog .
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- ArchPrime
- Offline
- New Member
** EDIT *** I spoke too soon. While no errors reported, even after clearing browser cache, Control Panel still reports that I am still on version 2.18.
Website: www.kingfamily.prime.net.nz
webtrees version 2.1+
Please Log in or Create an account to join the conversation.
- rasasak
- Offline
- New Member
- Posts: 5
there is info about new 2.1.9 version in admin panel ... I clicked it ... after all go green, and click continue ...
still 2.1.8 version, and info about new version 2.1.9
every other updates was ok before ...
Please Log in or Create an account to join the conversation.
- ungeahnt
- Offline
- Junior Member
www.webtrees.net/index.php/en/forum/help...grade-to-2-1-9#95765
and
github.com/fisharebest/webtrees/issues/4...uecomment-1333706070
Dieter
Schmidt ⚭ Schwab (Sudeten) | Hauer ⚭ Bühler (Bayern / BW) | Маринов ⚭ Шаламанова (България)
webtrees 2.1.17 | PHP 8.1 | MariaDB 10.5
Please Log in or Create an account to join the conversation.
- fisharebest
- Topic Author
- Offline
- Administrator
If you wish to use the auto-upgrade, you must patch one file.
There are a few other fixes - mostly for bugs that were introduced in 2.1.8.
For details, see webtrees.net/blog/
Note that if you are using my hosting service, I have patched your files and you should be able to upgrade immediately. @Marianne - this release should fix your married-name issue.
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- anjop
- Offline
- Junior Member
I am running two genealogies on different servers, both still with wt 2.1.7 as according to the problems I wanted to wait for a new release.
Here I didn't get any message (neither email, nor on the administration page) about the new release 2.1.10.
www.helmutpaul.at/tree/paul
Here I got both messages and tried the automatic update which ended in the following message:
lippsfamilie.de/
"Client error: `GET github.com/fisharebest/webtrees/releases.../webtrees-2.1.10.zip ` resulted in a `404 Not Found` response:
Not Found
Entpacke webtrees-2.1.10.zip in ein temporäres Verzeichnis…
Kopiere Dateien…"
Then I changed the file "UpgradeWizardStep.php" to the new one as recommended here although this suggestion is only for users of wt 2.1.8 and 2.1.9.
webtrees.net/upgrade/
It didn't change anything in the situation.
Before I start an manual update to 2.1.10 I would like to hear your ideas please.
Thanks and enjoy your day!
Andreas
www.helmutpaul.at / www.lippsfamilie.de
www.paul-engl.at / www.komoot.de/user/anjop
----
webtrees 2.1.22; theme: colours; modules: Different Vesta Modules; Fancy Imagebar; Theme modifications (by Rob Peters);
PHP Version 8.1.30; mySQL 4.9.7; Mac OSX 14.7.1; webbrowser Safari
Please Log in or Create an account to join the conversation.