Skip to content

Commit 678f83c

Browse files
committed
Bumped Version to 1.2.0
1 parent 614d2c1 commit 678f83c

File tree

2 files changed

+61
-21
lines changed

2 files changed

+61
-21
lines changed

CHANGELOG.md

Lines changed: 60 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,71 @@
11
# Changelog
22

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+
343
## Release Version 1.1.0 (2019-11-2)
444

545
Besides the new features, this release includes various under-the-hood improvements that help in the development process.
646

7-
## Features
47+
### Features
848

949
* 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()`
2969

3070
## Release Version 1.0.1 (2019-10-19)
3171

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "stackexchange-api",
3-
"version": "1.1.0",
3+
"version": "1.2.0",
44
"description": "A Node.js wrapper for the StackExchange API",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

0 commit comments

Comments
 (0)