Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(main): release 1.0.0 #72

Closed

Conversation

masterkain
Copy link
Member

🤖 I have created a release beep boop

1.0.0 (2023-06-08)

Features

  • .drone.jsonnet: add trigger configuration to only run pipeline on edge branch (0320927)
  • ActionsMenu.tsx: add ProjectActionsMenu component to display project actions menu with links to project overview and API key configuration pages (f17e9ab)
  • add @testing-library/jest-dom/extend-expect import to testSetup.ts to extend jest-dom matchers (c2a9cd6)
  • add authentication! (64e76bf)
  • add bookmarks table to allow users to bookmark occurrences (f17e9ab)
  • add DangerZone component to Overview page to handle project deletion and notice deletion (2680907)
  • add getHourlyOccurrenceRateForLast14Days function to calculate hourly occurrence rate for last 14 days (821c96b)
  • add getProjectById query function to fetch a single project by ID (78adf7a)
  • add icons to project edit page tabs to improve UX and make it easier to identify each tab (78adf7a)
  • add logo to NextAuth theme options to display custom logo on login page (fc1987a)
  • add npm-check-updates scripts to package.json to check and update dependencies (b13c66d)
  • add Render YAML configuration file to deploy airbroke app on Render platform with a free web service and a free database service (14ccad6)
  • add revalidate constant to pages and components to improve Next.js ISR performance (b0d1b5a)
  • add selectedProject prop to SidebarDesktop component in multiple pages to display the selected project's information in the sidebar (03bff56)
  • add SidebarOpenButton and SidebarCloseButton components to enable opening and closing the sidebar on mobile devices (fc1987a)
  • add support for displaying hourly occurrence rate in Overview component (821c96b)
  • add support for pausing and resuming projects, refs Ability to pause data intake #52 (2680907)
  • add support for sending test exceptions to Airbrake JS and Airbrake Node (78adf7a)
  • add test_next_data volume to docker-compose.yml to persist .next folder between test runs (c2a9cd6)
  • add user, account, session, and verification token tables to support authentication and authorization (f17e9ab)
  • ai/route.ts: add support for AIRBROKE_OPENAI_ORGANIZATION environment variable to be able to use OpenAI API with organization key (7eba281)
  • ai/route.ts: add support for closing the writer when no more data is expected to be received (3b93d23)
  • api, factories, app: update table names to plural form to follow convention and improve semantics. Add a new page for displaying a notice's occurrences. (f17e9ab)
  • app/_actions.ts: add sendAirbrakeNodeException function to send test exception to Airbrake using Node.js (8aa0ccd)
  • app/_actions.ts: parse repository URL using parseGitURL function and use parsed data to create project (9f8abc5)
  • app/projects/[project_id]/page.tsx: display repository provider on project page (9f8abc5)
  • auth.ts: add authentication providers and callbacks (64e76bf)
  • auth.ts: add support for AIRBROKE_AZURE_AD_CLIENT_ID and AIRBROKE_AZURE_AD_CLIENT_SECRET environment variables to configure Azure AD client ID and secret respectively (97e5acf)
  • auth.ts: add support for AIRBROKE_AZURE_AD_TENANT_ID environment variable to configure Azure AD tenant ID (97e5acf)
  • auth.ts: add support for AIRBROKE_COGNITO_ISSUER environment variable to configure Cognito issuer (97e5acf)
  • auth.ts: add support for AIRBROKE_GITHUB_ORGS environment variable to restrict access to specific organization(s) in Github (97e5acf)
  • auth.ts: add support for AIRBROKE_KEYCLOAK_ISSUER environment variable to configure Keycloak issuer (97e5acf)
  • BackgroundNogrid.tsx: add new component for background with no grid pattern and gradient background (2fecefa)
  • Backtrace.tsx: add plain text copy button to backtrace component (19e9746)
  • bookmark button: add bookmark button component to allow users to bookmark or remove bookmark from an occurrence (e5b8f61)
  • bookmarks, notices, sidebar: add bookmarks page to sidebar, add search functionality to bookmarks and notices pages, refactor OccurrencesTable to receive occurrencesIds instead of occurrences, add id to jwt token to persist user id across sessions, add types to next-auth session to include user id, add next-auth.d.ts to include types, update tsconfig.json to include next-auth.d.ts file. (dadc61b)
  • bookmarks: replace OccurrencesTable with BookmarksTable component to display bookmarks and improve search functionality (7b869f8)
  • build.yml: add support for latest tag to be enabled only on main branch builds (784fde5)
  • build.yml: set latest tag for all images (6a2534d)
  • CodeTemplate.tsx: add copy to clipboard functionality to code snippets to improve user experience (9476f27)
  • CodeTemplate.tsx: add name prop to CodeTemplate component to display language name (2f43399)
  • components/NoData.tsx: add button to send test exception to Airbrake using Node.js (8aa0ccd)
  • ConfirmationDialog.tsx: add support for deleting all errors associated with a project (b0d1b5a)
  • Context.tsx: add horizontal scrolling to occurrence context display to improve usability when displaying large objects (937b03a)
  • DangerZone.tsx: add toggle intake component to danger zone card, closes Ability to pause data intake #52 (b28a057)
  • Filter.tsx: add filter component to allow filtering notices by environment (ff818ac)
  • Form.tsx: add button to create a project without a repository and handle form submission when no repository is provided (198cb3d)
  • Form.tsx: add support for repository URL input field to create a project with a specific repository (9f8abc5)
  • generate-release.yml: add versioning-strategy field to always bump patch version on release generation (4a4e948)
  • gitProvider.ts: add support for more Git repository providers and refactor composeFileUrl function to use the new fields in the Project model (9029584)
  • gitProvider.ts: remove ProviderName type and add composeRepoUrl function to generate repo url (9f8abc5)
  • Gravatar.tsx: add Gravatar component to display user avatar based on email address (26c72fb)
  • HomeButton.tsx: add LoginButton and LogoutButton components (64e76bf)
  • layout.tsx, page.tsx, occurrences/page.tsx, notices/page.tsx, projects/[project_id]/page.tsx: wrap main content with SidebarProvider component to provide sidebar state to children components (fc1987a)
  • middleware.ts: add middleware to protect all routes except for API and static files (64e76bf)
  • migration.sql: add migration to make repo_branch field optional in projects table (c528e80)
  • migration.sql: add triggers and functions to increment/decrement project notices count and update hourly occurrences count on occurrence creation and deletion (a9bd229)
  • migration.sql: refactor database schema to improve performance and add new features, including new tables for accounts, sessions, users, and occurrence bookmarks. Copy data from old tables to new ones. Add foreign key constraints and create new indexes. Drop old tables. (f17e9ab)
  • next.config.js: add @airbrake/node to serverComponentsExternalPackages in experimental configuration (8aa0ccd)
  • next.config.js: add external packages to serverComponentsExternalPackages option in experimental config (64e76bf)
  • next.config.js: add old routes for occurrences and notices (844729c)
  • next.config.js: add remotePatterns to images configuration to allow loading images from external sources (26c72fb)
  • next.config.js: add support for imgur.com domain in images configuration to allow image loading from imgur.com domain (151290a)
  • next.config.js: enable typedRoutes experimental feature (f17e9ab)
  • NoData.tsx: add optional showHeader prop to conditionally render header in NoData component (8216b8d)
  • NoData.tsx: add support for sending test exception to Airbrake to verify integration (9e7b49d)
  • notices.ts: add getNoticeEnvs function to retrieve unique envs for a given project ID (4535dfa)
  • notices: add new route for creating notices and refactor existing routes to use it (e05bd1b)
  • notices: experimental revalidation of project path after creating a new notice (c05c6d0)
  • occurrence actions: add functions to create and remove occurrence bookmarks and revalidate bookmarks page after bookmarking or removing bookmark from an occurrence (e5b8f61)
  • occurrence page: add bookmark button to occurrence page to allow users to bookmark occurrences, closes Feat: bookmarks #36 (e5b8f61)
  • occurrence page: replace prisma query with getOccurrenceById function in occurrence page and related components to improve code semantics and readability (3fbd15c)
  • occurrence/[occurrence_id]/page.tsx: add generateMetadata function to set the page title to the occurrence message (e42676e)
  • occurrence/[occurrence_id]/page.tsx: add Occurrence page component with tabs to display occurrence details and related data (f17e9ab)
  • occurrenceActions.ts: add performReplay function to replay HTTP requests (a460c94)
  • occurrenceActions.ts: add revalidation of occurrence path when creating or removing a bookmark to keep data up to date (bc0739a)
  • occurrence: add occurrenceUtils module with flattenObject function to flatten nested objects into an array of key-value pairs (119d983)
  • occurrence: add resolve button to occurrence page and table to allow users to mark an occurrence as resolved or reinstate it, refs "Resolve" buttons #33 (b6ce009)
  • occurrence: add resolved_at field to occurrence model to track when an occurrence was resolved (b6ce009)
  • occurrenceBookmarks.ts: add checkOccurrenceBookmarkExistence function to check if a bookmark exists for a given user and occurrence ID (e5b8f61)
  • occurrenceBookmarks: add function to fetch occurrence bookmarks based on provided search parameters (7b869f8)
  • OccurrenceChart.tsx: add custom colors to chart bars and labels (0112e7c)
  • OccurrenceChart.tsx: add custom grid and label colors to chart scales (0112e7c)
  • OccurrenceChart.tsx: add custom tooltip styles to chart (0112e7c)
  • OccurrenceChart.tsx: add hover colors to chart bars (0112e7c)
  • OccurrenceChart.tsx: convert data to Chart.js format and add options (dc100ec)
  • OccurrenceChart.tsx: remove chart legend (0112e7c)
  • OccurrenceChartWrapper.tsx: add margin bottom to chart title for better spacing (0112e7c)
  • OccurrenceChartWrapper: add charts (56e6c60)
  • occurrences.ts: add cached function to fetch a single occurrence by ID (78adf7a)
  • occurrences.ts: add function to fetch occurrences based on provided search parameters (78adf7a)
  • OccurrencesChartWrapper.tsx: create new component to display hourly occurrence chart for a list of occurrence ids (b0d1b5a)
  • Overview.tsx: add chart section to display hourly occurrences in the past 14 days (b0d1b5a)
  • Overview.tsx: add confirmation dialogs to delete project and delete all errors for a project (f17e9ab)
  • Overview.tsx: add new section for repository information and display relevant project information in the component (2f43399)
  • Overview.tsx: add project status to project overview (b28a057)
  • Overview.tsx: add statistics section to display project statistics (b0d1b5a)
  • Overview.tsx: add Test Zone section to Overview component and use NoData component to display message when no exceptions are recorded (8216b8d)
  • package.json: add @airbrake/node dependency to the project (8aa0ccd)
  • package.json: add @next-auth/prisma-adapter dependency (f17e9ab)
  • package.json: add server-only package to be able to use server-only imports in client code (26c72fb)
  • package.json: update next-auth and octokit dependencies to latest versions to improve security and functionality (64e76bf)
  • page.tsx, Backtrace.tsx, ClipboardButton.tsx: add CustomTimeAgo component to display occurrence creation and update time, add ClipboardButton component to copy occurrence backtrace to clipboard (4eaf18a)
  • page.tsx: add authentication check to HomePage component (64e76bf)
  • page.tsx: add Filter component to page and pass unique environment array to it, update NoticesTable component to receive searchParams object instead of individual props (ff818ac)
  • page.tsx: add first seen and last seen timestamps to occurrence page to provide more information to users (2b65784)
  • page.tsx: add occurrence seen count to the occurrence header to provide more information about the occurrence (5a07370)
  • page.tsx: add select clause to occurrence query to only retrieve the id field (1acb18f)
  • page.tsx: add sticky header to ProjectHeader component to improve user experience (06cfd70)
  • page.tsx: add support for rendering environment, session and params tabs only if occurrence has respective properties (c0322ed)
  • page.tsx: add support for search query parameter to filter projects by name (f17e9ab)
  • page.tsx: add tab navigation to occurrence page for easier access to different occurrence details (69b52e0)
  • page.tsx: mobile tabs, refs Responsive UI #24 (58fa86b)
  • page.tsx: remove occurrence page component as it is no longer used in the application (f17e9ab)
  • page.tsx: replace logo.png with logo.svg to improve page loading performance and add support for svg images (26c72fb)
  • page.tsx: responsive tabs in project edit, closes Responsive UI #24 (6f16168)
  • parseGitUrl.ts: add parseGitURL function to parse git repository urls (9f8abc5)
  • prisma/migrations: make several columns on occurrence table required by removing NOT NULL constraint (f17e9ab)
  • prisma/seed.ts: use generateUniqueProjectKey function to generate project key instead of randomBytes (9f8abc5)
  • projectActions.ts: add functionality to create a project without a repository when no data is provided (198cb3d)
  • project: add Edit component to allow users to edit project information, closes Roadmap: project management #14 (c528e80)
  • project: add Overview component to display project overview information (46a30c1)
  • project: add repo_url field to project model (9f8abc5)
  • projects.ts: add updateProject function to update project data with form data (c528e80)
  • projects.ts: add zod, zod-error, and zod-form-data dependencies to validate form data (c528e80)
  • ProjectsTable.tsx: add hover effect to project list items to improve user experience (4836b38)
  • ProviderIcon.tsx: add new icons for GitKraken, Gitea, Gogs, and Gitter (2f43399)
  • public: add company logo in SVG format to the public directory of the project (26c72fb)
  • public: add demo gif to be used in the README file (9b43dd7)
  • queries/notices.ts: add function to get all notice IDs for a given projectId (b0d1b5a)
  • queries/projects.ts: add getProjects function to fetch projects from the database based on optional search term, refs Dynamic page titles are not working on navigation #41 (65aa1db)
  • queries/projects.ts: add getProjectsGroupedByOrganization function to fetch projects grouped by organization from the database (65aa1db)
  • README.md: add occurrence charts to the list of features (1e57e84)
  • README.md: add OpenNext section to explain how to deploy on AWS using Serverless Framework plugin (8aa0ccd)
  • README.md: replace old logo with new logo and update title to reflect the change (83e2437)
  • render.yaml: add environment variables for NextAuth.js configuration (d17e4a0)
  • Replay.tsx: display response body in case of non-OK HTTP status code, and display a message for OK responses (955c1b7)
  • route.ts: add authentication middleware to auth route (64e76bf)
  • route.ts: add check for paused project, refs Ability to pause data intake #52 (04de396)
  • schema.prisma: make repo_branch field optional (c528e80)
  • SessionButtons.tsx: add LoginButton and LogoutButton components to handle user authentication (26c72fb)
  • SidebarButtons.tsx: create SidebarOpenButton component to render a button to open the sidebar on mobile devices (fc1987a)
  • SidebarDesktop.tsx: add Gravatar component to display user avatar in the LogoutButton component and remove HomeButton component (26c72fb)
  • SidebarDesktop.tsx: add LogoutButton component to user profile section (64e76bf)
  • SidebarDesktop.tsx: add TbClockPause icon to show when a project is paused in the sidebar, refs Ability to pause data intake #52 (d71c7ad)
  • SidebarDesktop.tsx: pass repo_provider prop to ProviderIcon component to display correct icon (9f8abc5)
  • SidebarDesktop.tsx: replace TbBrandGithub with ProviderIcon component to support multiple repo providers (9f8abc5)
  • SidebarMobile.tsx, SidebarDesktop.tsx: create SidebarMobile and SidebarDesktop components to render sidebar content based on screen size (fc1987a)
  • SidebarProvider.tsx: create SidebarProvider component to manage sidebar state and provide it to children components (fc1987a)
  • Sort.tsx, page.tsx: add sorting functionality to the project notices page and refactor the page to use tabs for better navigation and organization (f17e9ab)
  • Sort.tsx: remove unused SortDirection import and update toggleSort function to use searchParams object (ff818ac)
  • tailwind.config.ts: add airbroke color palette to the theme configuration (97e5acf)
  • ToggleIntake.tsx: add toggle intake component to allow pausing and resuming of project data intake (b28a057)
  • Toolbox.tsx, Curl.tsx, curl.png: add cURL command generator to Toolbox component (ae4f75d)

Bug Fixes

  • _actions.ts: catch errors thrown by revalidatePath calls to prevent app from crashing (d67c7e0)
  • .env.dist: change COGNITO_ISSUER variable name to AIRBROKE_COGNITO_ISSUER to match the naming convention of other variables (0215ac1)
  • add invalidateProjectsCache, invalidateProjectCache and invalidateAllProjectCache functions to invalidate cache when a project is deleted or paused (2680907)
  • add paused column to projects table in migration file (2680907)
  • add paused field to Project model in Prisma schema (2680907)
  • add type import for SortAttribute and SortDirection in project page component to avoid type errors (78adf7a)
  • adjust font color of title in Danger Zone section in Overview component (821c96b)
  • adjust font color of title in Hourly Occurrences section in Overview component (821c96b)
  • adjust unit of occurrence count in Overview component to be more accurate (821c96b)
  • adjust wording of ConfirmationDialog component in Overview component to be more accurate (821c96b)
  • adjust wording of Danger Zone section in Overview component to be more accurate (821c96b)
  • adjust wording of NoData component in Overview component to be more accurate (821c96b)
  • adjust wording of occurrence rate in Overview component to be more accurate (821c96b)
  • adjust wording of Repository Information section in Overview component to be more accurate (821c96b)
  • adjust wording of Test Zone section in Overview component to be more accurate (821c96b)
  • AI.tsx: add console.log to log errors that occur when connection is closed due to an error (9e7b49d)
  • airbrakeActions.ts: change projectId parameter type from bigint to string to match the type in the database (f17e9ab)
  • ai: replace escaped newlines with actual newlines in the client-side event listener to display the data correctly (53d9f09)
  • app/_actions.ts: import Notifier from @airbrake/node to use it in sendAirbrakeNodeException function (8aa0ccd)
  • app/_actions.ts: validate project name against new regex that allows dashes, underscores, and periods (9f8abc5)
  • auth.ts: remove unused parameters from signIn callback function (a6210ca)
  • BacktraceLine.tsx: handle case where fileUrl is null or undefined by rendering a span instead of a link (3ddbef7)
  • bookmarks: change revalidate time to 0 to always fetch latest bookmarks (7b869f8)
  • change error message in Airbrake JS test exception to match convention (78adf7a)
  • change handleDeleteProjectConfirm and handleDeleteProjectNoticesConfirm to not receive projectId as parameter (2680907)
  • change project prop to projectId in ConfirmationDialog component (2680907)
  • components/BookmarksTable.tsx: fix occurrence link href to use occurrence_id instead of occurrence.id (e42676e)
  • ConfirmationDialog: increase z-index to prevent overlapping with other elements (46a30c1)
  • Context.tsx: add missing space between flex-shrink-0 and font-semibold classes in div element (3a03939)
  • docker-compose.yml: reduce connection limit to 8 for development database to avoid overloading the database server (f17e9ab)
  • generate-release.yml: uncomment changelog-notes-type to enable release notes to be generated from Github (2ec90e6)
  • gitProvider.ts: return empty string instead of '#' when url is not defined in default case of switch statement (3ddbef7)
  • increase max_connections to 23 in db service command in docker-compose.yml to avoid connection errors (c2a9cd6)
  • lib/actions/occurrenceActions.ts: add error handling for session not found when creating or removing occurrence bookmarks (e42676e)
  • middleware.ts: exclude /icon route from SSR to avoid conflicts with favicon route (0167cfb)
  • NoData.tsx: remove unused state and useEffect, create new Notifier instance inside sendTestException function (9e7b49d)
  • NoData.tsx: rename Notifier import to AirbrakeJsNotifier to avoid naming conflicts with sendAirbrakeNodeException function (d67c7e0)
  • OccurrenceChartWrapper.tsx: change occurrenceId type from bigint to string to match the type of the id in the database (400fca7)
  • occurrenceUtils.ts: flattenObject function now returns single string values in arrays as is to improve readability of occurrence data (46e7596)
  • page.tsx: remove unused project_id parameter from Notice component (a693802)
  • page.tsx: replace throwing error with redirect to /projects when project is not found (dd8dc1d)
  • processError: auto reinstate an occurrence when it is processed again (b6ce009)
  • project: display 'Not set' for repository URL and main branch if they are not set (c528e80)
  • remove unused import in airbrakeActions (78adf7a)
  • route.ts: add authentication check to GET method (64e76bf)
  • route.ts: add console.error to log errors that occur while processing response (9e7b49d)
  • route.ts: handle error and close writer in finally block to ensure proper cleanup (9ca0ca9)
  • SidebarDesktop.tsx: update link href to use a relative path instead of an absolute path (0167cfb)
  • toggleProjectPausedStatus function to toggle paused status of a project (2680907)
  • update logo URL in NextAuth theme options to point to the correct image location (fc1987a)
  • update revalidatePath calls to point to project page instead of notices page to avoid 404 errors (d13bf38)

This PR was generated with Release Please. See documentation.

@masterkain masterkain force-pushed the release-please--branches--main--components--airbroke branch from 6a1dcd1 to d743180 Compare June 8, 2023 18:52
@masterkain masterkain closed this Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ability to pause data intake Feat: bookmarks Responsive UI Roadmap: project management
1 participant