Web based family history software

Question New releases of webtrees

More
2 years 4 months ago #101 by ungeahnt
Replied by ungeahnt on topic New releases of webtrees

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.

More
2 years 4 months ago #102 by Jörg
Replied by Jörg on topic New releases of webtrees
Thanks for the new release.

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
  • Administrator
More
2 years 4 months ago #103 by fisharebest
Replied by fisharebest on topic New releases of webtrees
Probably. There weren't any significant changes.

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.

More
2 years 4 months ago #104 by ric2015
Replied by ric2015 on topic New releases of webtrees


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.

More
2 years 4 months ago #105 by Mabba
Replied by Mabba on topic New releases of webtrees


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.

More
2 years 4 months ago #106 by MaSteRu
Replied by MaSteRu on topic New releases of webtrees
I have done the update and all Vestamodules are blocked. I got this reminder: "...incompatible with your current webtrees version. Only webtrees versions before 2.1.7 are supported. All functionality of the module is therefore disabled."

Please Log in or Create an account to join the conversation.

  • fisharebest
  • Topic Author
  • Offline
  • Administrator
  • Administrator
More
2 years 4 months ago #107 by fisharebest
Replied by fisharebest on topic New releases of webtrees
You can downgrade from 2.1.7 to 2.1.6

webtrees.net/faq/downgrade/

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

More
2 years 4 months ago #108 by MaSteRu
Replied by MaSteRu on topic New releases of webtrees
Thanks, I didn't know that. Is it possible for developers to use this to check if their modules are compatible with a webtrees-version, or did their modules only check the version number, and if it is lower than the actual it is marked as incompatible?

Please Log in or Create an account to join the conversation.

  • bertkoor
  • Offline
  • Platinum Member
  • Platinum Member
  • Greetings from Utrecht, Holland
More
2 years 4 months ago - 2 years 4 months ago #109 by bertkoor
Replied by bertkoor on topic New releases of webtrees
It seems each module contains the highest exact version it was tested with (plus one, bottom of its metadata.json), and hence has proven compatibility. No guarantees can be given beyond that.

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
Last edit: 2 years 4 months ago by bertkoor.

Please Log in or Create an account to join the conversation.

More
2 years 4 months ago #110 by ric2015
Replied by ric2015 on topic New releases of webtrees

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.

More
2 years 4 months ago #111 by WGroleau
Replied by WGroleau on topic New releases of webtrees

Or maybe we already have this, but the metadata in Vesta modules was coded too defensive...
Being "defensive" is better than fatal error and a stack dump, in my opinion.
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
  • Administrator
More
2 years 4 months ago #112 by fisharebest
Replied by fisharebest on topic New releases of webtrees
> A better solution would be if all developers strictly adhered to Semantic Versioning.

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
  • Administrator
More
2 years 1 week ago - 2 years 1 week ago #113 by fisharebest
Replied by fisharebest on topic New releases of webtrees
A new release of webtrees is available - 2.1.8. At some time during the next 24 hours, you should see an upgrade link when you log in.

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
Last edit: 2 years 1 week ago by fisharebest. Reason: fourm => forum

Please Log in or Create an account to join the conversation.

  • JustCarmen
  • Away
  • Elite Member
  • Elite Member
More
2 years 1 week ago #114 by JustCarmen
Replied by JustCarmen on topic New releases of webtrees

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
  • Administrator
More
2 years 6 days ago #115 by fisharebest
Replied by fisharebest on topic New releases of webtrees
A new release of webtrees is available - 2.1.9. It fixes three small bugs that were created in 2.1.8.

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.

More
2 years 6 days ago - 2 years 5 days ago #116 by ArchPrime
Replied by ArchPrime on topic New releases of webtrees
webtrees self update to 2.18, and 2.19 both ran flawlessly - thanks to fisharebest for your great work!

** 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+
Last edit: 2 years 5 days ago by ArchPrime.

Please Log in or Create an account to join the conversation.

More
2 years 6 days ago #117 by rasasak
Replied by rasasak on topic New releases of webtrees
I cannot update to 2.1.9.
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.

More
2 years 6 days ago #118 by ungeahnt
Replied by ungeahnt on topic New releases of webtrees

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
  • Administrator
More
2 years 2 days ago #119 by fisharebest
Replied by fisharebest on topic New releases of webtrees
Version 2.1.10 is now available. It fixes the bug in the auto-upgrade code.

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.

More
2 years 2 days ago #120 by anjop
Replied by anjop on topic New releases of webtrees
1000 THX Greg for all your work you are doing!
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.

Powered by Kunena Forum