Closed YakovL closed 1 year ago
Here's the full changelog that may be summarized in the release:
tw.io.xhrLoadFile
, extend loadFile
(sync xhr), introduce tw.io.loadFile
(supports async)loadOriginal
to support asynconSaveMainFail
and onSaveMainSuccess
onStartUpgrade
into a config.macros.upgrade
methodvar
from Strings.js testsnpm run lint
shows no errors, but linting rules themselves are not finished):
String.prototype.parseParams
' parseToken
tw.io
, extract end of saving main into onSaveMainFail
and onSaveMainSuccess
saveUsingSafari
varcreateTiddlyText
String.trim
with jQuery.trim
where appropriatecompareVersions
, invokeMacro
styleArea
Changes that affect lingo:
<label>
element; todo: lingo should have minimum of html/markup/ui bits; when updating, keep in mind that changes should hurt existing translations – this one doesn't)chkPreventAsyncSaving
option)Changes that might affect backward compatibility:
#storeArea div {padding:0.5em; margin:1em 0em 0em 0em; border-color:#fff #666 #444 #ddd; border-style:solid; border-width:2px; overflow:auto;}
(not sure why this may be even needed: #storeArea
is always hidden anyway)background:transparent
for h1-h6 (may be a fix for some old browsers, but this doesn't produce any effect)saveUsingSafari
varsaveRss
)Deprecations:
String.prototype.right
, 294e898 String.prototype.unDash
(substituted with local functions)String.prototype.getChunkRange
, cefc1e9 String.prototype.replaceChunk
(substituted with tw.textUtils.getChunkRange
, tw.textUtils.replaceChunk
)String.prototype.getChunk
(no substitution: no usage in the core)UI updates:
improved padding of the javascriptWarning (Win preview and others; yeah, they should be improved to look less obsolete and aggressive, and at the same time they are not that important):
a couple of other minor updates.
There are many more improvements to add, take for instance border-radius of elements, especially those with shadows; or inputs that still look mediocre, but hey, there'll be more releases.
Changes summary:
chkPreventAsyncSaving
to enable)loadFile
, loadOriginal
to support async loading (and introduced tw.io.xhrLoadFile
, tw.io.loadFile
)upgradeFrom
)tw.io.onSaveMainFail
and tw.io.onSaveMainSuccess
onStartUpgrade
into a config.macros.upgrade
methodstore.saveTiddler
should rename tiddler when newTitle
is providedstore.saveTiddler
should allow falsy newTitle
(meaning "don't update")npm run lint
shows no errors, but linting rules themselves are not finished. Some code bits are now considerably more readable and easier to understand.
This PR is created to encourage releasing 2.9.4. Main todos before release:
Pre-releasing:
at least 3users) → ok, let it be 2 before merge this timeget rid of thespeed up the process → published v0.5.0txtWaitSavingSeconds
option (no confusions about big TWs) andAfter this is merged:
After the release:
Things that I would like to add to the release very much, but better go to the next one: