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

backport v0.84.0 #1357

Merged
merged 1 commit into from
Apr 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -4,8 +4,28 @@ All notable changes to this project will be documented in this file. Dates are d

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### [v0.84.0](https://github.com/isomerpages/isomercms-backend/compare/v0.83.0...v0.84.0)

- fix(sitelaunch): do not throw for no dig results [`#1355`](https://github.com/isomerpages/isomercms-backend/pull/1355)
- fix: upgrade axios from 1.6.7 to 1.6.8 [`#1354`](https://github.com/isomerpages/isomercms-backend/pull/1354)
- fix: upgrade @aws-sdk/client-dynamodb from 3.540.0 to 3.549.0 [`#1352`](https://github.com/isomerpages/isomercms-backend/pull/1352)
- fix: upgrade simple-git from 3.22.0 to 3.24.0 [`#1349`](https://github.com/isomerpages/isomercms-backend/pull/1349)
- fix: upgrade yaml from 2.3.4 to 2.4.1 [`#1346`](https://github.com/isomerpages/isomercms-backend/pull/1346)
- fix: upgrade pg from 8.11.3 to 8.11.5 [`#1348`](https://github.com/isomerpages/isomercms-backend/pull/1348)
- fix: upgrade glob from 10.3.10 to 10.3.12 [`#1345`](https://github.com/isomerpages/isomercms-backend/pull/1345)
- fix: upgrade @aws-sdk/client-secrets-manager from 3.540.0 to 3.549.0 [`#1344`](https://github.com/isomerpages/isomercms-backend/pull/1344)
- fix: upgrade joi from 17.12.0 to 17.12.3 [`#1342`](https://github.com/isomerpages/isomercms-backend/pull/1342)
- fix: upgrade winston from 3.11.0 to 3.13.0 [`#1343`](https://github.com/isomerpages/isomercms-backend/pull/1343)
- fix: upgrade umzug from 3.5.1 to 3.8.0 [`#1340`](https://github.com/isomerpages/isomercms-backend/pull/1340)
- fix: upgrade reflect-metadata from 0.1.14 to 0.2.2 [`#1339`](https://github.com/isomerpages/isomercms-backend/pull/1339)
- fix: upgrade @aws-sdk/lib-dynamodb from 3.535.0 to 3.549.0 [`#1341`](https://github.com/isomerpages/isomercms-backend/pull/1341)
- fix: upgrade aws-sdk from 2.1586.0 to 2.1594.0 [`#1338`](https://github.com/isomerpages/isomercms-backend/pull/1338)
- backport v0.83.0 [`#1336`](https://github.com/isomerpages/isomercms-backend/pull/1336)

#### [v0.83.0](https://github.com/isomerpages/isomercms-backend/compare/v0.82.0...v0.83.0)

> 26 April 2024
- ISOM-1006: Optimize verifySiteMember() [`#1332`](https://github.com/isomerpages/isomercms-backend/pull/1332)
- fix(dep): remove redundant deps [`#1333`](https://github.com/isomerpages/isomercms-backend/pull/1333)
- chore(growthbook): handle refreshes at module level [`#1228`](https://github.com/isomerpages/isomercms-backend/pull/1228)
@@ -16,6 +36,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
- fix(snyk): update title [`#1331`](https://github.com/isomerpages/isomercms-backend/pull/1331)
- Safer pagination and refresh for site cache [`#1239`](https://github.com/isomerpages/isomercms-backend/pull/1239)
- backport v0.82.0 [`#1330`](https://github.com/isomerpages/isomercms-backend/pull/1330)
- chore: bump version to v0.83.0 [`550386a`](https://github.com/isomerpages/isomercms-backend/commit/550386aa9329244c8cc73bafd57e02a4c99a653e)

#### [v0.82.0](https://github.com/isomerpages/isomercms-backend/compare/v0.81.1...v0.82.0)

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "isomercms",
"version": "0.83.0",
"version": "0.84.0",
"private": true,
"scripts": {
"build": "tsc -p tsconfig.build.json",

Unchanged files with check annotations Beta

convict.addFormat({
name: "required-string",
validate: (val: any) => {

Check warning on line 5 in src/config/config.ts

GitHub Actions / lint

Unexpected any. Specify a different type

Check warning on line 5 in src/config/config.ts

GitHub Actions / lint

Unexpected any. Specify a different type

Check warning on line 5 in src/config/config.ts

GitHub Actions / lint

Unexpected any. Specify a different type

Check warning on line 5 in src/config/config.ts

GitHub Actions / lint

Unexpected any. Specify a different type

Check warning on line 5 in src/config/config.ts

GitHub Actions / lint

Unexpected any. Specify a different type
if (!val) throw new Error("value cannot be empty, null or undefined")
if (typeof val !== "string") throw new Error("value must be a string")
},
convict.addFormat({
name: "required-positive-number",
validate: (val: any) => {

Check warning on line 13 in src/config/config.ts

GitHub Actions / lint

Unexpected any. Specify a different type

Check warning on line 13 in src/config/config.ts

GitHub Actions / lint

Unexpected any. Specify a different type

Check warning on line 13 in src/config/config.ts

GitHub Actions / lint

Unexpected any. Specify a different type

Check warning on line 13 in src/config/config.ts

GitHub Actions / lint

Unexpected any. Specify a different type

Check warning on line 13 in src/config/config.ts

GitHub Actions / lint

Unexpected any. Specify a different type
if (val === null || val === undefined || val === "")
throw new Error("value cannot be empty, null or undefined")
if (typeof val !== "number") throw new Error("value must be a number")
},
coerce: (val: string) => {
const coercedVal = Number(val)
if (isNaN(coercedVal)) {

Check warning on line 20 in src/config/config.ts

GitHub Actions / lint

Unexpected use of 'isNaN'. Use Number.isNaN instead https://github.com/airbnb/javascript#standard-library--isnan

Check warning on line 20 in src/config/config.ts

GitHub Actions / lint

Unexpected use of 'isNaN'. Use Number.isNaN instead https://github.com/airbnb/javascript#standard-library--isnan

Check warning on line 20 in src/config/config.ts

GitHub Actions / lint

Unexpected use of 'isNaN'. Use Number.isNaN instead https://github.com/airbnb/javascript#standard-library--isnan

Check warning on line 20 in src/config/config.ts

GitHub Actions / lint

Unexpected use of 'isNaN'. Use Number.isNaN instead https://github.com/airbnb/javascript#standard-library--isnan

Check warning on line 20 in src/config/config.ts

GitHub Actions / lint

Unexpected use of 'isNaN'. Use Number.isNaN instead https://github.com/airbnb/javascript#standard-library--isnan
throw new Error(
"value provided is not a positive number. please provide a valid positive number"
)
convict.addFormat({
name: "required-boolean",
validate: (val: any) => {

Check warning on line 34 in src/config/config.ts

GitHub Actions / lint

Unexpected any. Specify a different type

Check warning on line 34 in src/config/config.ts

GitHub Actions / lint

Unexpected any. Specify a different type

Check warning on line 34 in src/config/config.ts

GitHub Actions / lint

Unexpected any. Specify a different type

Check warning on line 34 in src/config/config.ts

GitHub Actions / lint

Unexpected any. Specify a different type

Check warning on line 34 in src/config/config.ts

GitHub Actions / lint

Unexpected any. Specify a different type
if (val === null || val === undefined)
throw new Error("value cannot be empty, null or undefined")
if (typeof val !== "boolean") throw new Error("value must be a boolean")
import { config } from "@config/config"
export enum JobStatus {

Check warning on line 5 in src/constants/constants.ts

GitHub Actions / lint

'JobStatus' is already declared in the upper scope on line 5 column 13

Check warning on line 5 in src/constants/constants.ts

GitHub Actions / lint

'JobStatus' is already declared in the upper scope on line 5 column 13

Check warning on line 5 in src/constants/constants.ts

GitHub Actions / lint

'JobStatus' is already declared in the upper scope on line 5 column 13

Check warning on line 5 in src/constants/constants.ts

GitHub Actions / lint

'JobStatus' is already declared in the upper scope on line 5 column 13

Check warning on line 5 in src/constants/constants.ts

GitHub Actions / lint

'JobStatus' is already declared in the upper scope on line 5 column 13
Ready = "READY", // Ready to run jobs
Running = "RUNNING", // A job is running
Failed = "FAILED", // A job has failed and recovery is needed
}
export enum SiteStatus {

Check warning on line 11 in src/constants/constants.ts

GitHub Actions / lint

'SiteStatus' is already declared in the upper scope on line 11 column 13

Check warning on line 11 in src/constants/constants.ts

GitHub Actions / lint

'SiteStatus' is already declared in the upper scope on line 11 column 13

Check warning on line 11 in src/constants/constants.ts

GitHub Actions / lint

'SiteStatus' is already declared in the upper scope on line 11 column 13

Check warning on line 11 in src/constants/constants.ts

GitHub Actions / lint

'SiteStatus' is already declared in the upper scope on line 11 column 13

Check warning on line 11 in src/constants/constants.ts

GitHub Actions / lint

'SiteStatus' is already declared in the upper scope on line 11 column 13
Empty = "EMPTY", // A site record site is being initialized
Initialized = "INITIALIZED",
Launched = "LAUNCHED",
}
export enum RedirectionTypes {

Check warning on line 17 in src/constants/constants.ts

GitHub Actions / lint

'RedirectionTypes' is already declared in the upper scope on line 17 column 13

Check warning on line 17 in src/constants/constants.ts

GitHub Actions / lint

'RedirectionTypes' is already declared in the upper scope on line 17 column 13

Check warning on line 17 in src/constants/constants.ts

GitHub Actions / lint

'RedirectionTypes' is already declared in the upper scope on line 17 column 13

Check warning on line 17 in src/constants/constants.ts

GitHub Actions / lint

'RedirectionTypes' is already declared in the upper scope on line 17 column 13

Check warning on line 17 in src/constants/constants.ts

GitHub Actions / lint

'RedirectionTypes' is already declared in the upper scope on line 17 column 13
CNAME = "CNAME",
A = "A",
}
export enum CollaboratorRoles {

Check warning on line 22 in src/constants/constants.ts

GitHub Actions / lint

'CollaboratorRoles' is already declared in the upper scope on line 22 column 13

Check warning on line 22 in src/constants/constants.ts

GitHub Actions / lint

'CollaboratorRoles' is already declared in the upper scope on line 22 column 13

Check warning on line 22 in src/constants/constants.ts

GitHub Actions / lint

'CollaboratorRoles' is already declared in the upper scope on line 22 column 13

Check warning on line 22 in src/constants/constants.ts

GitHub Actions / lint

'CollaboratorRoles' is already declared in the upper scope on line 22 column 13

Check warning on line 22 in src/constants/constants.ts

GitHub Actions / lint

'CollaboratorRoles' is already declared in the upper scope on line 22 column 13
Admin = "ADMIN",
Contributor = "CONTRIBUTOR",
IsomerAdmin = "ISOMERADMIN",
CollaboratorRoles.IsomerAdmin
>
export enum ReviewRequestStatus {

Check warning on line 33 in src/constants/constants.ts

GitHub Actions / lint

'ReviewRequestStatus' is already declared in the upper scope on line 33 column 13

Check warning on line 33 in src/constants/constants.ts

GitHub Actions / lint

'ReviewRequestStatus' is already declared in the upper scope on line 33 column 13

Check warning on line 33 in src/constants/constants.ts

GitHub Actions / lint

'ReviewRequestStatus' is already declared in the upper scope on line 33 column 13

Check warning on line 33 in src/constants/constants.ts

GitHub Actions / lint

'ReviewRequestStatus' is already declared in the upper scope on line 33 column 13

Check warning on line 33 in src/constants/constants.ts

GitHub Actions / lint

'ReviewRequestStatus' is already declared in the upper scope on line 33 column 13
Approved = "APPROVED",
Open = "OPEN",
Merged = "MERGED",
export const FEATURE_FLAGS = {

Check warning on line 1 in src/constants/featureFlags.ts

GitHub Actions / lint

Prefer default export on a file with single export

Check warning on line 1 in src/constants/featureFlags.ts

GitHub Actions / lint

Prefer default export on a file with single export

Check warning on line 1 in src/constants/featureFlags.ts

GitHub Actions / lint

Prefer default export on a file with single export

Check warning on line 1 in src/constants/featureFlags.ts

GitHub Actions / lint

Prefer default export on a file with single export

Check warning on line 1 in src/constants/featureFlags.ts

GitHub Actions / lint

Prefer default export on a file with single export
IS_BUILD_TIMES_REDUCTION_ENABLED: "is_build_times_reduction_enabled",
IS_GGS_ENABLED: "is_ggs_enabled",
IS_SHOW_STAGING_BUILD_STATUS_ENABLED: "is_show_staging_build_status_enabled",