15 小时前

Instagram-API 发布版本: Stable release v5.0.0

This release adds new features and some very important fixes. If I left any undocumented backwards-compatibility breaking change here, please send me an email and I will update the release note. ### backwards-compatibility breaking changes - Moved `sendTwoFactorLoginSMS()` from `Account` to `InstagramAPI` class. ### Features #### Update Constants to 64.0.0.14.96 - **Business**: Added basic requests to switch your account between personal and business profiles. - **Client**: Prepare the client for middleware. - **Client**: Add zero rating rewrite middleware - **InstagramAPI**: Added `userLookup()`. - **InstagramAPI**: Added `sendRecoverySMS()` and `sendRecoveryEmail()` functions. These functions help the user to get a recovery link to recover their account. - **Hashtag**: Added `getStory()` to get stories related to the hashtag. - **Instagram TV**: Basic functions to interact with IGTV. - **Media**: Added `getPermalink()`. This function will return permanent link of the provided media. - **Media**: Audio muted flag can now be set from the external metadata. - **Media Normalization**: Prepares and normalize media files to be uploaded to Instagram. - **People**: Added `markUserOverage()`. Mark user over age in order to see sensitive content - **People**: Added `muteUserMedia()` and `unmuteUserMedia` to mute stories or media. - **People**: Turn on/off story notifications. - **Reporting Media**: Added functions to report content: `discover->reportExploreMedia()`, `media->report()` and `media->reportComment()`. - **Shopping and Products**: Business accounts will be able to search products in their catalogs, manage their catalogs and tag products on the media. Commit: c5a7cc8f6545b5ebcacc5cb0a5544b459218a0dd - **Story**: Get poll voters. This function that lets the user owning a story poll to get it results filtered by the voting option. - **Story**: Added `getArchivedStoriesFeed()`. ### Fixes #### Improved, refactorized the code to normalize media and aspect ratios. - Fixed 2 factor authentication login parameters. - Update `getCurrentUser()` POST params. - Update missing params on `feed/timeline/` endpoint. - Deleted duplicated code and invalid calls. - Updated example files. - Force returned value to be an object in `Signatures`. - Hundreds of internal code and documentation improvements everywhere, along with lots of refactoring for cleaner code and increased reliability. - Several updates to the `Hashtag`, `Highlight` and `Story` classes. - Client: Force cURL to reopen a connection when network settings change. - FFmpeg: Use a threshold when cutting too long videos. - Internal: Workaround for missing `GLOB_BRACE`. --- - Remember that this is not a freeware library. To use this library, you must follow [the legally binding project license](https://github.com/mgp25/Instagram-API#license), which is based on returning contributions "as thanks for the library", to keep the project alive. - Donations and code contributions are welcome and help motivate us to continue development (and none of us are feeling motivated at the moment...). For instructions on how you can contribute code/donate, please see the [project readme](https://github.com/mgp25/Instagram-API/blob/master/README.md). --- Huge thanks to [@valga](https://github.com/valga) and [@steveJobzniak](https://github.com/steveJobzniak) for all the awesome work they have put into this API in the past months. They have added very useful code, fixed, improved and refactored the code to be as perfect as it could be. Thanks to these two guys, the API is what it is now. Send them some ❤️ -- With Love from The Team.

15 小时前

finagle 发布版本: Finagle 18.11.0

New Features ------------ - finagle-base-http: Add Message.httpDateFormat(millis) to format the epoch millis into an RFC 7231 formatted String representation. [eb9bec0e](https://github.com/twitter/finagle/commit/eb9bec0ec83792a1bfb1e1fc94ecd214efdf0c48) - finagle-core: Introduce an StackClient.withStack overload that makes modifying the existing Stack easier when using method chaining. [8f69e833](https://github.com/twitter/finagle/commit/8f69e83366c7e275fbe1cbf7671f04e0e3daab70) - finagle-mysql: Introduce session to be able to perform multiple operations that require session state on a guaranteed single connection. [a06f7d67](https://github.com/twitter/finagle/commit/a06f7d672dce4b9e131356634f18e168e68f3692) - finagle-netty4: When using the native epoll transport, finagle now publishes the TCP window size and number of retransmits based on the tcpInfo provided by from the channel. These stats are published with a debug verbosity level. [16071088](https://github.com/twitter/finagle/commit/160710883174e35d01f8460a80c4ad616653961a) - finagle-http: HTTP clients and servers now accept fixedLengthStreamedAfter param in their withStreaming configuration (default: 5 MB when streaming is enabled). This new parameter controls the limit after which Finagle will stop aggregating messages with known Content-Length (payload will be available at .content) and switch into a streaming mode (payload will be available at .reader). Note messages with Transfer-Encoding: chunked never aggregated. [842e5e1a](https://github.com/twitter/finagle/commit/842e5e1a2b5613307add41fd064ebb589cc22bef) Breaking API Changes -------------------- - finagle-http: c.t.f.http.param.MaxChunkSize has been removed. There is no good reason to configure it with anything but Int.MaxValue (unlimited). [990c8650](https://github.com/twitter/finagle/commit/990c8650366e5374ea062c753a4628c5971fc40e) - finagle-exp: Update DarkTrafficFilter\#handleFailedInvocation to accept the request type for more fidelity in handling the failure. [b247f941](https://github.com/twitter/finagle/commit/b247f941e97fe5c3bcf667ae69c27128f3cf1c52) Runtime Behavior Changes ------------------------ - finagle-http: Unset maxChunkSize limit in Netty HTTP codecs. Now both clients and servers emit all available data as a single chunk so we can put it into use quicker. [990c8650](https://github.com/twitter/finagle/commit/990c8650366e5374ea062c753a4628c5971fc40e) - finagle-http: Streaming clients (withStreaming(true)) now aggregate inbound messages with known Content-Length if their payloads are less than 5mb (8k before). Use withStreaming(true, 32.kb) to override it with a different value. [24271b29](https://github.com/twitter/finagle/commit/24271b29e5030230e16d9b628de1a7ab029e99e5) - finagle-http2: HTTP/2 servers perform a more graceful shutdown where an initial GOAWAY is sent with the maximum possible stream id and waits for either the client to hang up or for the close deadline, at which time a second GOAWAY is sent with the true last processed stream and the connection is then closed. [93fee499](https://github.com/twitter/finagle/commit/93fee4994e3ac83078a4342be5d8a31f921a094f) Deprecations ------------ - finagle-core: Deprecate EndpointerStackClient.transformed(Stack\[ServiceFactory\[Req, Rep\]\] => Stack\[ServiceFactory\[Req, Rep\]\]) in favor of the withStack variant. [8f69e833](https://github.com/twitter/finagle/commit/8f69e83366c7e275fbe1cbf7671f04e0e3daab70)

15 小时前

home-assistant 发布版本: 0.82.1

- catch key error when saving image ([@hunterjm] - [#18365]) ([image_processing.tensorflow docs]) - Fix hangouts notify ([@MartinHjelmare] - [#18372]) ([notify docs]) - Fix including from sub dir ([@bramkragten] - [#18378]) - Fix default value for optional Sense configuration parameter ([@claytonjn] - [#18379]) ([sense docs]) - cancel off_delay action ([@dgomes] - [#18389]) ([binary_sensor.mqtt docs]) - Changed checking of cover state closed from 0 to closed_position variable. ([@pszafer] - [#18407]) ([cover.mqtt docs]) - updated pydaikin version ([@fredrike] - [#18413]) ([daikin docs]) ([climate.daikin docs]) - edp_redy: increase UPDATE_INTERVAL ([@abmantis] - [#18429]) ([edp_redy docs]) - Update pyozw to 0.1.1 ([@pvizeli] - [#18436]) ([zwave docs]) - Fix AsusWRT (@kennedyshead - [#18400]) [#18365]: https://github.com/home-assistant/home-assistant/pull/18365 [#18372]: https://github.com/home-assistant/home-assistant/pull/18372 [#18378]: https://github.com/home-assistant/home-assistant/pull/18378 [#18379]: https://github.com/home-assistant/home-assistant/pull/18379 [#18389]: https://github.com/home-assistant/home-assistant/pull/18389 [#18407]: https://github.com/home-assistant/home-assistant/pull/18407 [#18413]: https://github.com/home-assistant/home-assistant/pull/18413 [#18429]: https://github.com/home-assistant/home-assistant/pull/18429 [#18436]: https://github.com/home-assistant/home-assistant/pull/18436 [@MartinHjelmare]: https://github.com/MartinHjelmare [@abmantis]: https://github.com/abmantis [@bramkragten]: https://github.com/bramkragten [@claytonjn]: https://github.com/claytonjn [@dgomes]: https://github.com/dgomes [@fredrike]: https://github.com/fredrike [@hunterjm]: https://github.com/hunterjm [@pszafer]: https://github.com/pszafer [@pvizeli]: https://github.com/pvizeli [#18400]: https://github.com/home-assistant/home-assistant/pull/18400 [binary_sensor.mqtt docs]: https://www.home-assistant.io/components/binary_sensor.mqtt/ [climate.daikin docs]: https://www.home-assistant.io/components/climate.daikin/ [cover.mqtt docs]: https://www.home-assistant.io/components/cover.mqtt/ [daikin docs]: https://www.home-assistant.io/components/daikin/ [edp_redy docs]: https://www.home-assistant.io/components/edp_redy/ [image_processing.tensorflow docs]: https://www.home-assistant.io/components/image_processing.tensorflow/ [notify docs]: https://www.home-assistant.io/components/notify/ [sense docs]: https://www.home-assistant.io/components/sense/ [zwave docs]: https://www.home-assistant.io/components/zwave/