|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## Release Version 1.2.0 (2019-12-11) |
| 4 | + |
| 5 | +> Filters Update |
| 6 | +
|
| 7 | +### Features |
| 8 | + |
| 9 | +* Filters: |
| 10 | + * Filters are a new complex feature, that corresponds to [Custom Filters](https://api.stackexchange.com/docs/filters) |
| 11 | + * They can be used inside any request method, by providing a `filter` property as an option. The `filter` property can be a `Filter` object or a string (`Filter.filter` / `'default'` / `'withbody'` / `'none'` / `'total'`) |
| 12 | + * More documentation and examples can be found on the wiki: [Filters](https://github.com/paul-soporan/stackexchange-api/wiki/Filters) |
| 13 | + * New methods on the `StackExchange` class: |
| 14 | + * `createFilter()` |
| 15 | + * `decodeFilters()` |
| 16 | + * Made all methods on the `StackExchange` class filterable |
| 17 | +* Post: |
| 18 | + * Added a `Post` class, corresponding to Type post |
| 19 | + * New methods on the `StackExchange` class: |
| 20 | + * `getPosts()` |
| 21 | + * `getPostsByIds()` |
| 22 | + |
| 23 | +### Bug Fixes |
| 24 | + |
| 25 | +* Fixed issue badge and CircleCI status badge in README.md |
| 26 | + |
| 27 | +### Refactoring |
| 28 | + |
| 29 | +* All class properties are now required, because they are set to `null` if missing |
| 30 | +* All interface properties are now optional, because they can be filtered out from requests |
| 31 | +* Made all properties of result-types interfaces `readonly` |
| 32 | +* Enabled `strict` and other stricter compiler options in tsconfig.json |
| 33 | + |
| 34 | +### Dependencies |
| 35 | + |
| 36 | +* Updated to TypeScript Version 3.7.2 |
| 37 | +* Updated Dependencies |
| 38 | + |
| 39 | +### Documentation |
| 40 | + |
| 41 | +* Added documentation for classes |
| 42 | + |
3 | 43 | ## Release Version 1.1.0 (2019-11-2) |
4 | 44 |
|
5 | 45 | Besides the new features, this release includes various under-the-hood improvements that help in the development process. |
6 | 46 |
|
7 | | -## Features |
| 47 | +### Features |
8 | 48 |
|
9 | 49 | * New methods on the `StackExchange` class: |
10 | | - * getSites() |
11 | | - * similarSearch() |
12 | | - * getPrivileges() |
13 | | - * getAnswers() |
14 | | - * getAnswersByIds() |
15 | | - * getComments() |
16 | | - * getCommentsByIds() |
17 | | - * getCommentsOnAnswers() |
18 | | - * getTags() |
19 | | - * getModeratorOnlyTags() |
20 | | - * getRequiredTags() |
21 | | - * advancedSearch() |
22 | | - * getBadges() |
23 | | - * getBadgesByIds() |
24 | | - * getNamedBadges() |
25 | | - * getRecipientsBadges() |
26 | | - * getRecipientsBadgesByIds() |
27 | | - * getTagBasedBadges() |
28 | | - * getInfo() |
| 50 | + * `getSites()` |
| 51 | + * `similarSearch()` |
| 52 | + * `getPrivileges()` |
| 53 | + * `getAnswers()` |
| 54 | + * `getAnswersByIds()` |
| 55 | + * `getComments()` |
| 56 | + * `getCommentsByIds()` |
| 57 | + * `getCommentsOnAnswers()` |
| 58 | + * `getTags()` |
| 59 | + * `getModeratorOnlyTags()` |
| 60 | + * `getRequiredTags()` |
| 61 | + * `advancedSearch()` |
| 62 | + * `getBadges()` |
| 63 | + * `getBadgesByIds()` |
| 64 | + * `getNamedBadges()` |
| 65 | + * `getRecipientsBadges()` |
| 66 | + * `getRecipientsBadgesByIds()` |
| 67 | + * `getTagBasedBadges()` |
| 68 | + * `getInfo()` |
29 | 69 |
|
30 | 70 | ## Release Version 1.0.1 (2019-10-19) |
31 | 71 |
|
|
0 commit comments