sg v0.3 Release NotesRelease Date: 2015-09-11 // over 6 years ago
Warning: breaking change in configuration for tokens of
🆕 New features
Custom user agent
📈 In the root tag of the XML settings, one can define the
user-agentattribute. 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
maxattributes 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
token3will be between 5 (include) and 10 (not included) (when it used to mean
Pull request summary