This repository has been archived by the owner on Feb 7, 2023. It is now read-only.
Releases: RumbleWikis/WikiPages
Releases · RumbleWikis/WikiPages
v0.3.1
Release v0.3.1
- Changes
- Features
- Added new static
Client.newFromFile
function- This will just construct a new Client from a file path, and doesn't automatically login
- CLI now looks way better in terms of output and errors
- Using colors
- CLI option
--silent
has been renamed to--quiet
for consistency
- Added new static
- Fixes
- CLI will no longer use
Client.initFromFile
, instead usingClient.newFromFile
for faster processing - README documentation fixed
- CLI will no longer use
- Features
View the README for updated documentation.
v0.3.0
Release v0.3.0
- Changes
- Features
- Command-line interface!
- Do
npm install -g @rumblewikis/wikipages
to install the CLI and dowiki pages --help
for help.
- Do
- 2 new static functions on Client,
init
andinitFromFile
.init
will construct the Client and login,initFromFile
will import the file and useinit
.
- Client constructor will no longer automatically login.
- 2 new functions on Client,
parseFileName
andbuildFile
parseFileName
will take a file system string and parse it into a MediaWiki path.buildFile
will pass the file through all middleware.
- Options related to the API, paths, and credentials have been moved to under their own interface in
ClientOptions
.api
:editInterval
,maxRetries
- path:
srcDirectory
,namespaceMappings
,cacheFile
- credentials:
username
,password
,apiUrl
,userAgent
- New
namespaceMappings
option underpath
, if the namespace matches an index from it, it will replace the namespace with the value. - New
editInterval
option underapi
, the timeout between edits.
- Command-line interface!
- Features
View the README for updated documentation.
A wiki is also now in development.
This version is messy and may contain tons of bugs. Please feel free to create issues or pull requests.
v0.4.0 will likely contain a rewrite
v0.2.0
Release v0.2.0
- Changes
- Features
WPFIle
is now a class, instead of a record, with aFile.change()
function for mass changes and more clear properties.- You can now change middleware settings with
Client.setMiddlewareSettings()
- You can now add middleware with
Client.addMiddlewares()
- Proper events have been added, utilizing the Evt package
- Fixes
- The Client will no longer attempt to edit pages multiple times per file
- "Middlware" typo removed
- Typing fixes
- Features
View the README for updated documentation.