Changelog
All notable changes to this project will be documented in this file.
[unreleased]โ
๐ Bug Fixesโ
- Deployment
- Upgrade beego
[3.5.7] - 2025-02-22โ
๐ Bug Fixesโ
- Capacity requirements
- Cluster size
- X2 large compute for synth
- Output
- Cpu usage
- Packing method
[3.5.6] - 2025-02-17โ
๐ Bug Fixesโ
- Resolve
- Pass
- Listen only on api
- Params for best driver
- Bulk suggestion lambda
- Bulk suggestions lambda
- Errors in import
- Include param
- (43) Show company in the customer bills
- Include param
โ๏ธ Miscellaneous Tasksโ
- Upgrade changelog
[3.5.3] - 2025-02-03โ
๐ Featuresโ
- Docs updated
- Adding docs to deployment
- Create searchAll endpoint
- Add pending status
๐ Bug Fixesโ
- Add docs
- Pnpm
- Clear back track
- Restore old search endpoint
- Charts endpoints
- Functions
- Year histogram added
- Fleet management controller method for best driver
- Push update for best driver output
- Pnpm
- Version
- Cdk version
- Remove
- Docs stack removed
- Versioning
- Large synth build:
- Parallel nature
- Add env variable
- Ci mode for ecr deployment
- Add docker buix
- Remove cdk docker podman
- Docker build
- Build file
- Update end
- Revert
- Non-empty zip issue
- Stack
- Medium as build size
- Image deployment
- Version
- Comment ecr deployment
- Platform config
- Enable ci mode
- Cdk docker
- Clean up
- Nodejs
- Runtime version
- Version
- Buildspec
- Command to install pnpm
- Buildx created
- Build issue
- Increase build size
- Disable cdk docker
- Push cluster arn into ssm
- Add export
- Permission suffix existing records
- Discard specific search permission
- Update docs
- Customer migrator stack
- Build
- Order id
- Task time changed to UTC, index delete issue with opensearch, model id check to be added once
- No of logs to get 99999
- Billing stacks
- Forced assign toggle
- Route locking implementation
[3.5.2] - 2025-01-30โ
๐ Featuresโ
- Add more pages and api endpoints
๐ Bug Fixesโ
- Fatal error
- Error
- Permission string handling for users
- Aggs for dashboard
- Field mapping
- Remove unnecessary print
- Build for run
- Clean the site files
- Change the content of the pages
- Edit the README file
[3.5.1] - 2025-01-25โ
๐ Featuresโ
- Update user controller to enable customers to create users under the role sub-customer
- Implement user filtering based on customer
- Overdue email for billreport object with payable more then zero.
๐ Bug Fixesโ
- Field map for gsi
- Synth
- Deployment update
- Output dropped error
- Availability
- Create opensearch document for driverSummary
- Task added to run at 10:10 pm everyday and enpoint to access the same.
- Intergration fields added and model changes for api
- Comment removed was added for testing
- Make the roles array empty before adding sub-customer role for users created by customers
- Empty the array of roles before adding role for sub-customer
โ๏ธ Miscellaneous Tasksโ
- Bitbucket repo change
- Remove backend crash during driver alerts
[3.5.0] - 2025-01-06โ
๐ Featuresโ
- Driver log summary
๐ Bug Fixesโ
- Firebase secret for lambda
- Do not throw error
- Remove timing middleware
- Capacity and change to t4g.medium
- Cpu capacity unlimited mode
- Metrics
- Base reservation
- Cluster size
- Environment issue for otel
- Capacity
- Performance issues
- Param
- Redis security group
- Client security group
- Redis client to tls enabled
- Security group
- Vpc
- Insecure skip verify
- Tls setup, disable during testing
- Remove vpc
- Code build defaults
- Defaults
- Route fixes
- Redis client
- Redis client
- Test case validated
- Memory and switch to valkey fully
- Use micro instead of nano
- Mem requirements
- Scale units
- Capacity
- Routing
- Typo
- Add aggregates
- Reserve 1024 cpu
- Capacity config and cpu reservation
- Print query
- Summary buckets for dashboard
- Output for best driver
- Nil err
- Routing disabled with 1 min timeout
- Stacks
- Generator fixed
- Remove completed date from index separation
- Wait the pending requests as existing pending items are cleared
- Timeout
- Defer deletion
- Live detection with live variable only is enough
- Backend
- Bill status not reverting after bill amount is reverted
- Pdf text changes
- Multiple paysheet issue filter changed for event to insert only
- Dynamo Map changes for date retrival
- Driver Log to summ changed for order amount
- Test code chunks
- Driver object removed from log movement
- Comments added to DriverLogToDriverSummary
- Name changes in DB object
[3.4.0] - 2024-11-21โ
๐ Featuresโ
- Add multi window capability for routing
- Date comparison filter
- Filter summary
- Product tour status field and controller for User
- Add the IsolatedUserOrders to MetaInformation
- (driverhourly) Added hourly billing getting time from driver log
- (driverhourly) Driver log movement when manual move is done
- Add index into backend route response
- Best driver work in progress
- Best driver wip
- Best driver wip
- Best driver wip
- Return the best driver to frontend
- License upload backend endpoint implemented
- Work on the firebase message trigger when order status update
- Implement the driver location object to get the device_token as well
- Return newly added availability items
- Best driver algorithm trigger every 5 mins
- Bill record added to response
๐ Bug Fixesโ
- Lambda formatting
- Reporting
- Remove pretty print
- Delay summing
- Filter logic
- Customer view for orders enabled for all customers
- Delay summing
- Update_tour_viewed endpoint converted to GET
- ExpireCachedModel on UpdateTourViewed contoller
- Remove omitempty in models
- Tag issue
- Remove omit empty on json AdditionalInforField
- Tag issue in driver_location
- Values
- (migration) Aws dynamo v3 test
- (migration) Variable name issue
- (migration) Dynamo DB migration
- (migration) Step function fix for sdk aws v3 and v2 totally
- (migration) Aynsc issue in function
- (migration) Update commad missing issue
- (migration) Batch get item command fix
- (migration) Batch get item command fix
- (migration) Query command
- (migration) Driver billing starter migrated aws v3 full and order migrate done
- (pdf) Logo fix check tenant variable before accessing
- (pdf) Context added in driver paysheet
- (driverstarter) Starter issue with undefined check missing
- (customerbilling) Remove customer broadcast from billing
- Remove unnecessary tags
- Order status logic
- Buildj
- Work in progress
- Project out
- Update go mod
- Test coverage setting
- App version in drivers table
- Backend
- Device id
- Send message to the specific driver by driver Id
- Get the serviceAccountKey from the secret manager
- Missed fields
- Notification issue
- Use proper config
- Firebase notification flow
- Package version
- Notifications lambda
- Delay time
- Queue stack
- Firebase secret
- Move firebase secret to base
- Stack
- Queue url
- Change to fifo
- Build issue
- Export
- Notification event
- Notifications
- Add more delay
- Delay added to other iterations
- Isolate for search
- Use unique tenant id during a test to avoid collisions
- Test condition for v1 fetch
- Context for v1 id fetch
- Build errors
- Reduce delay time to prev config
- Tenant context for migration
- Order amount handling
- Match-phrase condition
- Match condition
- Clean up pretty println
- Do not recalibrate if route len is greater than 30
- Validate log action before moving to delivered
- Invalid action response updated
- Query logic for driver availability
- Order logic fetch
- Route init
- Unnecessary prints
- Remove user from dockerfile
- Nil assignment error
- Routes need to be provided within 2 mins
- Remove optimization for 30+ orders
- Routing issue; only for unprocessable routes
- Timeout for http client to be 30 seconds. Initial response cut to 39 seconds unoptimized first
- Logic for error timeout
- Logic issue for route handling
- Order status validation requires at least PICKED_UP
- Process only if no-error occurs
- Pending route if existing request found
- Routing request
- Init
- Listen endpoint fixes
- Backend logic for rejecting orders
- Caching
- Flush route endpoint
- Live orders fetch drivers based on territory id
- Disable excessive prints
- Add process cut off time for old order logs
- S3 bucket name
- Routing backend logic
- Error
- Warehouse allocation fetch
- Routing issue
- Clear button issue
- Drivers
- Dynamodb fetch fixed for cached
- 30 min eta end time
- Route calculation
- Eta cut off to 10 mins
- Timing spans for orders pricing
- Routing issue for starting location
- Redis import fixes
- Send notification issue
- Queries
๐ Refactorโ
- Dynamodb v3
๐งช Testingโ
- Fix user and territory tests
- Fix store reports test
โ๏ธ Miscellaneous Tasksโ
- Clean go.sum
- Remove pretty
- Switch lambda to amazon linux 2023 base image for compatibility
- Update base image for few lambdas that were on al2
โ๏ธ Revertโ
- Mapping related changes
[3.3.0] - 2024-07-06โ
๐ Featuresโ
- Build custom docker image
- Update TestGetOrderByNo test case
- Create unit test for UpdateOrderStatus
- Create unit test for UpdateOrderLocation
- Wip updateOrderStatus test
- Wip unti test updateOrderByIDBilling
- Add specific binary copy
- Sdf generator
- Generator fixed go mod updates
- Reduce mem requirements
- Run single core mode. no benefit in multi-core for routing engine
- Add backend stack as dependency
- S3 bucket caching
- Disable logging in models test
- Implement osrm function call ReturnPolyLine
- Generator image for fontawesome icons
- Create global redis client in router
- Get the json from the redis from router for a date
- Add the post endpoint in router
- Replace s3 with redisClient in Get
- Working on suggessions
- Replace s3 with redis in for a date function
- Replce the s3 with redis in suggestion function
- Replace the s3 with redis in route post endpoint
- Regen routes on generate suggestions
- Reduce mem for opt engine
- Add a manual copy check
- Enabled key indexing in drivers list
- Bucket summing ready
- Count endpoints for customer and drivers
- Report counts
- Add drivers paysheet to indexing
- Remove unused buildspec
- Adding server timing api
- Full entity filter
- Tracing status from ssm parameter
- Dynamodb injection
- Update the tenant with the twillio config
๐ Bug Fixesโ
- Error for non business customers charging
- Pipeline
- Naming
- Imports
- Build issue fix
- Include podman and set cdk docker to podman
- Build
- Arm image for build
- Build image
- Buildspec
- Platform arm64
- Synth
- Codebuild defaults image
- Script
- Build file
- Remove install phase as we already have necessary binaries
- Build commands
- Build spec update
- Apt command
- Redis build
- Build
- Podman as alias to docker
- Fix image
- Build
- Add go path
- Build docker command
- Env variables
- Revert
- Build command
- Build config
- Mount rshared
- Build
- Rootless mode
- Fuse overlay
- Issues
- Buildspec
- Image
- Remove unnecessary loading
- Script
- Image
- Buildah to podman
- Remove storage patch`
- Test
- Buildspec
- Cache paths
- Dockerfile location causing troubles
- Remove separate buildsteps for backend and ecommerce
- Build
- Build specs
- Makefile
- Add gitignore and update go mod
- Add policy
- Deps cleaned
- Build
- Steps ordering
- UpdateOrderById unit test
- Test case of UpdateOrderByIdBilling function
- Unit test on UpdateOrderDirect function
- Unit test in cancelOrder function
- Push images path
- Asset publishing
- Synth output
- Delay 1 second for adding user
- Add zip to build
- Cache paths
- Package building issues
- Cache
- Cache paths
- Build speed
- Remove unused build
- Remove deps
- Cache everything /go
- Remove generate docs
- Healthcheck
- Clean swagger
- Build
- Build config for lambda process overdue
- Date
- Deprecase email in invoicing configuration
- Dockerfile
- Start redis
- Add redis server
- Pipeline
- Cicd stack vpc
- Pipeline
- Pipeline add context
- Issues with route empty
- Issued for old routes getting lost
- Import cycle
- Solved
- Permissions
- Synth
- Class
- Index issue
- Subnet issue to private subnets
- Formatting
- Send error instead
- Controller update clean up
- Recalibrate auto if eta is missing
- Earliest start time
- Recalib only if 30 mins delay
- Ecr image dep
- Deps
- Cache to s3 bucket
- Adjust weighted capacity
- Cache only specific parts
- Base capacity increased
- Set cache path glob
- Output err count check
- Test case TestGetAllRoutes
- Remove what3words completely
- Remove logging
- Bill no mapping
- Order log
- Deployment to internal
- Sorting for drivers report
- Import
- Deployment controller for ecomm
- Missing value
- Service name
- Patches
- Scheduled date issue
- Only if opt engine is found
- Context
- Pretty
- Set cache to local
- Logic for recalib
- Init type
- Deployment
- Cache mode
- Pipeline update trigger fix
- Add image locally
- Revert
- Out
- Reindexing logic
- Routing
- Out
- Regenerate only not found
- Check sha before returning output
- Rout
- Conditional
- Llogic
- Capacity
- Reporting view and routing
- Logic
- Public territory by id
- Max addresses per second async logic
- Customer pricing updated only when there is modification to it
- Change suggestion endpoint to post
- Routing
- Date
- Routing
- Proper instance weight
- Instance sizing for ecommerce
- Change to dynamic capacity
- Desired capacity type to cpu
- Desired capacity type to mib
- Type name
- Change unit for measurement to gib
- Capacity in mib
- Specify minimum reservation but not max reservation
- Disable managed scaling and configure own scaling
- Error
- Memory reservation in units of 128
- Max instance size of 8192MB
- Customize metric for reservation
- Customer overloading
- Draining
- Bounds
- Cluster stack
- Capacity
- Memory capacity
- Scaling policy
- Capacity issue
- Reservations and push out
- Capacity
- Remove custom typing
- Dedicated capacity
- Scaling to 10 instances
- Max capacity to weight factor
- Get signature to use generic http get similar to a browser
- Expire processing header once processed
- Scaling metric
- Cpu credits to standard; lifespan constraint to kill containers every hour
- Print errors proper
- Testing
- Test
- Index
- Testing
- Test
- Spec
- Container naming
- Unit test, add nil comparison
- Port mapping requirement
- Namming
- Container
- Add dispatchers
- Dispatcher listing
- Nil error checking on TestGetDriverOrderById
- Nil error checking on TestGetDispatcherById
- Add nil error checking to TestGetGeocodingById
- Add nil error checking to TestGetDriverById and TestGetDriverByIdCached
- Copy image path in docker file
- Add has admin endpoint
- Add nil checker for TestGetDriverByUserIdCached
- Add error checking to TestGetDriverByIdCached
- Error handling bug on GetDriverById
- Cpu demand for the main container
- Add a 2 second deylay for setupAddDriver test function
- Key set
- Auto availability setting 8am - 8pm for all assigned drivers
- Dispatcher based filter added on drivers result
- Token
- Key
- Test
- Lambda build
- Slowdown store in testing environment
- Instance type used
- Return timing
- Add city to driver profile
- Issues in frontend
- Dispatcher mapping
- Dispatchers
- Routing
- Unit test TestGetAllPasswordResets conditional check issue
- Unit test TestGetCustomerAPIKeyById
- Remove TestGetAllPasswordResets and calendar tests
- Conditional issue that gets the order in 90 mins
- Add the missing functionalities
- Customer model
- Testings
- Bool fix
- Add driver name into report
- Counting
- Eta
- Cpu
- Conditional issue that gets the order in 90 mins
- Buildspec MODEL_TESTING env variable
- Update setupAddCustomer and SetupAddBill with delay timer
- Tenant calc
- Test
- Resolution
- Validate
- Tests
- Host
- Test tenant field
- Tests
- Tenant context
- Arbitrary model fetch
- Model testing
- Future results for driver availability
- Env
- Set env value
- Print all headers
- Udpate model test sleep time to 200 milliseconds
- Referrer
- Default the tenant for the time being
- Conv
- Tenant resolution
- Response
- Full entity filter prematurely returns
- Specify indexes
- Download label
- Memory reservation
- Public subnet
- Associate public ip
- Go mod
- Oltp
- Otel image version
- Tracing
- Pipeline
- Mistake of recreate
- Label download
- Import cycle and organize code
- Instrumentation for all endpoints
- Context system wide; enable lambda insights
- Remove swagger
- Run with tracing
- Go mod
- Auth middleware
- Switch to amazon linux for lambda insights
- Get the twillio config fromt the tenant
- Report sum
- Disable twilio for the time being
- Address handling
- Reports mapping
- Total sum
- Enfore fields in report sum
- Changes
- Dynamic map conditional for nested money
- Address handling
- Update user controller for roles
- Role edit
- Permissions endpoint
- Mem requirement
๐ Refactorโ
- Comment out unit tests
- Tracing implementation
- Organize middleware
๐งช Testingโ
- Create unit test for add user function
- Add unit test for GetUserById
- Add unit test for GetAllUsersFromCustomer
- Add unit testing for UpdateUserById
- Add unit testing for DeleteUser
- Add unit testing for SetForceResetPassword
- Add unit testing for updatePassword
- Add unit testing for UpdateVerificationCode
- Add unit testing for Verified
- Add unit testing for VerifyEmail
- Add unit testing for IsUniqueUsername
- Add unit testing for GetUserByUsername
- Add unit testing for GetAllUsers
- Add unit testing for HasRole
- Add unit testing for service model
- Add unit testing for territoryZone model
- Add unit testing for territory model
- Add unit testing for service pricing model
- Add unit testing for route model
- Add unit testing for role model
- Add unit testing for review model
- Add unit testing for promotion model
- Fixes on getall test cases
- Fix TestGetReviewById
- Add unit testing for permission model
- Add unit testing for permission role model
- Add unit testing for perm field model
- Add unit testing for order group model
- Add unit testing for orders update status log model
- Add unit testing for password reset model
- Add unit testing for dispatcher model
- Add unit testing for driver availability model
- Add unit testing for driver location model
- Add unit testing for driver log model
- Add unti testing for driver order model
- Add unit testing for driver paysheet model
- Add unit testing for driving zone model
- Add unit testing for driver model
- Add unit testing for customer model
- Add unit testing for geocoding model
- Add unit testing for customer api key model
- Add unit testing for customer pricing zone model
- Add unit testing for customer pricing model
- Add unit testing for customer address model
- Add unit testing for model broadcast
- Add unit testing for calendar model
- Add unit testing for bill payment model
- Add unti testing for bill model
โ๏ธ Miscellaneous Tasksโ
- Deps changes
- Comments out
โ๏ธ Revertโ
- Naming
- Generate suggestion redis
- Get route
- Credit type to standard
- Issues with static files
- Lambda insights
[3.2.0] - 2024-05-03โ
๐ Featuresโ
- Create static file path
- Keep routes same as long as no new orders appear
- Switch to magnetic standard
- Enable encryption
- Enable kms key
- Add approval stage separately
- Optimization engine sidecar added
๐ Bug Fixesโ
- Issue with the UpdateScheduleTimeBasedOnAdditionalInfo in models/order.go
- Issue with the UpdateScheduleTimeBasedOnAdditionalInfo in models/order.go
- Issue in the UpdateScheduleTimeBasedOnAdditionalInfo
- Solve issues in UpdateScheduleTimeBasedOnAdditionalInfo
- Add the missing function UpdateOrderWithBillingInfo
- The build issue
- Remove unwanted test cases
- In test cases
- In test cases
- Replace vehicle images with blue ones
- Change the image static path to absolute path
- Separated copy go.* *.go ./ in lambda
- Docker go get
- Docker file
- Docker files updated
- Migrate docker updated
- Migrate empty go added
- Bactchbuild added in makefile
- Add gsi to maps
- Table prop handling
- Table name
- Add volume to standard
- Update static path
- Issue in TestGetAllPendingOrdersOfDriver
- Error
- Remove role
- Autoscaliing role removed
- Remove source approval
- Comment out block device
- Dev capacity
- Stack
- Deployment env
- Props
- Organize props
- Route
- Route issue
- Route old item reconstruction
- Full route rerender
- Bulk routing logic
- Warehouse logic in routing
- Typo
- Cicd env
- Unnecessary prints removed
- Remove insights
- Err nil
- Proper current time
- Time calc logic
- Number logic
- Cache
- Add docker layer cache
- Fixing routing logic
- Issue with reindex
- Counting logic to dynamodb where possible
- Open status order
- Fine tuning count operations
- Route logic fixes for cancelled orders
- Route check
- Only write problem if the length is greater than 0
- Logic for empty routes
- Logic
- Logic
- Logic
- Logic
- Logic
- Logic
- Logic
- Build step
- Enable caching
- Remove docker layer
- Logging error
- Availability fix
- Pretty print
- Remove debug mode on lambdas
- Remove all fmt.println
- Tests fixed
- Sync terms
- Conn details
- Import logic query
- Fixes
- Logic
- Conditional
- Issue
- Build
- Skip proactively and error if build failing
- Look up
- Cdk stack
- Add misisng link
- Repository path
- Min reservation to 128mb for all sidecars
- Arn & name with attributes
- Changes
- Display countings page only if value is set
- Logic issue
- Logic
- Update the customer permissions for customer
๐ Refactorโ
- Switch to amazon linux
- Fix path
- Implement test coverage
- Remove unwanted code lines
- Yarn remove
- Remove unwanted code lines
- Clean up yarn
- Update mobile locust test
- Optimize build
- Fixes
- Fix golang version
- Enable go 1.22
- Add date in build
- Docker files
- Change autoscaling role
๐งช Testingโ
- Create test for router controller
- Extract the data fron the test data files
- Add new order object
- Change the test cases
- Create new order object
- Worked on the function for the "DROPOFF_WAREHOUSE" status
- Worked on the other OrderStatuses
- Create file for services
- Move the change function router_test to router
- Generate a test for change function
- Worked on the UpdateScheduleTimeBasedOnAdditionalInfo in models/order.go
- Working on order_test.go
- Write a test case for UpdateScheduleTimeBasedOnAdditionalInfo
- Add new test
- Create test for router controller
- Extract the data fron the test data files
- Add new order object
- Change the test cases
- Create new order object
- Worked on the function for the "DROPOFF_WAREHOUSE" status
- Worked on the other OrderStatuses
- Create file for services
- Move the change function router_test to router
- Generate a test for change function
- Worked on the UpdateScheduleTimeBasedOnAdditionalInfo in models/order.go
- Working on order_test.go
- Write a test case for UpdateScheduleTimeBasedOnAdditionalInfo
- Add new test
- Change the test cases based on the previous fix
- Create a test case for StripQueryString in order
- Create test case for AddOrder in order model
- Fix the issue in the TestAddOrder
- Write test case for AdditionalInfoField_Set function
- Add test case for TestAdditionalInfoField Set()
- Wip TestAdditionalInfoField_SetRaw
- Wip TestCancelOrder
- Write a test case for TestClearOrderForDriverRedis
- Changes in TestAddOrder
- Create test case for TestGetAllOrders
- Add new commands to Makefile
- Add test case for TestDeleteOrder
- Working on TestGetOrderById
- Write test case for GetOrderById
- Write test case for GetOrderByNo
- Routing
โ๏ธ Miscellaneous Tasksโ
- Fix build
- Increase timeout
[3.1.0] - 2024-01-12โ
๐ Bug Fixesโ
- Geocoding test