Skip to content

Releases: ChristopherRabotin/sg

New features: user-agents, min and max for numerical tokens and XSLT for humans

11 Sep 15:19
Compare
Choose a tag to compare

Warning: breaking change in configuration for tokens of num pattern!

New features

Custom user agent

In the root tag of the XML settings, one can define the user-agent attribute. That will set all requests as coming from that user agent, allowing quick identification in analytics events for example.

XML Stylesheet (XSL)

An XML Stylesheet is now embedded within the XML results, meaning once the results are generated, you can just open the XML file with any web browser, and the data will be displayed in a human readable way. Note that for ease of rendering and styling, the stylesheet will load Bootstrap's CSS from a CDN, so if you don't have an internet connection, the colors may not show and the styling may not be as nice.

Numerical tokens as min and max

In the XML configuration file, the min and max attributes for numerical tokens now correspond to the minimum number and the maximum number (instead of the exponent of ten). For example <token token="token3" pattern="num" min="5" max="10" /> means that token3 will be between 5 (include) and 10 (not included) (when it used to mean 10**5 and 10**10).

Pull request summary

  • Adds custom user-agent. #10
  • Embeds an XML stylesheet to the XML output for easy in-browser reading #11
  • Numerical tokens are defined as minimum value and maximum value #12

Minor bug fixes and optimizations from version 0.1

03 Sep 17:13
Compare
Choose a tag to compare
Merge pull request #7 from ChristopherRabotin/develop

Race condition prevention and tests are now sequential

First release

02 Sep 16:39
Compare
Choose a tag to compare

First usable release of the tool.