This repository was 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.newFromFilefunction- 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
--silenthas been renamed to--quietfor consistency
- Added new static
- Fixes
- CLI will no longer use
Client.initFromFile, instead usingClient.newFromFilefor 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/wikipagesto install the CLI and dowiki pages --helpfor help.
- Do
- 2 new static functions on Client,
initandinitFromFile.initwill construct the Client and login,initFromFilewill import the file and useinit.
- Client constructor will no longer automatically login.
- 2 new functions on Client,
parseFileNameandbuildFileparseFileNamewill take a file system string and parse it into a MediaWiki path.buildFilewill 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
namespaceMappingsoption underpath, if the namespace matches an index from it, it will replace the namespace with the value. - New
editIntervaloption 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
WPFIleis 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.
v0.1.1
v0.1.1
srcDirectoryno longer needed to exist at initialization