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 airbroke 1.2.0 #478

Merged

Conversation

masterkain
Copy link
Member

🤖 I have created a release beep boop

1.2.0 (2024-04-30)

Features

  • .drone.jsonnet: add support for building and pushing Docker images only when on the main branch (adf3d4a)
  • .drone.jsonnet: add support for building Docker images without pushing when on any branch other than main (adf3d4a)
  • .env.dist: add AIRBROKE_CACHE environment variable to enable resource caching (experimental) (9daf70b)
  • .env.dist: update AIRBROKE_CORS_ORIGINS value to use a more generic domain name for the example browser app deployment (36b0050)
  • add @testing-library/jest-dom/extend-expect import to testSetup.ts to extend jest-dom matchers (c2a9cd6)
  • add npm-check-updates scripts to package.json to check and update dependencies (b13c66d)
  • add test_next_data volume to docker-compose.yml to persist .next folder between test runs (c2a9cd6)
  • AI.tsx: add buttons to toggle between regular and detailed completion requests (d5f7968)
  • AI.tsx: add support for 'isDetailMode' state to determine whether to include extra data in the completion request, closes Enhanced Data Sharing Settings for OpenAI Integration #74 (d5f7968)
  • ai/route.ts: add support for AIRBROKE_OPENAI_ORGANIZATION environment variable to be able to use OpenAI API with organization key (7eba281)
  • Backtrace.tsx: add plain text copy button to backtrace component (19e9746)
  • completion/route.ts: use vercel/ai instead of chatgpt, closes explore vercel/ai #101 (b7c487b)
  • DangerZone.tsx: add toggle intake component to danger zone card, closes Ability to pause data intake #52 (b28a057)
  • db.ts: add support for excluding logging when running in a testing environment by checking the value of TESTING environment variable (6123d12)
  • db.ts: refactor prisma initialization (a513e31)
  • db.ts: update PrismaClient initialization to include query logging in development environment (6e0c4d7)
  • disable caching on individual pages, make use of our customCache (2e17c20)
  • enhance transitions for mobile sidebar (85f483a)
  • Form.tsx: add button to create a project without a repository and handle form submission when no repository is provided (198cb3d)
  • lib/cache.ts: add customCache function to enable caching of function results (9daf70b)
  • migration.sql: add migration to make repo_branch field optional in projects table (c528e80)
  • next.config.js: add logging configuration based on AIRBROKE_LOG_LEVEL environment variable to enable verbose logging if set to 'verbose' (264015c)
  • not-found.tsx: add NotFound component, this might allow next.js to skip a whole renderer process at runtime, because at the moment the 404 page is recognized as a pages app (98a2a1c)
  • notices.ts: add _fetchNoticeIdsByProjectId and _fetchNoticeEnvs helper functions to encapsulate database queries for fetching notice IDs and environments by project ID (334dfee)
  • notices.ts: add support for limiting the number of notices returned by getNotices function (8d09776)
  • 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)
  • Overview.tsx: add project status to project overview (b28a057)
  • package.json: add 'npm-check-updates' as a new dev dependency to manage package updates (486043d)
  • package.json: update next.js and related packages to stable version 13.4.5 (ace107a)
  • page.tsx: mobile tabs, refs Responsive UI #24 (58fa86b)
  • page.tsx: responsive tabs in project edit, closes Responsive UI #24 (6f16168)
  • 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)
  • projects.ts: add caching to the getProjectById function (6e0c4d7)
  • projects.ts: add caching to the getProjects function (6e0c4d7)
  • projects.ts: add caching to the getProjectsGroupedByOrganization function (6e0c4d7)
  • 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)
  • queries/notices.ts: add caching to fetchNotices and fetchNoticeById functions (6e0c4d7)
  • queries/occurrenceBookmarks.ts: add caching to fetchOccurrenceBookmarks function (6e0c4d7)
  • queries/occurrences.ts: add caching to fetchOccurrences function (6e0c4d7)
  • route.ts: add support for 'sendExtraData' query parameter to include extra data in the prompt for error handling (d5f7968)
  • route.ts: truncate the prompt to fit within the OpenAI token limit of 4096 tokens (d5f7968)
  • route.ts: update default OpenAI engine model from 'gpt-4' to 'gpt-3.5-turbo' if nothing is set (07d4f9f)
  • route.ts: update OpenAI initialization to use the new OpenAI constructor and include organization parameter if available (e68163c)
  • route.ts: use configurable OpenAI engine from environment variable AIRBROKE_OPENAI_ENGINE (a3a695f)
  • schema.prisma: make repo_branch field optional (c528e80)
  • sidebar: Implement hybrid approach for "Bookmarks" link active state (70c1c62)
  • SparkLine.tsx: add Sparkline component to render a line chart based on provided data, to be used later (859fb84)
  • switch to fork of react-icons (64b8d49)
  • ToggleIntake.tsx: add toggle intake component to allow pausing and resuming of project data intake (b28a057)

Bug Fixes

  • ActionsMenu.tsx: update z-index value in ProjectActionsMenu component to prevent overlap with other elements (e4d9d5f)
  • AI.tsx: scroll textarea to bottom when completion or error changes (a3a695f)
  • airbrakeActions.ts: change import statement for revalidatePath from 'next/cache' to 'next/cache' to fix import error (71b819d)
  • airbrakeActions.ts: change revalidatePath calls to revalidateTag to fix deprecated method call and improve caching (71b819d)
  • api/ai/route.ts: change import statement for prisma to use default import (0e14177)
  • api/hc/route.ts: change import statement for prisma to use default import (0e14177)
  • api/v3/notices/route.ts: change import statement for prisma to use default import (0e14177)
  • auth.ts: update import statement for prisma from "./db" to "@/lib/db" (930dbc0)
  • Background.tsx: update fill attribute to use the simplified pattern id for better semantics (fd0e6a5)
  • Breadcrumbs.tsx: add Projects link to breadcrumbs for easier navigation (f6e6797)
  • components/OccurrenceChartWrapper.tsx: change import statement for prisma to use default import (0e14177)
  • components/project/OccurrencesChartWrapper.tsx: change import statement for prisma to use default import (0e14177)
  • db.ts: update PrismaClient initialization to conditionally log queries and warnings based on NODE_ENV environment variable (7bd6e6d)
  • deps: update dependency @headlessui/react to v1.7.16 (#160) (44d7fa7)
  • deps: update dependency @headlessui/react to v1.7.17 (51f03cc)
  • deps: update dependency @headlessui/react to v1.7.18 (7ac4966)
  • deps: update dependency @headlessui/react to v1.7.19 (d3eaab3)
  • deps: update dependency @tailwindcss/forms to v0.5.4 (0dfd302)
  • deps: update dependency @tailwindcss/forms to v0.5.5 (18ad385)
  • deps: update dependency @tailwindcss/forms to v0.5.6 (19bcae0)
  • deps: update dependency @tailwindcss/forms to v0.5.7 (a1500e0)
  • deps: update dependency ai to v2.1.18 (#115) (23af4ea)
  • deps: update dependency ai to v2.1.19 (0ba5d9d)
  • deps: update dependency ai to v2.1.20 (#123) (6efd275)
  • deps: update dependency ai to v2.1.21 (7379260)
  • deps: update dependency ai to v2.1.22 (#133) (5032204)
  • deps: update dependency ai to v2.1.25 (03692c8)
  • deps: update dependency ai to v2.1.26 (c036dd7)
  • deps: update dependency ai to v2.1.27 (#161) (3521094)
  • deps: update dependency ai to v2.1.28 (9879eea)
  • deps: update dependency ai to v2.1.29 (65d4f63)
  • deps: update dependency ai to v2.1.31 (e523954)
  • deps: update dependency ai to v2.1.32 (5efda25)
  • deps: update dependency ai to v2.1.33 (d9e258c)
  • deps: update dependency ai to v2.1.34 (b5a4cce)
  • deps: update dependency ai to v2.2.10 (a543fd9)
  • deps: update dependency ai to v2.2.11 (5bee61f)
  • deps: update dependency ai to v2.2.12 (be8fc98)
  • deps: update dependency ai to v2.2.13 (8756ab9)
  • deps: update dependency ai to v2.2.2 (#221) (ace664b)
  • deps: update dependency ai to v2.2.6 (43e5f6b)
  • deps: update dependency ai to v2.2.7 (e08b410)
  • deps: update dependency ai to v2.2.8 (db0a1f2)
  • deps: update dependency ai to v2.2.9 (dd9dca6)
  • deps: update dependency autoprefixer to v10.4.15 (13a4c76)
  • deps: update dependency autoprefixer to v10.4.16 (0beba52)
  • deps: update dependency autoprefixer to v10.4.17 (c67f870)
  • deps: update dependency autoprefixer to v10.4.18 (a7639b7)
  • deps: update dependency autoprefixer to v10.4.19 (e960e6a)
  • deps: update dependency chart.js to v4.3.1 (3f190a5)
  • deps: update dependency chart.js to v4.3.2 (#155) (79070de)
  • deps: update dependency chart.js to v4.3.3 (e52e727)
  • deps: update dependency chart.js to v4.4.0 (4f408bf)
  • deps: update dependency chart.js to v4.4.1 (8a59317)
  • deps: update dependency chart.js to v4.4.2 (8e96a9a)
  • deps: update dependency nanoid to v5 (#279) (ae5114e)
  • deps: update dependency nanoid to v5.0.2 (aa1da64)
  • deps: update dependency nanoid to v5.0.3 (cecc1f8)
  • deps: update dependency nanoid to v5.0.4 (c9e18d8)
  • deps: update dependency nanoid to v5.0.5 (1f9d184)
  • deps: update dependency nanoid to v5.0.6 (83e7642)
  • deps: update dependency nanoid to v5.0.7 (f46a2df)
  • deps: update dependency next-auth to v4.22.3 (19c8961)
  • deps: update dependency next-auth to v4.22.4 (8988322)
  • deps: update dependency next-auth to v4.22.5 (#190) (119be32)
  • deps: update dependency next-auth to v4.23.0 (97bc9a8)
  • deps: update dependency next-auth to v4.23.1 (bff1e15)
  • deps: update dependency next-auth to v4.23.2 (ad5bfc3)
  • deps: update dependency next-auth to v4.24.3 (0f13ab7)
  • deps: update dependency next-auth to v4.24.4 (4f6830c)
  • deps: update dependency next-auth to v4.24.5 (6dd9ca3)
  • deps: update dependency next-auth to v4.24.6 (4b0a13a)
  • deps: update dependency next-auth to v4.24.7 (65471a3)
  • deps: update dependency octokit to v3.1.0 (#157) (1b5d24e)
  • deps: update dependency octokit to v3.1.1 (c648309)
  • deps: update dependency octokit to v3.1.2 (9b6d9a6)
  • deps: update dependency octokit to v3.2.0 (089ffea)
  • deps: update dependency openai-edge to v1.2.1 (#140) (919bc7a)
  • deps: update dependency openai-edge to v1.2.2 (#150) (9b4bca3)
  • deps: update dependency postcss to v8.4.25 (4dacb8d)
  • deps: update dependency postcss to v8.4.26 (#124) (60dfa5c)
  • deps: update dependency postcss to v8.4.28 (#216) (659e306)
  • deps: update dependency postcss to v8.4.29 (eb86262)
  • deps: update dependency postcss to v8.4.30 (3000ca3)
  • deps: update dependency postcss to v8.4.31 (c1a9676)
  • deps: update dependency postcss to v8.4.32 (0b824f3)
  • deps: update dependency postcss to v8.4.33 (2094c3a)
  • deps: update dependency postcss to v8.4.34 (ccbe08a)
  • deps: update dependency postcss to v8.4.35 (03a29ef)
  • deps: update dependency postcss to v8.4.38 (adbd1a7)
  • deps: update dependency prettier to v3 (#98) (7e31a4c)
  • deps: update dependency react-icons-ng to v4.9.1 (bbf05e6)
  • deps: update dependency sharp to v0.32.3 (#111) (6bb08df)
  • deps: update dependency sharp to v0.32.5 (#217) (8bf2a49)
  • deps: update dependency sharp to v0.32.6 (ffe1803)
  • deps: update dependency sharp to v0.33.0 (7c4118e)
  • deps: update dependency sharp to v0.33.2 (6b44cfd)
  • deps: update dependency sharp to v0.33.3 (e19c480)
  • deps: update dependency superjson to v1.13.1 (#132) (a823e8a)
  • deps: update dependency superjson to v1.13.3 (2678fbc)
  • deps: update dependency superjson to v2 (#331) (e0f7409)
  • deps: update dependency tailwindcss to v3.3.3 (#125) (67569b0)
  • deps: update dependency tailwindcss to v3.3.4 (d38d4d3)
  • deps: update dependency tailwindcss to v3.3.5 (0904573)
  • deps: update dependency tailwindcss to v3.3.6 (600d060)
  • deps: update dependency tailwindcss to v3.4.1 (e2bca53)
  • deps: update dependency tailwindcss to v3.4.3 (1fd9170)
  • deps: update dependency typescript to v5.2.2 (ec98439)
  • deps: update dependency typescript to v5.3.2 (62e46a9)
  • deps: update dependency typescript to v5.3.3 (bdc7258)
  • deps: update dependency typescript to v5.4.2 (c5af73d)
  • deps: update dependency typescript to v5.4.4 (c0da804)
  • deps: update dependency typescript to v5.4.5 (55df06a)
  • deps: update dependency zod to v3.22.0 (3a8781a)
  • deps: update dependency zod to v3.22.1 (#218) (5ddc22b)
  • deps: update dependency zod to v3.22.2 (#229) (a043ea9)
  • deps: update dependency zod to v3.22.3 (99d1f11)
  • deps: update dependency zod to v3.22.4 (09ab904)
  • deps: update dependency zod to v3.22.5 (3f8b765)
  • deps: update dependency zod-form-data to v2.0.2 (9a59acf)
  • deps: update prisma monorepo to v5.1.0 (adb80ab)
  • deps: update prisma monorepo to v5.1.1 (7e834ce)
  • deps: update prisma monorepo to v5.10.2 (b993453)
  • deps: update prisma monorepo to v5.11.0 (3acb986)
  • deps: update prisma monorepo to v5.12.1 (56bf49e)
  • deps: update prisma monorepo to v5.13.0 (dfba5ae)
  • deps: update prisma monorepo to v5.2.0 (7a3d33d)
  • deps: update prisma monorepo to v5.3.0 (f039779)
  • deps: update prisma monorepo to v5.3.1 (7f38fd1)
  • deps: update prisma monorepo to v5.4.1 (259f1e5)
  • deps: update prisma monorepo to v5.4.2 (4830b79)
  • deps: update prisma monorepo to v5.5.0 (d5918d2)
  • deps: update prisma monorepo to v5.5.2 (11596a6)
  • deps: update prisma monorepo to v5.6.0 (def53fc)
  • deps: update prisma monorepo to v5.8.1 (0db36cd)
  • deps: update prisma monorepo to v5.9.0 (60ea80e)
  • deps: update prisma monorepo to v5.9.1 (dbab0ec)
  • Dockerfile: update COPY commands to use --link flag (00f957c)
  • Filter.tsx: update z-index value in Filter component to prevent overlap with other elements (1cb0fd9)
  • Form.tsx: change import statement for useRouter from 'next/navigation' to 'next/router' to fix import error (71b819d)
  • Form.tsx: change import statement for useTransition from 'react' to 'react' to fix import error (71b819d)
  • Form.tsx: resolves warning: Cannot specify a "name" prop for a button that specifies a function as a formAction (9711a11)
  • hide open sidebar button when not necessary (64b8d49)
  • increase max_connections to 23 in db service command in docker-compose.yml to avoid connection errors (c2a9cd6)
  • lib/actions/occurrenceActions.ts: change import statement for prisma to use default import (0e14177)
  • lib/actions/projectActions.ts: change import statement for prisma to use default import (0e14177)
  • lib/processError.ts: change import statement for prisma to use default import (0e14177)
  • lib/queries/notices.ts: change import statement for prisma to use default import (0e14177)
  • lib/queries/occurrenceBookmarks.ts: change import statement for prisma to use default import (0e14177)
  • lib/queries/occurrences.ts: change import statement for prisma to use default import (0e14177)
  • lib/queries/projects.ts: change import statement for prisma to use default import (0e14177)
  • middleware.ts: update the matcher regular expression to exclude the _vercel directory from being matched (e8cbcaa)
  • OccurrenceChartWrapper.tsx: update the OccurrencesChartWrapper components to generate a complete list of hourly intervals for the past 14 days and fill in the occurrence counts. If there were no occurrences for a certain hour, it now displays zero on the chart, rather than skipping that hour (0b42ae2)
  • occurrences.ts: unlimited data can crash prisma, default to 100 for now (9d25777)
  • package.json: update ai package version to 2.2.1 for compatibility and bug fixes (e68163c)
  • page.tsx: reorganize JSX structure for better readability and maintainability (f6e6797)
  • 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)
  • projects/page.tsx: change import statement for prisma to use default import (0e14177)
  • route.ts: change the URL in the responseJSON to remove "/notices" from the URL (e9f4ec6)
  • route.ts: include CORS headers in error responses to allow cross-origin requests (08f997d)
  • route.ts: include CORS headers in successful responses to allow cross-origin requests (08f997d)
  • route.ts: remove unused code related to notice data (a3a695f)
  • route.ts: simplify error response message when user is not logged in (a3a695f)
  • route.ts: update import statement for OpenAI library to use the correct package name (e68163c)
  • route.ts: update method name for creating chat completions from createChatCompletion to chat.completions.create (e68163c)
  • SidebarButtons.tsx: update styling and icon for SidebarOpenButton (f6e6797)
  • SidebarMobile.tsx: use tailwind class (d9df921)
  • testSetup.ts: change import statement for prisma to use default import (0e14177)

This PR was generated with Release Please. See documentation.

@masterkain masterkain merged commit 92b7f2d into main Apr 30, 2024
@masterkain masterkain deleted the release-please--branches--main--components--airbroke branch April 30, 2024 00:41
@masterkain
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant