we've adopted new prefixes for messages, classes and variables that mean that this release will break almost all plugins and customisations created for earlier versions.
we've adopted new prefixes for messages, classes and variables
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.
I think this sentence is depressing:we've adopted new prefixes for messages, classes and variables that mean that this release will break almost all plugins and customisations created for earlier versions.
Specially the partwe've adopted new prefixes for messages, classes and variablesI find it a very poor explanation for something that breaks "all plugins and customisations". I would like a list of what was the previous value and what is the new one.
On every TW release I have to spend a lot of time trying how new things works. I can assume it for new features and small changes but not for everything.
I will think really carefully if I should spend time and effort developing anything for TW until it comes out of this unstable state.
I'm pretty sure you have your reasons for do this, and I wish tiddlywiki to have a long life too, but it takes me out of the scene for a long time. I will monitor TW closely, and I will only upgrade if there is no other option.
If it is possible, I would like to have the 5.0.15 nodejs version available somewhere.
El martes, 2 de septiembre de 2014 15:03:32 UTC+2, Jeremy Ruston escribió:I'm delighted to announce the release of TiddlyWiki 5.0.16-beta:The new features and bug fixes are listed below, but the most significant changes are internal. In particular, we've adopted new prefixes for messages, classes and variables that mean that this release will break almost all plugins and customisations created for earlier versions. See the release note for more details.Making such a big change is always undesirable, and is not undertaken lightly. I'm hoping that TW5 will enjoy a long life, and be used for many decades to come. That's why I think it's worth taking some pain now in order to try to make the eventual product better.Anyhow, other changes in this release include:* Amended behaviour of the tm-browser-refresh message so that it no longer clears the location hash* Fixed problem with single line macro definitions incorrectly including whitespace in the value* Extend TableOfContentsMacro to use the caption field if present* Added suffix and removesuffix filter operatorsAnother important addition is the introduction of a preliminary version of the tw2parser plugin (developed by @buggyj). This component allows TiddlyWiki5 to display wikitext created for TiddlyWiki Classic. As well as supporting the classic WikiText format, tw2parser includes a number of macros and other features from TWC. The new component is not yet ready for primetime, but you can experiment and find out more at:You can upgrade at http://tiddlywiki.com/upgrade.html - but please, please make sure that you keep careful backups of your content.Any feedback or questions welcome here. Any questions from a development perspective should be posted to the dev group over at http://groups.google.com/group/TiddlyWikiDev.Many thanks to all the contributors for their patient work on this release,Best wishesJeremy
--
Jeremy Ruston
mailto:jeremy...@gmail.com
Minor point among all the daunting major ones: it looks to me as though the documentation for removesuffix
http://tiddlywiki.com/#FilterOperator%3A%20removesuffix
In terms of the details of the change, it really is as simple as the release note says: a search and replace from tw->tc, tm and tv. I think that that is all anyone needs to know to adapt existing code to the change. (There are some prefixless classes that have gained the tc prefix too, and they are listed in the ticket referenced in the release note).
| +## [[tm-cancel-tiddler|WidgetMessage: tm-cancel-tiddler]] |
| +## [[tm-clear-password|WidgetMessage: tm-clear-password]] |
| +## [[tm-close-all-tiddlers|WidgetMessage: tm-close-all-tiddlers]] |
| +## [[tm-close-other-tiddlers|WidgetMessage: tm-close-other-tiddlers]] |
| +## [[tm-close-tiddler|WidgetMessage: tm-close-tiddler]] |
| +## [[tm-delete-tiddler|WidgetMessage: tm-delete-tiddler]] |
| +## [[tm-download-file|WidgetMessage: tm-download-file]] |
| +## [[tm-edit-tiddler|WidgetMessage: tm-edit-tiddler]] |
| +## [[tm-full-screen|WidgetMessage: tm-full-screen]] |
| +## [[tm-home|WidgetMessage: tm-home]] |
| +## [[tm-import-tiddlers|WidgetMessage: tm-import-tiddlers]] |
| +## [[tm-login|WidgetMessage: tm-login]] |
| +## [[tm-logout|WidgetMessage: tm-logout]] |
| +## [[tm-modal|WidgetMessage: tm-modal]] |
| +## [[tm-navigate|WidgetMessage: tm-navigate]] |
| +## [[tm-new-tiddler|WidgetMessage: tm-new-tiddler]] |
| +## [[tm-notify|WidgetMessage: tm-notify]] |
| +## [[tm-perform-import|WidgetMessage: tm-perform-import]] |
| +## [[tm-permalink|WidgetMessage: tm-permalink]] |
| +## [[tm-permaview|WidgetMessage: tm-permaview]] |
| +## [[tm-save-tiddler|WidgetMessage: tm-save-tiddler]] |
| +## [[tm-save-wiki|WidgetMessage: tm-save-wiki]] |
| +## [[tm-server-refresh|WidgetMessage: tm-server-refresh]] |
| +## [[tm-set-password|WidgetMessage: tm-set-password]] |
btn-invisible
btn-icon
btn-big-green
sidebar-header
story-river
titlebar
title
modal-wrapper
modal-backdrop
modal
modal-body
modal-header
modal-footer--
Since I said I thought it would be "daunting" (after seeing that there were 1200 instances of "tw-" in my file), I'm coming back to report that search/replace in a text editor made things relatively easy. Half the instances of "tw-" were related to tw-scholar, so I changed those to something else temporarily. The examples in the release notes and the list of messages in tiddlywiki.com helped with most of the rest.
The only slightly confusing thing (to me) was config-toolbar, which I thought might need to be separately treated because it appears as part of both a message and a class. It does still seem a bit counter-intuitive that the class name uses the tv- prefix (tv-config-toolbar-class), rather than tc-, but it certainly makes the search/replace process easier.
I think you overreact.
1) TW is open source software. You don't have to pay for it and you can influence the development.
Be grateful that Jeremy spend so much time in the development of TW, a piece of software that is unique.
2) TW is in beta. It means in principle everything could change. Read the roadmap!
Roadmap
TiddlyWiki is under rapid development at the moment as it moves through beta to a full release. That is the point at which it is declared stable enough for general use. It will continue to improve and evolve, but constrained to remain backwards compatible so that plugins and content created for version 5.0 will continue to work into the future.
So, if you cannot live with changes in the beta phase you have to wait to the stable release of September 20th.
But do not complain in the way you did.
I am grateful for the work you did for TW (I do use your Context search plugin daily). So keep going on with making plugins like the Encrypt tiddler, Keyboard snippets, Packplugin, Import tools, ...
I also have a lot of personal TW's that need to be upgraded/converted (besides my 7 guides at TiddlySpot). I don't complain; it is just part of my learning process. When I started about a year ago I knew a lot would change and I accepted that.
So, stay part of the TW family ;-)
Breaking changes are the burden of early adopters :(
On the other hand, early adopters have the real possibility to influence the product, like nobody else.
So if these changes let's you abandon the scene, imo both parties lose.
Danielo
I concur with what others have said about accepting the breaking changes. This isn't the first beta version with sweeping breaking changes. I had to totally re-do TW5 mall, not only the code but the instructions, last time there was a major breaking change. I guess I better go look at that again, since it is out of date again.
I was surprised when you did TW Scholar so soon, since that was such a huge undertaking. I remembered fearing at the time that future changes would affect it adversely.
For what it's worth, I got Stephan's new tiddler, time and date, and context search working fine in a TW of mine after a very small number of changes.
El miércoles, 3 de septiembre de 2014 02:29:06 UTC+2, David Gifford escribió:Danielo
I concur with what others have said about accepting the breaking changes. This isn't the first beta version with sweeping breaking changes. I had to totally re-do TW5 mall, not only the code but the instructions, last time there was a major breaking change. I guess I better go look at that again, since it is out of date again.But this is the first beta which changes breaks so much with a change that adds not much value.