These changes reflect the continuous development and maintenance of the software library, including bug fixes, feature additions, and updates to dependencies.
For more details on specific issues and pull requests, you can refer to the corresponding GitHub links provided. If you require further specific details about a particular build or feature, feel free to reach out.
-
Standardized log datetime format (#80)
- Enhanced the
insertNewLog
function inlogger.js
to receive a JavaScript Date object for thedatetime
parameter instead of a string. - Retrieve the time zone from the spreadsheet's locate setting.
- Transformed the
datetime
parameter to a datetime string in the format of"yyyy-MM-dd HH:mm:ss"
using theUtilities.formatDate()
method. - Adjusted the
fetcher.js
file to pass the date and time as aDate
object when calling theinsertNewLog
function.
- Enhanced the
-
Resolved the "No item with the given ID could be found" error (#112)
- Enclosed the
DriveApp.getFileById
method call in atry-catch
block inlogger.js
. - Included error logging in the
catch
block if an exception is thrown.
- Enclosed the
- Updated:
- jekyll (3.9.0 → 3.9.5)
- nokogiri (1.16.0 → 1.16.2) in
/docs
(#96) - apps-script-oauth2 (72d4dbc → 6ae908a) (#101)
- eslint-plugin-googleappsscript (1.0.4 → 1.0.5) (#106)
- @babel/preset-env (7.23.7 → 7.24.0) (#107)
- @rollup/plugin-multi-entry (6.0.0 → 6.0.1) (#108)
- eslint (8.34.0 → 8.57.0) (#109)
- rollup (3.15.0 → 4.12.0) (#110)
-
Corrected the permalink URLs of "Release Notes" and "Advanced Configurations" pages.
-
Updated API endpoint URLs for status badges.
-
Enhanced formatting of H2 headers in release notes:
- Eliminated build numbers from H2 headers.
- Enclosed release dates with parentheses.
-
Refined and styled the changelog.
- Implemented automated version updates via Dependabot.
- Upgraded github/codeql-action (1 → 3) and actions/checkout (2 → 4) in
codeql-analysis.yml
-
Added custom menu and menu items to Google Sheets
-
Enabled moving downloaded files to other Google Drive folder via Google Sheet
-
Allowed logging of HTTP status code and headers from the Instagram API response
-
Added new error codes to identify if the API request returns response in HTML instead of JSON, along with corresponding fixes:
0xf3
: Include not-logged-in in the HTML content0xf4
: Other HTML responses
-
Included the
dist/instance/code.js
file for developers to deploy a Google Sheet project with a standalone script
- Resolved a
TypeError
by validating the object type before using theString.Split
method #82 - Fixed issues related to deleting row without a file name #90, blank spots in the "Saved Filename" column #84, and the error "Address unavailable:... (code: 0xf1)" #86
- Simplified npm scripts using
npx clasp
- Restructured the
fetch()
function and modularized it with a new utility function - Renamed a parameter inside the
tryGetStories()
function
- Added development dependencies for unit testsing
- Included Jest extension setting for VS Code
- Updated the
docs/_config.yml
file and added Front Matter CMS for VS Code
- Renamed the
LICENSE.md
toLICENSE.txt
file - Replaced SVG badges with dynamic JSON badges #95
- Reworded the README file, split sections for Advanced Configurations and Release
Notes, and updated the
CHANGELOG.md
file - Styled and reworded the Jekyll site files in the
docs
directory - Added new screenshots and demo video to the GitHub project pages' landing page
- Applied the Google Documentation Guide recommendation to limit lines to 80 characters where possible in the README file
- Added a test suite for the
getFileDetails()
function inutils.js
- Added the destination folder feature by @hidehiro98 #74
- Bug fixes for issues #68 and #70
- Updated devDependenices
- Bumped
http-cache-semantics
from 4.1.0 to 4.1.1 by @dependabot
- Fixed an issue #45 by adding
x-instagram-ajax
to the request header
- Fixed an issue #53 related duplicate log entries
- Addressed changes in the Instagram code that affected previous builds. The
x-asbd-id
andx-csrftoken
were added to the request header.
- Bumped
url-parse
from 1.5.3 to 1.5.7 by @dependabot
New Features
- Saved the filename of downloaded files in Column E on the "Logs" sheet
- Showed the thumbnail preview and open the file on Drive by hovering and clicking on a hyperlinked filename
- Enabled the deletion of multiple items and their corresponding files from Drive by selecting the checkboxes in Column F and then clicking on "Delete Selected" on the "Logs" sheet
BREAKING CHANGE
- Integrated with Google Sheet and used Clasp (Command Line Apps Script Projects) for Apps Script developemnt. This was done to provide a user-friendly GUI for configurations and logging. The new version allows for easy setup of subscriptions and user settings, and logs are stored in the same Google Sheet file instead of saving separately in multiple Google Doc files.
- Addressed a security update for Google Drive on September 13, 2021 #17
- Rebuilt badge update functions with Class DriveApp
- Removed functions dependent on Drive API v3
- Removed unused script files
- Split testing codes to a separated script file
- Fixed issues related to Instagram code changes around noon, 7 Dec, UTC by replacing the query path with the new Instragram endpoint, updating the header for the HTTP request, and updating the lookup of download URLs from the new data structure #11
- Introduced status badges to display the last tested date and the health status resulting by the test pipeline function
- Added a new function
test_pipeline()
to check if there are any stories shown from the Instagram accounts of BBCNews, NASA and Medium
- Made a breaking change to fetch all story data and files directly from Instagram.com, removing the dependency on the third-party fetch source "storydownloader.net"
- Made a breaking change to replace the third-party fetch source "storyig.com" with "storydownloader.net" due to the suspension of the former