Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Commit

Permalink
Merge pull request #172 from thedavecarroll/maintenance_development
Browse files Browse the repository at this point in the history
Maintenance development
  • Loading branch information
thedavecarroll authored Nov 14, 2022
2 parents 855fb49 + e2045d4 commit 1c1f1b2
Show file tree
Hide file tree
Showing 8 changed files with 142 additions and 80 deletions.
57 changes: 41 additions & 16 deletions BluebirdPS/BluebirdPS.psd1
Original file line number Diff line number Diff line change
@@ -1,39 +1,64 @@

@{
Copyright = '2020-2021'
Copyright = '2020-2022'
PowerShellVersion = '7.0'
RootModule = 'BluebirdPS.psm1'
CompanyName = 'thedavecarroll'
ModuleVersion = '0.7.0'
ModuleVersion = '0.8.0'
Author = 'Dave Carroll'
CompatiblePSEditions = 'Core'
FileList = @()
PrivateData = @{
PSData = @{
Tags = @('Twitter-Client','Twitter-API','Twitter','Tweet','Automation','Social-Media')
ReleaseNotes = '## 0.7.0 - 2021-06-26
Tags = @('Twitter-Client','Twitter-API','Twitter-API-V2','Twitter','Tweet','Automation','Social-Media')
ReleaseNotes = '
## 0.8.0 - 2022-11-13
Bugfix and Feature; Update Strongly Recommended
Bugfix, Feature, and Maintenance; Update Strongly Recommended
### Removed
- [Issue #146](https://github.com/thedavecarroll/BluebirdPS/issues/146) - Remove Base Class of TwitterObject from Context and BaseMetrics
- [Issue #170](https://github.com/thedavecarroll/BluebirdPS/issues/170) - Remove ListId Alist from List Commands
### Fixed
- [Issue #89](https://github.com/thedavecarroll/BluebirdPS/issues/89) - Publish-TwitterDM - Parameter sets not functioning correctly
- [Issue #94](https://github.com/thedavecarroll/BluebirdPS/issues/94) - Get-TwitterListMember, and other functions - Does not check if List parameter is an empty object
- [Issue #95](https://github.com/thedavecarroll/BluebirdPS/issues/95) - Get-TwitterApiEndpoint - Parameter CommandName does not filter correctly
- [Issue #96](https://github.com/thedavecarroll/BluebirdPS/issues/96) - Write-TwitterResponse - ErrorRecord should only be generated when API errors are returned and OutputType is CustomClasses
- [Issue #101](https://github.com/thedavecarroll/BluebirdPS/issues/101) - Search-Tweet - MaxResults not honored
- [Issue #105](https://github.com/thedavecarroll/BluebirdPS/issues/105) - Documentation - Update documentation for commands using /2/tweets/search/recent endpoint
- [Issue #110](https://github.com/thedavecarroll/BluebirdPS/issues/110) - Publish-Tweet - Cannot index into a null array
- [Issue #121](https://github.com/thedavecarroll/BluebirdPS/issues/121) - Media class is missing Url and AltText properties
- [Issue #153](https://github.com/thedavecarroll/BluebirdPS/issues/153) - Various error handling
- [Issue #154](https://github.com/thedavecarroll/BluebirdPS/issues/154) - Cleanup Tweet Class
- [Issue #159](https://github.com/thedavecarroll/BluebirdPS/issues/159) - Tweet Metrics UrlLinkClicks Only Available for Tweets with Links
- [Issue #167](https://github.com/thedavecarroll/BluebirdPS/issues/167) - BaseEntity GetEntities() Does Not Instantiate Annotations, CashTags, HashTags, and Mentions Correcly
### Changed
- [Issue #98](https://github.com/thedavecarroll/BluebirdPS/issues/98) - BluebirdPSConfiguration.RawOutput - Remove this configuration value
- [Issue #129](https://github.com/thedavecarroll/BluebirdPS/issues/129) - Convert List Commands to Twitter API v2 Endpoints
- [Issue #135](https://github.com/thedavecarroll/BluebirdPS/issues/135) - Convert Muted User Commands to Twitter API v2 Endpoints
- [Issue #145](https://github.com/thedavecarroll/BluebirdPS/issues/145) - Get-TwitterUser: Change to auth user only endpoint
### Added
- [Issue #72](https://github.com/thedavecarroll/BluebirdPS/issues/72) - [New Feature] BluebirdPS.APIV2.TweetInfo.Tweet should override .ToString()
- [Issue #90](https://github.com/thedavecarroll/BluebirdPS/issues/90) - Publish-TwitterDM - Allow users to send message only, message and media, or media only direct messages
- [Issue #91](https://github.com/thedavecarroll/BluebirdPS/issues/91) - Get-TweetCount - Add new function recent Tweet counts endpoint
- [Issue #92](https://github.com/thedavecarroll/BluebirdPS/issues/92) - BluebirdPS.APIV2.UserInfo.User - Override ToString()
- [Issue #93](https://github.com/thedavecarroll/BluebirdPS/issues/93) - Get-TwitterList - Accept list full name as another parameter set
- [Issue #97](https://github.com/thedavecarroll/BluebirdPS/issues/97) - BluebirdPSConfiguration.OutputType - Add new configuration value to set the output type
- [Issue #102](https://github.com/thedavecarroll/BluebirdPS/issues/102) - Add NoPagination Switch to Invoke-TwitterRequest
- [Issue #103](https://github.com/thedavecarroll/BluebirdPS/issues/103) - Add Verbose switch to Invoke-TwitterRequest
- [Issue #127](https://github.com/thedavecarroll/BluebirdPS/issues/127) - Provide Classes and Updates to Enable API v2 Lists Endpoints
- [Issue #130](https://github.com/thedavecarroll/BluebirdPS/issues/130) - Add OutputType to Commands
- [Issue #132](https://github.com/thedavecarroll/BluebirdPS/issues/132) - Add Commands for Pinned List Endpoints
- [Issue #140](https://github.com/thedavecarroll/BluebirdPS/issues/140) - Add new command Show-TwitterAuthentication
- [Issue #141](https://github.com/thedavecarroll/BluebirdPS/issues/141) - Add new command Get-BluebirdPSAssemblyDetails
- [Issue #144](https://github.com/thedavecarroll/BluebirdPS/issues/144) - Get-BluebirdPSVersion - Add new command to display version of BluebirdPS
- [Issue #147](https://github.com/thedavecarroll/BluebirdPS/issues/147) - Add ToString() Override for Context and WithheldContent Classes
- [Issue #148](https://github.com/thedavecarroll/BluebirdPS/issues/148) - Add Support for Edit Controls and Edit History
- [Issue #150](https://github.com/thedavecarroll/BluebirdPS/issues/150) - Add New Metrics Exception
- [Issue #156](https://github.com/thedavecarroll/BluebirdPS/issues/156) - Add Authenticated User to ResponseData
- [Issue #165](https://github.com/thedavecarroll/BluebirdPS/issues/165) - Add Functionality to Parse User and Pinned Tweets to Find Mastodon Account References
### Maintenance
- [Issue #124](https://github.com/thedavecarroll/BluebirdPS/issues/124) - C# Folder Structure - Ensure best practices for C# project older structure
- [Issue #136](https://github.com/thedavecarroll/BluebirdPS/issues/136) - C# Additional Code Cleanup
- [Issue #163](https://github.com/thedavecarroll/BluebirdPS/issues/163) - Update documentation
For full CHANGELOG, see https://docs.bluebirdps.dev/en/latest/CHANGELOG/
'
Expand Down
9 changes: 5 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
# Changelog

## 0.8.0 - Pending
## 0.8.0 - 2022-11-13

Bugfix, Feature, and Maintenance; Update Strongly Recommended

### Removed

- [Issue #146](https://github.com/thedavecarroll/BluebirdPS/issues/146) - Remove Base Class of TwitterObject from Context and BaseMetrics
- [Issue #170](https://github.com/thedavecarroll/BluebirdPS/issues/170) - Remove ListId Alias from List Commands

### Fixed

Expand All @@ -17,6 +18,7 @@ Bugfix, Feature, and Maintenance; Update Strongly Recommended
- [Issue #153](https://github.com/thedavecarroll/BluebirdPS/issues/153) - Various error handling
- [Issue #154](https://github.com/thedavecarroll/BluebirdPS/issues/154) - Cleanup Tweet Class
- [Issue #159](https://github.com/thedavecarroll/BluebirdPS/issues/159) - Tweet Metrics UrlLinkClicks Only Available for Tweets with Links
- [Issue #167](https://github.com/thedavecarroll/BluebirdPS/issues/167) - BaseEntity GetEntities() Does Not Instantiate Annotations, CashTags, HashTags, and Mentions Correctly

### Changed

Expand All @@ -30,7 +32,6 @@ Bugfix, Feature, and Maintenance; Update Strongly Recommended
- [Issue #103](https://github.com/thedavecarroll/BluebirdPS/issues/103) - Add Verbose switch to Invoke-TwitterRequest
- [Issue #127](https://github.com/thedavecarroll/BluebirdPS/issues/127) - Provide Classes and Updates to Enable API v2 Lists Endpoints
- [Issue #130](https://github.com/thedavecarroll/BluebirdPS/issues/130) - Add OutputType to Commands
- [Issue #131](https://github.com/thedavecarroll/BluebirdPS/issues/131) - Remove-TwitterListMembership - Add new command
- [Issue #132](https://github.com/thedavecarroll/BluebirdPS/issues/132) - Add Commands for Pinned List Endpoints
- [Issue #140](https://github.com/thedavecarroll/BluebirdPS/issues/140) - Add new command Show-TwitterAuthentication
- [Issue #141](https://github.com/thedavecarroll/BluebirdPS/issues/141) - Add new command Get-BluebirdPSAssemblyDetails
Expand All @@ -39,13 +40,13 @@ Bugfix, Feature, and Maintenance; Update Strongly Recommended
- [Issue #148](https://github.com/thedavecarroll/BluebirdPS/issues/148) - Add Support for Edit Controls and Edit History
- [Issue #150](https://github.com/thedavecarroll/BluebirdPS/issues/150) - Add New Metrics Exception
- [Issue #156](https://github.com/thedavecarroll/BluebirdPS/issues/156) - Add Authenticated User to ResponseData
- [Issue #165](https://github.com/thedavecarroll/BluebirdPS/issues/165) - Add Functionality to Parse User and Pinned Tweets to Find Mastodon Account References

### Maintenance

- [Issue #124](https://github.com/thedavecarroll/BluebirdPS/issues/124) - C# Folder Structure - Ensure best practices for C# project older structure
- [Issue #136](https://github.com/thedavecarroll/BluebirdPS/issues/136) - C# Additional Code Cleanup

- OPEN [Issue #163](https://github.com/thedavecarroll/BluebirdPS/issues/163) - Update documentation
- [Issue #163](https://github.com/thedavecarroll/BluebirdPS/issues/163) - Update documentation

## [0.7.0] - 2021-06-26

Expand Down
8 changes: 6 additions & 2 deletions build/BuildFunctions.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,9 @@ function Get-ChangeLogUpdateForMilestone {

foreach ($Issue in ($MilestoneIssues | Where-Object EntryType -match $EntryType)) {
$EntryText = GetEntryText -Issue $Issue
[void]$NewChangeLogEntry.AppendLine($EntryText)
if ($EntryText) {
[void]$NewChangeLogEntry.AppendLine($EntryText)
}
}
[void]$NewChangeLogEntry.AppendLine()
}
Expand All @@ -414,7 +416,9 @@ function Get-ChangeLogUpdateForMilestone {

foreach ($Issue in ($MilestoneIssues | Where-Object EntryType -eq $null)) {
$EntryText = GetEntryText -Issue $Issue
[void]$NewChangeLogEntry.AppendLine($EntryText)
if ($EntryText) {
[void]$NewChangeLogEntry.AppendLine($EntryText)
}
}
[void]$NewChangeLogEntry.AppendLine()
}
Expand Down
2 changes: 1 addition & 1 deletion docs/LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

MIT License

Copyright (c) 2020-2021 Dave Carroll
Copyright (c) 2020-2022 Dave Carroll

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
15 changes: 15 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,21 @@ PowerShell best practices.

## What's New

The v0.8.0 release of BluebirdPS includes the following:

- **Converts List commands to Twitter API v2 endpoints.**
- **Converts Muted User commands to Twitter API v2 endpoints.**
- **Adds commands for Pinned List endpoints.**
- **Adds Edit Controls and Edit History to Tweet object classes.**
- **Fixes Media class to include Url and AltText properties.**

- Removes `GetOriginalObject()` from Context and BaseMetrics.
- Adds OutputType to most commands.
- Add Metrics exception class.
- Add `Get-BluebirdPSVersion` to display the imported version of BluebirdPS.
- Add `Get-BluebirdPSAssemblyDetails` to assist with class discovery.
- Add `Show-TwitterAuthentication` to assist with authentication validation.

The v0.7.0 release of BluebirdPS includes the following:

- **Adds new command, `Get-TweetCount`, which corresponds to the recently released `GET /tweets/count/recent` endpoint.**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ Only return the first page of data for the request.
Note:
By default, this command will request all available pages of data with each page request counting against the rate limit threshold.
```yaml
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Expand Down
128 changes: 73 additions & 55 deletions docs/about_BluebirdPS.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,124 +100,142 @@ Twitter

TwitterAPI

Import-BluebirdPSConfiguration
TwitterAPIv2

Set-BluebirdPSConfiguration
Add-TwitterFriend

Export-BluebirdPSConfiguration
Add-TwitterList

Get-BluebirdPSConfiguration
Add-TwitterListMember

Get-BluebirdPSHistory
Add-TwitterListSubscription

Add-TwitterSavedSearch

ConvertFrom-EpochTime

Set-Retweet
ConvertFrom-TwitterV1Date

Publish-Tweet
Export-BluebirdPSConfiguration

Search-Tweet
Export-TwitterAuthentication

Find-TwitterMastodonLinks

Get-BluebirdPSAssemblyDetails

Get-BluebirdPSConfiguration

Get-BluebirdPSHistory

Get-BluebirdPSVersion

Get-Tweet

Set-TweetLike
Get-TweetConversation

Get-TweetCount

Get-TweetLikes

Get-TweetPoll

Set-TweetReply

Get-TwitterAccountSettings

Get-TwitterApiEndpoint

Import-TwitterAuthentication

Set-TwitterAuthentication
Get-TwitterBlockedUser

Test-TwitterAuthentication
Get-TwitterDM

Export-TwitterAuthentication
Get-TwitterFollowers

Set-TwitterBearerToken
Get-TwitterFriends

Get-TwitterBlockedUser
Get-TwitterFriendship

Set-TwitterBlockedUser
Get-TwitterList

Get-TwitterDM
Get-TwitterListMember

Publish-TwitterDM
Get-TwitterListMembership

Unpublish-TwitterDM
Get-TwitterListSubscriber

Get-TwitterFollowers
Get-TwitterListSubscription

Remove-TwitterFriend
Get-TwitterListTweets

Add-TwitterFriend
Get-TwitterMutedUser

Get-TwitterFriends
Get-TwitterPermissions

Get-TwitterFriendship
Get-TwitterPinnedList

Add-TwitterList
Get-TwitterRateLimitStatus

Get-TwitterList
Get-TwitterSavedSearch

Set-TwitterList
Get-TwitterTimeline

Remove-TwitterList
Get-TwitterUser

Get-TwitterListByOwner
Get-TwitterUserProfileBanner

Add-TwitterListMember
Import-BluebirdPSConfiguration

Get-TwitterListMember
Import-TwitterAuthentication

Remove-TwitterListMember
Invoke-TwitterRequest

Get-TwitterListMembership
Publish-Tweet

Test-TwitterListMembership
Publish-TwitterDM

Get-TwitterListSubscriber
Remove-TwitterFriend

Remove-TwitterListSubscription
Remove-TwitterList

Add-TwitterListSubscription
Remove-TwitterListMember

Test-TwitterListSubscription
Remove-TwitterListSubscription

Get-TwitterListSubscription
Remove-TwitterSavedSearch

Get-TwitterListTweets
Search-Tweet

Send-TwitterMedia

Get-TwitterMutedUser
Set-BluebirdPSConfiguration

Set-TwitterMutedUser
Set-Retweet

Get-TwitterPermissions
Set-TweetLike

Get-TwitterRateLimitStatus
Set-TweetReply

Invoke-TwitterRequest
Set-TwitterAuthentication

Get-TwitterSavedSearch
Set-TwitterBearerToken

Add-TwitterSavedSearch
Set-TwitterBlockedUser

Remove-TwitterSavedSearch
Set-TwitterList

Get-TwitterTimeline
Set-TwitterMutedUser

Get-TwitterUser
Set-TwitterPinnedList

Show-TwitterAuthentication

Submit-TwitterUserAsSpam

Get-TwitterUserProfileBanner
Test-TwitterAuthentication

ConvertFrom-TwitterV1Date
Test-TwitterListMembership

Test-TwitterListSubscription

Unpublish-Tweet

Unpublish-TwitterDM
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repo_name: 'thedavecarroll/BluebirdPS'
repo_url: 'https://github.com/thedavecarroll/BluebirdPS'

# Copyright
copyright: "Copyright &copy; 2020-2021 Dave Carroll<br/>BluebirdPS is licensed under the <a href=https://github.com/thedavecarroll/BluebirdPS/raw/main/LICENSE>MIT license."
copyright: "Copyright &copy; 2020-2022 Dave Carroll<br/>BluebirdPS is licensed under the <a href=https://github.com/thedavecarroll/BluebirdPS/raw/main/LICENSE>MIT license."

# Analytics
google_analytics:
Expand Down

0 comments on commit 1c1f1b2

Please sign in to comment.