blob: 48c7bccc9a94ef5ed7e172836b3f2e77b8f93fa0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
## Version 2.0
* __v2.1__
- Default all values to minor,patch and major fields to 0 by default.
* __v2.0.x__
- Parse file updates.
* __v2.0.0__ *breaking*
- Added support for Operating System version parsing
- Added support for Device parsing
- Introduced deferred OnDemand parsing for Operating and Devices
- The `Agent#toJSON` method now returns an object instread of JSON string. Use
`JSON.stringify(agent)` instead.
- Removed the fromAgent method
- semver is removed from the dependencies, if you use the useragent/features
you should add it to your own dependencies.
* __v2.0.1__
- Fixed broken reference to the update module.
- Updated with some new parsers.
* __v2.0.2__
- Use LRU-cache for the lookups so it doesn't create a memory "leak" #22
- Updated with some new parsers.
* __v2.0.3__
- Updated regexp library with new parsers as Opera's latest browser which runs
WebKit was detected as Chrome Mobile.
* __v2.0.4__
- Added support for IE11 and PhantomJS. In addition to that when you run the
updater without the correct dependencies it will just output an error
instead of throwing an error.
* __v2.0.5__
- Upgraded the regular expressions to support Opera Next
* __v2.0.6__
- Only write the parse file when there isn't an error. #30
- Output an error in the console when we fail to compile new parsers #30
## Version 1.0
* __v1.1.0__
- Removed the postupdate hook, it was causing to much issues #9
* __v1.0.6__
- Updated the agent parser, JHint issues and leaking globals.
* __v1.0.5__
- Potential fix for #11 where it doesn't install the stuff in windows this also
brings a fresh update of the agents.js.
* __v1.0.3__
- Rewritten the `is` method so it doesn't display IE as true for firefox, chrome
etc fixes #10 and #7.
* __v1.0.3__
- A fix for bug #6, updated the semver dependency for browserify support.
* __v1.0.2__
- Don't throw errors when .parse is called without a useragent string. It now
defaults to a empty Agent instance.
* __v1.0.1__
- Added support for cURL, Wget and thunderbird using a custom useragent
definition file.
* __v1.0.0__ *breaking*
- Complete rewrite of the API and major performance improvements.
|