All notable changes to this project will be documented in this file.
- Fix issue with self recursive WSDL types #39 by @mtranter
- Fix issue with
quiet
option not working properly - Project: Updated several npm packages
- Project: Added eslint
- Project: Added test for typechecking generated wsdl clients #19
- Project: Add more jsdoc to
parseAndGenerate
andparsedWsdl
- ParseAndGenerate: Support for
colors
,verbose
andqueit
options (before it was only possible through CLI) - Docs: Mention
basicAuth
inREADME.md
- Project: Updated several npm packages
- Parser: Fixed issue while finding name for sub-definition, which has same name as parent definition, fixes #16
- Generator: Sanitize method, param and property names (e.g. names with
-
), fixes #16 #18
- CLI: Add option for
maxRecursiveDefinitionName
, default64
- CLI: Add option for
caseInsensitiveNames
, defaultfalse
- Parser: Warn user if recursive definition name exceed
32
- Parser: Option for
caseInsensitiveNames
, fix #12 by @jakethagle - Generator: Fix incorrect case
- Parser: Fix
sourceName
for definitions - Parser: Add warn logs when parsing
ComplexType
asany
- Parser: Partial options for
parse
function - Generator: Partial options for
generate
function - More meaningful source code comments
- Fix cyclic error when parsing
ComplexType
. Now generatesany
type - Fix problem with duplicated imports (importing same definition for client/service/port)
- Fix wrong generated callback result
- Parser: Improved message for cyclic errors
- Parser: Improved message for finding non-collision definition name
- Fix wrong AsyncFunction return's type generation #10
- Fix Ports importing bad definition filename
- Fix generated Port's method names
- Engine: Is possible to pass URL to WSDL (with
http://
orhttps://
prefix) - Generator: Fix problem with generating import paths on Windows
- Parser: Pefix
targetNSAlias
andtargetNamespace
with@
- Parser: Parse input/output with
parts
only - Parser: Better error reports for cyclic error
- Parser: Add verbose logs for parsing Service,Port,Method and Definitons
- Project: Add tests for generating clients from wsdl and checking Definitions
- CLI: Reworked to support more
yargs
features - CLI: Show number of errors occured
- CLI: Detect
NO_COLOR
andDEBUG
environment variables
- Engine: Reworked engine completely by separating
Parser
andGenerator
logic - Engine:
targetNSAlias
andtargetNamespace
is included in defition jsdoc instead of properties - Engine: Generator now generates Client interface based on wsdl name to avoid namespace merging
- Engine: Support color logs (green for info, red for errors)
- Engine:
Write
logs are printed before file is saved - Engine: Support for
modelNamePrefix
andmodelNameSuffix
- Parser: Sanitize definition names by striping reserved characters (e.g.
:
) - Parser: Definition's jsdoc includes sourcename of definition
- Generator: Generates
index.ts
with all re-exported definitions, ports, services and client - CLI: Fixed glob
- CLI: Generating client to
outputDir/{wsdlFilename}
directory - CLI:
--quiet
flag for suppressing all logs - CLI:
--verbose
flag for verbose logs - CLI:
--no-color
flag for turning off colourful logs - CLI:
--emitDefinitionsOnly
flag to generate only Defintions files (no Ports, Service nor Clients) - CLI:
--modelNamePrefix
and--modelNameSuffix
- Project: Updated README by adding section about how to use generated client
- Project: Fix path to dist sources #8 by @cobraz
- Fix problem with generated methods that includes javascript keywords as param names
- Project: Add typescript declaration #3 by @cobraz
- CLI: Add
version
andhelp
params - Project: Add MIT license
- Project: Add minimum node engine (base on node-soap)
- CLI: Add support for glob pattern
- Generator: Add support for generating named client
- Generator: Use camelcase for generating definitions, filenames and function params
- CLI: Replace
-i
withWSDL