Releases: EdricChan03/ngx-ytd-api
1.0.0-alpha.4 dalmatian-peony
Highlights
After at least 6 months of no releases, this one comes out of nowhere! And on the last day of 2018 as well! 🎉
This release adds the following features:
- Library
- Support for video and comment YouTube Data APIs!
- Support for Angular v7!
- Support for OAuth!
- Support for standard query parameters!
- Demo
- General improvement of demos
- New video picker!
- Initial privacy policy!
- General improvement of demos
- And a huge number of bug fixes!
Bug Fixes
- demo: add missing
printDocument
method (90dfe4c) - demo: fix linting errors (ce9576a)
- demo: remove additional closed curly brackets (fc2b5b3)
- demo: use template literal to prevent from hardcoding of redirect URI (819cf54)
- demo/privacy-policy: hide tooltip when printing (d082298)
- demo/search: set search results to
null
once reset (dbd1d71) - demo/search/list: add missing
part
parameter (c4d75b5) - demo/search/list: API link for API key not working (35046d3)
- demo/search/list: encode search form values (f115835)
- demo/SharedService: check if the app is running on Firebase (f188c67)
- demo/SharedService: remove commented method (a01be8d)
- demo/version-picker: use main entrypoint of ngx-ytd-api (d051cbb)
- demo/yt-video-picker: use
display
CSS property instead of*ngIf
(0636ef1) - lib: add check to prevent duplication of query parameters (32ef545)
- lib/comments: broken links to YouTube's API docs (238eef2)
- lib/core: correct API endpoint of
ngxYtdCommentsApiUrl
(48553fa) - lib/core: missing
package.json
(91abf4a) - lib/core: remove
private
tag (549fc43) - lib/search: add missing semicolon (f4ede33)
- lib/search: rename
pagingInfo
topageInfo
(5372867) - lib/search/list: add missing type parameter (4b7ce37)
- lib/video: correct interface (9993f44)
- lib/videos/list: rename
privacyPolicy
parameter toprivacyStatus
(7a8f1fc) - tests: use correct API key (8d27e37)
Features
- core: introduce more HTTP request methods (72220c1)
- demo: initial implementation of YouTube video picker (1c9082e)
- demo: initial privacy policy (6ab0d71)
- demo: support for dark theme (0a3514d)
- demo/privacy-policy: add printing support (7297648)
- demo/search: add links for each parameter to YouTube Data v3 Search API docs (3219e81)
- demo/search/list: add support for query parameters for search form (eb86237)
- demo/videos: add initial demo for
NgxYtdApiVideosService#list
method (c15f2f9) - demo/videos/getRating: initial demo page (cc23dcb)
- lib: add initial video API (9118813)
- support Angular v7 (2ea90ba)
- lib: add support for standard query parameters (c7d75b7), closes #31
- lib: introduce comment API (b2aff75)
- lib/comments: support all methods (
delete
,insert
,markAsSpam
,setModerationStatus
andupdate
) (03d8ddb), closes #6 - lib/core: add support for 2 type parameters (fa4a1e0)
- lib/core: add support for type parameter for a HTTP request body (3348fb6)
- lib/search: add support for OAuth (bf548ae), closes #18
- lib/videos: add support for OAuth (1d0f394), closes #18
- lib/videos: implement all methods (
delete
,insert
,rate
,reportAbuse
&update
) (37d216c), closes #9 - travis: use build stages (2fdde02)
Reverts
- chore(lib): use placeholder version (9a71500)
BREAKING CHANGES
-
lib/comments: All interfaces in the
comments
module have been renamed to their plural forms to be more consistent with the docs. Below is a migration table:Old New NgxYtdApiCommentListOpts
NgxYtdApiCommentsListOpts
NgxYtdApiCommentListResult
NgxYtdApiCommentsListResult
NgxYtdApiCommentListResultItem
NgxYtdApiCommentsListResultItem
NgxYtdApiCommentResource
NgxYtdApiCommentsResource
-
lib/comments:
NgxYtdApiCommentService
has been renamed toNgxYtdApiCommentsService
due to an inconsistency between other submodules and the Comments submodule. -
lib/search: Due to a typo error,
pagingInfo
has been renamed topageInfo
in theNgxYtdApiSearchListResult
interface. -
lib/core:
NgxYtdApiCoreService#_generateApiRequest
has been renamed toNgxYtdApiCoreService#createHttpGet
. -
lib/core: -
NgxYtdApiCoreService#_generateApiRequest
now requires either 2 type parameters or 0 type parameters. The first type parameter is the type of the result returned as anObservable
. The second type parameter is used for the type of the second parameter (apiParams
). -
lib/search: The
query
parameter ofNgxYtdApiSearch#list
has been removed to align this API to YouTube's Data v3 Search API. Please use theq
option inNgxYtdApiSearchListOpts
instead. Here's an example:- this.ytdApiSearch.list('despacito', { apiKey: '<your-api-key>' }); + this.ytdApiSearch.list({ apiKey: '<your-api-key>', q: 'despacito' });
-
lib/search:
NgxYtdApiSearch#search
has been removed in favour ofNgxYtdApiSearch#list
for aligning with YouTube Data v3 Search API. -
The library now internally uses the
ngx-simple-http
. This is a required dependency and must be installed separately with it.
1.0.0-alpha.3 greyhound-puma
Bug Fixes
- demo: update card styles (70bcccb)
- lib: change
apiKey
tokey
(985595b) - lib: correct dest path for
ng-packagr
(aac1cb2)
Features
BREAKING CHANGES
-
lib:
NgxYtdApiGenericOpts#apiKey
has been renamed toNgxYtdApiGenericOpts#key
for convenience with the YouTube Data v3 API. -
lib/search:
NgxYtdApiService#searchVideos
has been removed in favour ofNgxYtdApiService#search
as the former is the same, except that thetype
parameter would be set asvideo
. For those who want to filter videos, pass in atype
parameter ofvideo
as the configuration to only search videos. SeeNgxYtdApiSearchOpts#type
for more info.
1.0.0-alpha.2 capybara-spaniel
Bug Fixes
- angular-cli: correct assets input (07e3e6c)
- angular-workspace: add path option for demo (298280b)
- demo: add missing semicolon (972cfd4)
- demo: remove
rootDir
property from tsconfig (5b1970c) - demo/SharedService: add missing newline (2d57c5a)
- demo/version-picker: correct usage of ngSwitch (5c66341)
- demo/version-picker: remove method for handling menu item clicks (b35a210)
- demo/version-picker: remove unclosed tag (38a7d16)
- demo/version-picker: use
href
instead ofrouterLink
(fc009a0) - firebase-hosting: add
rewrite
rules (aa1d2c0) - firebase-hosting: add missing comma (4e5c02f)
- lib: add missing newline from
public_api
(c4a7cd4) - lib: update version (6f48452)
- lib: update YouTube Data API key (189145c)
- travis: add flag for skipping cleanup when deploying (45e1cf3)
- travis: add OS-specific code (86d2f26)
- travis: append
./
(a3e51f9) - travis: append
scripts
(46b18e4) - travis: commit all files of demo folder (aec5709)
- travis: correct escape sequence (a2ea31b)
- travis: deploy docs only if commit has a tag (c6e263c)
- travis: don't run function in subprocess (6b30348)
- travis: surround string with quotes (15d019a)
- travis: use
-n
instead of-v
(4fd2051) - travis: use
-n
instead of-z
(557531c) - travis: use
-v
instead of-n
(e6d6a73)
Features
1.0.0-alpha.1 saiga-poppy
Err.. Unfortunately, no changelog was generated for the initial release.