Releases: icoretech/airbroke
Releases · icoretech/airbroke
v1.1.38
v1.1.37
v1.1.36
1.1.36 (2023-07-15)
Features
- SparkLine.tsx: add Sparkline component to render a line chart based on provided data, to be used later (859fb84)
Bug Fixes
- airbrakeActions.ts: change revalidatePath calls to revalidateTag (71b819d)
- deps: update dependency @tailwindcss/forms to v0.5.4 (0dfd302)
- deps: update dependency ai to v2.1.20 (#123) (6efd275)
- deps: update dependency postcss to v8.4.26 (#124) (60dfa5c)
- deps: update dependency sharp to v0.32.3 (#111) (6bb08df)
- deps: update dependency tailwindcss to v3.3.3 (#125) (67569b0)
- 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) - route.ts: change the URL in the responseJSON to remove "/notices" from the URL (e9f4ec6)
v1.1.35
1.1.35 (2023-07-09)
Features
- 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 #74 (d5f7968)
- completion/route.ts: use vercel/ai instead of chatgpt, closes #101 (b7c487b)
- 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: use configurable OpenAI engine from environment variable AIRBROKE_OPENAI_ENGINE (a3a695f)
Bug Fixes
v1.1.34
v1.1.33
1.1.33 (2023-07-09)
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)
- 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)
- lib/cache.ts: add customCache function to enable caching of function results (9daf70b)
- notices.ts: add _fetchNoticeIdsByProjectId and _fetchNoticeEnvs helper functions to encapsulate database queries for fetching notice IDs and environments by project ID (334dfee)
- 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)
- 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)
Bug Fixes
- 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)
- 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 postcss to v8.4.25 (4dacb8d)
- deps: update dependency prettier to v3 (#98) (7e31a4c)
- Form.tsx: resolves warning: Cannot specify a "name" prop for a button that specifies a function as a formAction (9711a11)
- 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)
- projects/page.tsx: change import statement for prisma to use default import (0e14177)
- testSetup.ts: change import statement for prisma to use default import (0e14177)
v1.1.32
v1.1.31
v1.1.30
1.1.30 (2023-06-08)
Features
resolve buttons