All notable changes to this project will be documented in this file.
- (deploy) Update deployment instructions and organize sections
- Solve some minor issues and update dependencies
- (commands) Rename handlers to commands for consistency
- (readme) Remove setup and deployment instructions
- (deploy) Add detailed deployment instructions
- (setup) Add comprehensive setup instructions
- (readme) Update setup and deployment instructions
- (logger) Allow custom log level via env var
- (cli) Add
warpcast
command withtoken
sub-command - (scripts) Add
dev:tokengen
script - (warpcast) Add
genAuthToken
function to warpcast service - (warpcast-token) Add token generation command
- (warpcast) Rename
WARPCAST_ACCESS_TOKEN
toWARPCAST_AUTH_TOKEN
- (logger) Simplify and extend logger configuration
- (readme) Add detailed setup instructions
- (build) Set
DATABASE_URL
at job level
- (build) Update
DATABASE_URL
environment variable source
- (deploy) Update from secrets to vars for workflow env
- (deploy) Switch from
env
tovars
for remote config
- (deploy) Update variable to
PACKAGE_VERSION
for clarity - (deploy) Improve pnpm cache handling in GitHub Actions
- (deploy) Remove manual trigger from deployment workflow
- (config) Migrate prettier config to
prettier.config.mjs
- (deploy) Switch from secrets to vars for deployment
- (deploy) Simplify and streamline deploy workflow
- (deploy) Streamline deploy process and add manual trigger
- (deploy) Move environment variables to job-level definition
- (deploy) Prevent creation of existing directories
- (deploy) Add
v
prefix to version in GitHub env
- Solve some minor issues and update dependencies
- (warpcast) Simplify
getFollowers
method
- (builder) Filter active proposals by current time
- (proposals-handlers) Process proposals notifications sequentially
- (handlers) Enhance voting message with proposal URL
- (queues-handler) Simplify
proposal
anddaos
types
- (proposals-handlers) Correct voting time comparison
- (proposals-handlers) Filter active proposals by vote start date
- (builder) Extract and centralize endpoint variables
- (builder) Add chain info to endpoints and daos
- (services) Unify proposal fetching methods
- (handlers) Streamline voting proposals notification
- (proposals-handlers) Streamline ending proposals handling
- (package) Add resolution for elliptic dependency
- (workflows) Add monthly cron job to process invites
- (queues-handler) Break long message strings into lines
- (handlers) Clean dao names and update message format
- (queues-handler) Simplify message generation for DAO notifications
- (builder) Add method to fetch DAO token owners
- (cli) Add invites processing command
- (builder) Increase default value for
first
to 1000 - (warpcast) Add
getUserByVerification
service - (builder) Add
ownerCount
toDao
interface
- (invites-handler) Use
continue
instead ofreturn
for loop
- (builder) Rename
daotokenOwners
toowners
- (services) Restructure
getDAOsTokenOwners
pagination logic - (invites-handler) Enhance owner to DAOs mapping
- (handlers) Extract follower and user functions
- (invites-handler) Map DAO owners to Farcaster users
- (invites-handler) Restructure and improve error handling
- (invites-handler) Add caching to invites handler
- (invites-handler) Relocate
handleInvites
function - (invites-handler) Add
ownerCount
toDao
mapping - (invites-handler) Log size of
sortedFidToDaoMap
- (invites-handler) Add follower filtering for DAOs
- (invites-handler) Enhance logging for invite sorting
- (invites-handler) Enable scheduled invitation logic
- (invites-handler) Add debug logging for
fidDaoEntries
count - (queues-handler) Add support for invitation tasks
- (queues-handler) Enhance notification messages
- (invites-handler) Remove unnecessary time checks
- (scripts) Add
dev:invites
script topackage.json
- (workflows) Add monthly cron job to process invites
- (workflows) Update cron schedule for invite processing
- (builder) Add
getActiveEndingProposals
service - (proposals-handlers) Add ending proposals notifications
- (handlers) Enhance proposal handling logic
- (handlers) Enhance proposal notification processing
- (builder) Update proposal sorting and filtering logic
- (handlers) Update cache key in
handleActiveProposals
- (proposals-handlers) Update proposals time range to 3 days
- (builder) Correct comparison operator in GraphQL query
- (builder) Add new types and remove local interfaces
- (handlers) Rename
getActiveProposals
togetActiveVotingProposals
- (handlers) Rename and refactor proposal handling functions
- (handlers) Rename proposal handling methods
- (proposals-handlers) Rename
endTime
tovoteEnd
- (proposals-handlers) Validate follower addresses
- (builder) Rename
DaoTokenOwner
anddaotokenOwners
- (gitignore) Update
.gitignore
for graphql config - (graphql) Move
builder.graphql
toschemas
directory
- (graphql) Rename
builder.gql
tobuilder.graphql
- (gitignore) Add graphql configuration to .gitignore
- (deploy) Move prisma db copy step to install phase
- (deploy) Add step to copy prisma db files during deployment
- (deploy) Remove excluded SQLite files before rsync
- (deploy) Update deploy workflow to refine file inclusion
- (deploy) Update rsync rules for prisma files
- (scripts) Update
prepare
script to handle errors
- (deploy) Update rsync include patterns for prisma
- (deploy) Add tty allocation to ssh commands
- (deploy) Update rsync include patterns for prisma
- (deploy) Update rsync include patterns for prisma
- (deploy) Add tty allocation to ssh commands
- (deploy) Remove rsync inline comments
- (warpcast) Type-cast response json to
FetchResponse
- (scripts) Update dev and build scripts
- (scripts) Update and streamline build scripts
- (deploy) Update rsync to exclude SQLite files
- (workflows) Optimize PNPM store caching
- (workflows) Streamline deploy script comments
- Solve some minor issues and update dependencies
- (deploy) Add logs directory and update log paths
- (deploy) Update cron job frequency and command
- (deploy) Update cron job setup in
deploy.yml
- (deploy) Set up crontab tasks in deploy workflow
- (deploy) Add
NODE_ENV
to environment file creation - (deploy) Add prisma migration and generation steps
- (deploy) Include LICENSE file in deployment
- (scripts) Update
prepare
script to handle errors
- (deploy) Reorder steps for environment setup
- (package) Update
description
with project details
- (workflows) Remove usage guard job in
build.yml
- (workflows) Enhance deploy pipeline with SSH and build steps
- (deploy) Update environment variables in
deploy.yml
- (build) Add
DATABASE_URL
to build pipeline
- (proposals-handlers) Remove unnecessary cache age parameter
- (cache) Make
maxAgeMs
optional ingetCache
- (queues-handler) Improve task processing flow
- (handlers) Add jsdoc for
consumeQueue
function - (cli) Enhance command descriptions
- (types) Update import statements to use
type
- (env) Add
.env.template
for environment variables - (scripts) Update
prebuild
and addpretest
script - (vite) Remove cjs format in build config
- (prisma) Add Queue model to database schema
- (queue) Add task queue management functions
- (config) Add
WARPCAST_API_KEY
to env schema - (warpcast) Add
sendDirectCast
service method - (queue) Generate unique task IDs in
addToQueue
- (index) Add proposals to notification queue
- (queue) Add retries functionality to tasks
- (utils) Add
toRelativeTime
function - (vite) Add node polyfills plugin
- (cli) Add command-line interface for proposal handling
- (utils) Enhance
toRelativeTime
function units - (queue) Add queue processing and notification handling
- (utils) Add
isPast
function to check past timestamps - (queues-handler) Enhance proposal time messages
- (builder) Change proposal sorting order to asc
- (index) Move proposal handling logic to
proposals-handlers
- (queues-handler) Enhance proposal message format
- (gitignore) Ignore
dev.db-journal
inprisma
- (scripts) Update
start
script to process proposals - (vite) Remove unused node polyfills plugin
- (prettier) Add prisma plugin to
.prettierrc.json
- (scripts) Update
test
script to allow no tests
- (builder) Add
Env
interface totypes.ts
- (config) Add builder subgraph URLs to env schema
- (services) Add
getDAOsForOwners
to fetch DAO data - (build) Enhance
vite.config.ts
for better build process - (index) Fetch and cache DAOs for follower fids
- (builder) Add
getActiveProposals
function - (index) Add proposal caching and fetching logic
- (logger) Set log level based on environment
- (builder) Add
name
field to dao in proposals
- (index) Log
verificationAddresses
object on fetch - (builder) Remove redundant vote time filters
- (index) Log comprehensive debug information
- (types) Update
Env
type to includeBuilderEnv
- (builder) Rename
fetch-daos-for-owners
toget-daos-for-owners
- (cache) Standardize cache keys with
toString
method - (index) Simplify type imports and references
- (index) Extract follower caching logic to function
- (index) Extract
getFollowerAddresses
function - (index) Extract dao fetching logic to
getFollowerDAOs
- (index) Extract
getUserFid
function - (index) Remove redundant log data and rename vars
- (logging) Simplify and structure logging details
- (logger) Restructure log messages for clarity
- (index) Consolidate follower processing logic
- (index) Reorder logic for proposal handling
- (index) Simplify follower address and DAOs check
- (index) Streamline data fetching and caching
- (index) Extract active proposals handling to function
- (index) Add logging for proposal processing
- (tsconfig) Change moduleResolution to
bundler
- (index) Enhance logging and configuration management
- (env) Add environment variable validation
- (types) Add
Env
type for environment configurations - (warpcast) Add functionality to fetch user followers
- (logger) Configure pino logger for development
- (services) Add
getMe
function to warpcast service - (logger) Add custom logger using pino
- (index) Add follower retrieval functionality
- (cache) Add cache management with
PrismaClient
- (prisma) Add initial Prisma schema for caching
- (migrations) Add initial cache table
- (cache) Add caching for
getMe
andgetFollowers
- (services) Add
getVerifications
method towarpcast
- (index) Add caching for follower verifications
- (package) Set correct entry point in
main
- (package) Update start script to run correct entry point
- (index) Simplify server initialization
- (tsconfig) Simplify and update configuration
- (index) Simplify self-executing function
- (config) Rename
env.ts
toconfig.ts
and update types - (index) Replace
dotenv
with customconfig
module - (index) Replace inline logger with external logger
- (index) Cache user fid instead of entire user object
- (cache) Update type for
getCache
method - (index) Update import paths to use aliases
- (gitignore) Update ignore list for lock file
- (package) Add
start
script topackage.json
- (build) Add initial
tsconfig.json
for TypeScript setup - (scripts) Add
clean
script to removedist
folder - (build) Switch from pnpm to bun for setup and build
- (scripts) Add
lint
script usingeslint
- (package) Add
type
field topackage.json
- (lint-staged) Add
lint-staged
config for code formatting - (linting) Add ESLint configuration
- (cliff) Add git-cliff configuration
- (style) Add prettier configuration
- (husky) Add pre-commit hook for linting and testing
- (scripts) Add vite commands for development and build
- (config) Add vite configuration
- (build) Update start script to use node
- (tsconfig) Add path alias for src directory
- (vite) Add vite-tsconfig-paths plugin
- (vite) Update build config for es module and externals
- (scripts) Update start script to use esm module
- (eslint) Update ignores in eslint config
- (tsconfig) Update compiler settings for esnext
- (scripts) Update
start
script to useindex.js
- (vite) Update build target and output file name
- (vite) Add
@prisma/client
to external dependencies - (gitignore) Add
prisma/dev.db
to ignored files - (scripts) Add
prebuild
script topackage.json
- (scripts) Add
prestart
script to run build
- (build) Switch from pnpm to bun for setup and build
- (graphql) Add GraphQL schema for auctions and DAOs
- (readme) Update project title
- (readme) Add project badges and warning section
- (style) Add
.editorconfig
for consistent code style - Add
.gitignore
for common NodeJS and project files - (npm) Add
.npmrc
to enforce exact versioning - (templates) Add GitHub issue templates
- (workflows) Add comprehensive CI/CD workflows
- (dependabot) Add configuration for dependency updates
- (ci) Add FUNDING file for GitHub sponsor links
- (stale-bot) Add configuration for stale issues