Here's a list of the notable changes in TrueBase.
questionsFolder
is now measuresFolder
.rowsFolder
is now conceptsFolder
and columnsFolder
is now questionsFolder
rowsViewSourcePath
is now conceptsViewSourcePath
and columnsViewSourcePath
is now questionsViewSourcePath
static
command. TrueBase can once again be used to build a static site.custom_404.scroll
that should be renamed to 404.scroll
. This ensures it will work in static sites when using GitHub hosting.batch
command to the CLI for bulk importing new rowsquestions
to queries
redirects to mitigate broken linksThis release renames the "questions" concept to "queries" and downgrades its visibility and importance. I made a mistake by
questions
routes are now queries
setSettingsFromPath
method on TrueBaseFolderthingsFolder
should now be conceptsFolder
/truebase/
routes are now /rows/
routes. Redirect code added so old links still work.compare
keyword in TQLboolean isComputed true
init
regressions and add testscolumnOrder
in .truebase
file to define custom sort order.Maintenance release. Updated packages and specified NodeJs >= 16.
Node
to Parser
).abstractTrueBaseColumnNode
to be included in generated CSVs_
is now used to make nested column names rather than .
. _
is no longer allowed in column names. This works better with SQLite..
for the nested paths need to be updatedtestPerfCommand
for easier perf testinggrammar
and things
folders by defaultsetDir
and setGrammarDir
methods on TrueBaseFolder
. Use setSettings
instead.getFileName
method on TrueBaseFile
. Use new filename
getter instead.rowsViewSourcePath
grammarViewSourcePath
computedsViewSourcePath
props for correctly setting source urlsmakeVarSection
method.nodejs
keywordtruebase serve
is now truebase start
and truebase create
is now truebase init
and takes zero params.This is a major rewrite. The goals are to support: no build step, no Javascript code TrueBases, no delay in new data going live, better testing, and improved community features showing contributions. This release is not recommended. Wait for a few iterations for bugs to get ironed out.
truebase
command line app with commands create
, delete
, list
, serve
, test
and help
.truebase
settings file.dumpStaticSiteCommand
for dumping static site since it is not built by default anymore.TrueBaseServer
now takes a path to a .truebase
settings file. If overriding TrueBaseFolder
, that should be the 2nd parameter.dumpStaticSiteCommand
to get a static site.dist
folder.initSiteCommand
initSiteCommand
which provides default homepage, search form, header, footer, style, 404 page, and csv page now included.Warning: TrueBase is still in an unstable beta state. This release likely has some bugs.
code/
folder is now server/
/csv.html
permalinkCell
to trueBaseIdCell
providesPermalinks
to containsTrueBaseIds
mainCsvFilename
specify trueBaseId
buildRunTimeGrammarsCommand
. Set distFolder
on TrueBaseServer
to use.beforeListen
method TrueBaseServer subclasses can overridemainCsvFilename
prop on TrueBaseServer to use new buildCsvFilesCommand
addColumn
allowing for the definition of custom column from Javascript template stringsgetAll
to TrueBaseFile
makeNameSearchIndex
and typedMapJson
to TrueBaseFolder
json
search routes now work as you'd expect tsv
routetql
from jtree
to this repo