Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
28e5463
Bump app version to 8.6.1
jackkav Jan 22, 2024
e1e3b13
feat(unit-tests): Unit test reordering (#7020)
gatzjames Jan 26, 2024
7c5b342
Fixes https://github.com/Kong/insomnia/issues/7011 (#7012)
JeroenVdb Jan 26, 2024
cf912f7
Fixes https://github.com/Kong/insomnia/issues/7009 (#7010)
JeroenVdb Jan 26, 2024
353780e
chore: edit changelog process [INS-3456] (#7001)
filfreire Jan 29, 2024
3fceccf
fix(workspace): Add default name for when creating a workspace (#7046)
gatzjames Feb 2, 2024
1b52859
fix filter history keys not being valid selectors (#7040)
gatzjames Feb 2, 2024
1432efa
remove invalid wide css prop (#7041)
gatzjames Feb 2, 2024
2249bb7
feat(environment): update environments icons (#7050)
gatzjames Feb 2, 2024
0fa67c3
fix one line editor being scrollable (#7059)
gatzjames Feb 5, 2024
ec490a6
change 8.0 to 8 (#7061)
gatzjames Feb 5, 2024
99f34cf
Cleanup page containers and add hint container in the page (#7060)
gatzjames Feb 5, 2024
a09c233
feat(pane-tabs): Consistent styles for tabs (#7062)
gatzjames Feb 5, 2024
43edf39
fix updates to db leading to errors in loader fetchers (#7033)
gatzjames Feb 5, 2024
d1c2928
feat(command-palette): add button to open the command palette (#7064)
gatzjames Feb 5, 2024
cec7200
Merge branch 'develop' into release/8.6.1
gatzjames Feb 6, 2024
297d39e
fix ts issue
gatzjames Feb 6, 2024
9981735
changelog
gatzjames Feb 6, 2024
6b89962
exclude CHANGELOG from markdown lint
gatzjames Feb 6, 2024
dbf44cd
fix test
filfreire Feb 6, 2024
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
171 changes: 0 additions & 171 deletions .github/workflows/changelog.yml

This file was deleted.

10 changes: 10 additions & 0 deletions .github/workflows/release-start.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,16 @@ jobs:
- name: Git Commit
run: git commit -am "Bump app version to ${{ env.RELEASE_VERSION }}"

- name: Update CHANGELOG
id: changelog
uses: requarks/changelog-action@v1
with:
token: ${{ secrets.RELEASE_GH_TOKEN }}
tag: ${{ github.ref_name }}

- name: Git Commit Changelog
run: git commit -am "update CHANGELOG.md for ${{ env.RELEASE_VERSION }} [skip ci]"

- name: Git Push changes
run: |
remote_repo="https://${GITHUB_ACTOR}:${RELEASE_GH_TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
Expand Down
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [core@8.6.1] - 2024-02-06
### :sparkles: New Features
- [`e1e3b13`](https://github.com/Kong/insomnia/commit/e1e3b139b3bb917ab9dfcb0ce12d16079dee9c04) - **unit-tests**: Unit test reordering *(PR [#7020](https://github.com/Kong/insomnia/pull/7020) by [@gatzjames](https://github.com/gatzjames))*
- [`2249bb7`](https://github.com/Kong/insomnia/commit/2249bb7b98c947ab1cb11955928fd80d4adec845) - **environment**: update environments icons *(PR [#7050](https://github.com/Kong/insomnia/pull/7050) by [@gatzjames](https://github.com/gatzjames))*
- [`a09c233`](https://github.com/Kong/insomnia/commit/a09c23305c9c493105808b8df23d1911f5b59ea2) - **pane-tabs**: Consistent styles for tabs *(PR [#7062](https://github.com/Kong/insomnia/pull/7062) by [@gatzjames](https://github.com/gatzjames))*
- [`d1c2928`](https://github.com/Kong/insomnia/commit/d1c292891cc9dd8a17d4637f643336cf1afcccfa) - **command-palette**: add button to open the command palette *(PR [#7064](https://github.com/Kong/insomnia/pull/7064) by [@gatzjames](https://github.com/gatzjames))*

### :bug: Bug Fixes
- [`df0a791`](https://github.com/Kong/insomnia/commit/df0a79194143dc615310ecc0976381c538f695f2) - re-initialize the parameter editor state when switching between requests *(PR [#7005](https://github.com/Kong/insomnia/pull/7005) by [@gatzjames](https://github.com/gatzjames))*
- :arrow_lower_right: *fixes issue [#7000](undefined) opened by [@jwarner112](https://github.com/jwarner112)*
- [`3fceccf`](https://github.com/Kong/insomnia/commit/3fceccfdf691a0f3d7592f31120030eeff92be61) - **workspace**: Add default name for when creating a workspace *(PR [#7046](https://github.com/Kong/insomnia/pull/7046) by [@gatzjames](https://github.com/gatzjames))*

### :wrench: Chores
- [`353780e`](https://github.com/Kong/insomnia/commit/353780e16ab30853ce206398850c0c0f1c9bd887) - edit changelog process [INS-3456] *(PR [#7001](https://github.com/Kong/insomnia/pull/7001) by [@filfreire](https://github.com/filfreire))*


[core@8.6.1]: https://github.com/Kong/insomnia/compare/core@8.6.0...core@8.6.1
12 changes: 6 additions & 6 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
Expand Up @@ -27,7 +27,7 @@
"lint": "npm run lint --workspaces --if-present",
"type-check": "npm run type-check --workspaces --if-present",
"test": "npm run test --workspaces --if-present",
"lint:markdown": "npx markdownlint-cli2 \"**/*.md\" \"#**/node_modules\"",
"lint:markdown": "npx markdownlint-cli2 \"**/*.md\" \"#**/node_modules\" \"#**/CHANGELOG.md\"",
"clean": "git clean -dfX",
"inso-start": "npm start --workspace=packages/insomnia-inso",
"inso-package": "npm run build:sr --workspace=packages/insomnia && npm run package --workspace=packages/insomnia-inso",
Expand Down
2 changes: 1 addition & 1 deletion packages/insomnia-inso/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "insomnia-inso",
"version": "8.6.0",
"version": "8.6.1",
"homepage": "https://insomnia.rest",
"description": "A CLI for Insomnia - The Collaborative API Design Tool",
"author": "Kong <office@konghq.com>",
Expand Down
2 changes: 1 addition & 1 deletion packages/insomnia-inso/src/commands/run-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export async function runInsomniaTests(
suites.map(suite =>
createTestSuite(
suite,
db.UnitTest.filter(test => test.parentId === suite._id),
db.UnitTest.filter(test => test.parentId === suite._id).sort((a, b) => a.metaSortKey - b.metaSortKey),
),
),
);
Expand Down
2 changes: 2 additions & 0 deletions packages/insomnia-inso/src/db/models/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export type ApiSpec = BaseModel & BaseApiSpec;

interface BaseUnitTestSuite {
name: string;
metaSortKey: number;
}

export type UnitTestSuite = BaseModel & BaseUnitTestSuite;
Expand All @@ -25,6 +26,7 @@ interface BaseUnitTest {
name: string;
code: string;
requestId: string | null;
metaSortKey: number;
}

export type UnitTest = BaseModel & BaseUnitTest;
Expand Down
2 changes: 1 addition & 1 deletion packages/insomnia-inso/src/db/models/unit-test-suite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const loadTestSuites = (
const workspace = loadWorkspace(db, apiSpec?.parentId || identifier); // if identifier is for an apiSpec or a workspace, return all suites for that workspace

if (workspace) {
return db.UnitTestSuite.filter(s => s.parentId === workspace._id);
return db.UnitTestSuite.filter(s => s.parentId === workspace._id).sort((a, b) => a.metaSortKey - b.metaSortKey);
} // load particular suite

const result = loadUnitTestSuite(db, identifier);
Expand Down
2 changes: 1 addition & 1 deletion packages/insomnia-send-request/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"private": true,
"name": "insomnia-send-request",
"license": "Apache-2.0",
"version": "8.6.0",
"version": "8.6.1",
"author": "Kong <office@konghq.com>",
"main": "dist/index.js",
"types": "dist/send-request/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/insomnia-smoke-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"bugs": {
"url": "https://github.com/kong/insomnia/issues"
},
"version": "8.6.0",
"version": "8.6.1",
"scripts": {
"test:dev": "xvfb-maybe cross-env BUNDLE=dev playwright test",
"test:build": "xvfb-maybe cross-env BUNDLE=build playwright test",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ test.describe('Design interactions', async () => {
await page.getByLabel('New test').click();

// Rename test
await page.getByRole('button', { name: 'Returns 200' }).dblclick();
await page.getByRole('button', { name: 'Returns 200', exact: true }).dblclick();
// TODO(filipe) - Something is wrong here. It should be a single dblclick
await page.getByRole('button', { name: 'Returns 200', exact: true }).dblclick();
await page.getByRole('textbox').fill('Returns 200 and works');
await page.getByRole('textbox').press('Enter');
await page.getByRole('heading', { name: 'Returns 200 and works' }).click();
Expand Down
2 changes: 1 addition & 1 deletion packages/insomnia-testing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"private": true,
"name": "insomnia-testing",
"license": "Apache-2.0",
"version": "8.6.0",
"version": "8.6.1",
"author": "Kong <office@konghq.com>",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/insomnia/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "insomnia",
"version": "8.6.0",
"version": "8.6.1",
"productName": "Insomnia",
"private": true,
"description": "The Collaborative API Design Tool",
Expand Down
2 changes: 1 addition & 1 deletion packages/insomnia/src/common/hotkeys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const keyboardShortcutDescriptions: Record<KeyboardShortcut, string> = {
'request_showSettings': 'Show Request Settings',
'preferences_showKeyboardShortcuts': 'Show Keyboard Shortcuts',
'preferences_showGeneral': 'Show App Preferences',
'request_quickSwitch': 'Switch Requests',
'request_quickSwitch': 'Quick search',
'request_showRecent': 'Show Recent Requests',
'request_showRecentPrevious': 'Show Recent Requests (Previous)',
'plugin_reload': 'Reload Plugins',
Expand Down
12 changes: 1 addition & 11 deletions packages/insomnia/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,17 +99,7 @@
</div>
</div>
<div id="graphql-explorer-container"></div>
<div
id="dropdowns-container"
style="
z-index: 99999;
position: fixed;
right: -90000px;
top: -90000px;
width: 100vw;
height: 100vh;
"
></div>
<div id="hints-container" class="theme--dropdown__menu"></div>
<script src="./renderer.ts" type="module"></script>
</body>
</html>
Loading