Be sure to see the Upgrade Guide <https://weewx.com/docs/5.1/upgrade/> for how to upgrade!
The major new feature is the ability to specify locales on a report-by-report basis. For example, you can feature both French and UK locales on your website. Also, a few bug fixes. Complete change log below -------------------------------------------------------------------------- 5.1.0 07/04/2024 If option lang is a valid locale, then it will be used to change locale as well as language. If it is not a valid locale, then the user's default locale will be used. For example, if lang=de_DE.utf8, then the German locale will be used. This allows locales to be set on a report-by-report basis. Addresses issue #867 <https://github.com/weewx/weewx/issues/867>. Allow country codes to be used in addition to a language code. For example, zh_CN would specify Chinese language, mainland China (Simplified Chinese), while zh_TW would specify Chinese language, Taiwan (Traditional Chinese). Added translation file for Simplified Chinese (zh_CN.conf). Thanks to user Kranz! Allow the utility weectl import to update old records in addition to importing new records. PR #930 <https://github.com/weewx/weewx/issues/930>. Include the effective user and group to the log. PR #934 <https://github.com/weewx/weewx/issues/934>. Allow extra command line options to be passed on to rsync. Fixes issue #951 <https://github.com/weewx/weewx/issues/951>. Return False from XTypes function has_data() if the type cannot be calculated. Thanks to Rich Bell! PR #929 <https://github.com/weewx/weewx/issues/929>. Allow calculation of xtype aggregate with missing constituents. Related to PR #929 <https://github.com/weewx/weewx/issues/>. Fix bug in tag $tag.obstype where obstype is an XType that cannot be calculated. Related to PR #929 <https://github.com/weewx/weewx/issues/>. Fix bug that caused the loop_on_init setting in weewx.conf to be ignored. PR #935. Reinstate file weeutil/timediff.py. It's not used in WeeWX, but it is used by some extensions. Fixed bug in station config where config_units would fail if there was no Defaults section specified in StdReport. Use lower-case for the product and vendor codes in udev rules. Fixes issue #949. Do not make group changes if identity of user doing the install cannot be determined. PR #952 For deb/rpm installs, set permissions on the configuration file to be not world-readable. PR #948 -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zECgoP-Tx5vzaOObgKEUtkC%2BtcDdit6A0L5guMJ9VVq-dw%40mail.gmail.com.
