sg v0.3 Release Notes

Release Date: 2015-09-11 // over 8 years ago
  • 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

Previous changes from v0.2