Skip to content

Commit

Permalink
Merge branch 'release/4.1.10'
Browse files Browse the repository at this point in the history
  • Loading branch information
codenirvana committed Feb 27, 2025
2 parents 16088ff + 657dc62 commit 5250881
Show file tree
Hide file tree
Showing 45 changed files with 160 additions and 155 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
4.1.10:
date: 2025-02-27
fixed bugs:
- GH-662 Reverted GH-660 to fix import/export in older clients

4.1.9:
date: 2025-02-11
chores:
Expand Down
2 changes: 1 addition & 1 deletion examples/v2.0.0/binary-upload.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "asdasdasdasdasdasd",
"_postman_id": "70fa9b38-91c0-7e67-0ead-b31622bdc152",
"description": "Description",
"schema": "https://schema.postman.com/json/collection/v2.0.0/collection.json"
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
},
"item": [
{
Expand Down
2 changes: 1 addition & 1 deletion examples/v2.0.0/box.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "Box Content API",
"_postman_id": "48e1ee04-a604-2549-9422-43270e936399",
"description": "I am trying to update this.",
"schema": "https://schema.postman.com/json/collection/v2.0.0/collection.json"
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
},
"item": [
{
Expand Down
2 changes: 1 addition & 1 deletion examples/v2.0.0/echo.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "Postman Echo (shamasified)",
"_postman_id": "03cf74df-32de-af8b-7db8-855b51b05e50",
"description": "Postman Echo is service you can use to test your REST clients and make sample API calls. It provides endpoints for `GET`, `POST`, `PUT`, various auth mechanisms and other utility endpoints.",
"schema": "https://schema.postman.com/json/collection/v2.0.0/collection.json"
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
},
"item": [
{
Expand Down
2 changes: 1 addition & 1 deletion examples/v2.0.0/github.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "Github",
"_postman_id": "b6241b6a-fbf3-e3b7-4f96-0154e3056843",
"description": "Description",
"schema": "https://schema.postman.com/json/collection/v2.0.0/collection.json"
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
},
"item": [
{
Expand Down
2 changes: 1 addition & 1 deletion examples/v2.0.0/hackernews.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "HackerNews API",
"_postman_id": "361708ee-7343-43e0-f803-e10fb4d5d675",
"description": "HackerNews API collection for Postman. I added more documentation.",
"schema": "https://schema.postman.com/json/collection/v2.0.0/collection.json"
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
},
"item": [
{
Expand Down
2 changes: 1 addition & 1 deletion examples/v2.0.0/helpers.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "c1",
"_postman_id": "34783f86-4a67-d3bd-ba5b-148495fa2f72",
"description": "Description",
"schema": "https://schema.postman.com/json/collection/v2.0.0/collection.json"
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
},
"item": [
{
Expand Down
2 changes: 1 addition & 1 deletion examples/v2.0.0/httpbin.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "httpbin",
"_postman_id": "65d8dc8f-fb76-8d61-8adc-f96d2109ec7d",
"description": "Requests to HTTP Bin",
"schema": "https://schema.postman.com/json/collection/v2.0.0/collection.json"
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
},
"item": [
{
Expand Down
2 changes: 1 addition & 1 deletion examples/v2.0.0/multi-level-folders.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "multi-level-folders",
"_postman_id": "e5f2e9cf-173b-c60a-7336-ac804a87d762",
"description": "A simple V2 collection to test out multi level folder flows",
"schema": "https://schema.postman.com/json/collection/v2.0.0/collection.json"
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
},
"item": [
{
Expand Down
2 changes: 1 addition & 1 deletion examples/v2.0.0/nestedEntities.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "auth-v1",
"_postman_id": "46da69ac-9035-50c4-fcab-44d9167e06f4",
"description": "A simple V1 collection to elucidate nested auth helpers, variables, and scripts",
"schema": "https://schema.postman.com/json/collection/v2.0.0/collection.json"
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
},
"variable": [{
"key": "collection",
Expand Down
2 changes: 1 addition & 1 deletion examples/v2.0.0/no-body.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"info": {
"id": "5aff34b9-a2af-4579-8b05-8f3dfea35fe1",
"name": "A collection",
"schema": "https://schema.postman.com/json/collection/v2.0.0/collection.json"
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
},
"event": [],
"variable": [],
Expand Down
2 changes: 1 addition & 1 deletion examples/v2.0.0/proper-url-parsing.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "proper-url-parsing",
"_postman_id": "7ea31a30-8377-0e56-d11f-5943e6527bca",
"description": "Description",
"schema": "https://schema.postman.com/json/collection/v2.0.0/collection.json"
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
},
"item": [
{
Expand Down
2 changes: 1 addition & 1 deletion examples/v2.0.0/rawjsonbody.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "rawjsonbody",
"_postman_id": "c96a1f4e-f2e8-ed1f-3421-e16568f4b471",
"description": "Description",
"schema": "https://schema.postman.com/json/collection/v2.0.0/collection.json"
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
},
"item": [
{
Expand Down
2 changes: 1 addition & 1 deletion examples/v2.0.0/twitter.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "Twitter",
"_postman_id": "d362bd3b-ab81-2b7d-0ce5-345df1826043",
"description": "Description",
"schema": "https://schema.postman.com/json/collection/v2.0.0/collection.json"
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
},
"item": [
{
Expand Down
2 changes: 1 addition & 1 deletion examples/v2.0.0/urlencoded-post-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "urlencodeddata",
"_postman_id": "551c1361-2b81-68c7-677e-ec2efdd8322e",
"description": "Description",
"schema": "https://schema.postman.com/json/collection/v2.0.0/collection.json"
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
},
"item": [
{
Expand Down
2 changes: 1 addition & 1 deletion examples/v2.1.0/binary-upload.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "asdasdasdasdasdasd",
"_postman_id": "70fa9b38-91c0-7e67-0ead-b31622bdc152",
"description": "Description",
"schema": "https://schema.postman.com/json/collection/v2.1.0/collection.json"
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
Expand Down
2 changes: 1 addition & 1 deletion examples/v2.1.0/box.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "Box Content API",
"_postman_id": "48e1ee04-a604-2549-9422-43270e936399",
"description": "I am trying to update this.",
"schema": "https://schema.postman.com/json/collection/v2.1.0/collection.json"
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
Expand Down
2 changes: 1 addition & 1 deletion examples/v2.1.0/echo.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "Postman Echo (shamasified)",
"_postman_id": "03cf74df-32de-af8b-7db8-855b51b05e50",
"description": "Postman Echo is service you can use to test your REST clients and make sample API calls. It provides endpoints for `GET`, `POST`, `PUT`, various auth mechanisms and other utility endpoints.",
"schema": "https://schema.postman.com/json/collection/v2.1.0/collection.json"
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
Expand Down
2 changes: 1 addition & 1 deletion examples/v2.1.0/github.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "Github",
"_postman_id": "b6241b6a-fbf3-e3b7-4f96-0154e3056843",
"description": "Description",
"schema": "https://schema.postman.com/json/collection/v2.1.0/collection.json"
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
Expand Down
2 changes: 1 addition & 1 deletion examples/v2.1.0/hackernews.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "HackerNews API",
"_postman_id": "361708ee-7343-43e0-f803-e10fb4d5d675",
"description": "HackerNews API collection for Postman. I added more documentation.",
"schema": "https://schema.postman.com/json/collection/v2.1.0/collection.json"
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
Expand Down
2 changes: 1 addition & 1 deletion examples/v2.1.0/helpers.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "c1",
"_postman_id": "34783f86-4a67-d3bd-ba5b-148495fa2f72",
"description": "Description",
"schema": "https://schema.postman.com/json/collection/v2.1.0/collection.json"
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
Expand Down
2 changes: 1 addition & 1 deletion examples/v2.1.0/httpbin.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "httpbin",
"_postman_id": "65d8dc8f-fb76-8d61-8adc-f96d2109ec7d",
"description": "Requests to HTTP Bin",
"schema": "https://schema.postman.com/json/collection/v2.1.0/collection.json"
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
Expand Down
2 changes: 1 addition & 1 deletion examples/v2.1.0/nestedEntities.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "auth-v1",
"_postman_id": "46da69ac-9035-50c4-fcab-44d9167e06f4",
"description": "A simple V1 collection to elucidate nested auth helpers, variables, and scripts",
"schema": "https://schema.postman.com/json/collection/v2.1.0/collection.json"
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"variable": [{
"key": "collection",
Expand Down
2 changes: 1 addition & 1 deletion examples/v2.1.0/proper-description-parsing.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"content": "V2 supported collection description in object format",
"type": "text/plain"
},
"schema": "https://schema.postman.com/json/collection/v2.0.0/collection.json"
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
},
"item": [
{
Expand Down
2 changes: 1 addition & 1 deletion examples/v2.1.0/proper-url-parsing.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "proper-url-parsing",
"_postman_id": "7ea31a30-8377-0e56-d11f-5943e6527bca",
"description": "Description",
"schema": "https://schema.postman.com/json/collection/v2.1.0/collection.json"
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
Expand Down
2 changes: 1 addition & 1 deletion examples/v2.1.0/rawjsonbody.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "rawjsonbody",
"_postman_id": "c96a1f4e-f2e8-ed1f-3421-e16568f4b471",
"description": "Description",
"schema": "https://schema.postman.com/json/collection/v2.1.0/collection.json"
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
Expand Down
2 changes: 1 addition & 1 deletion examples/v2.1.0/twitter.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "Twitter",
"_postman_id": "d362bd3b-ab81-2b7d-0ce5-345df1826043",
"description": "Description",
"schema": "https://schema.postman.com/json/collection/v2.1.0/collection.json"
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
Expand Down
2 changes: 1 addition & 1 deletion examples/v2.1.0/urlencoded-post-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "urlencodeddata",
"_postman_id": "551c1361-2b81-68c7-677e-ec2efdd8322e",
"description": "Description",
"schema": "https://schema.postman.com/json/collection/v2.1.0/collection.json"
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
Expand Down
6 changes: 3 additions & 3 deletions lib/constants.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
exports.SCHEMA_V2_URL = 'https://schema.postman.com/json/collection/v2.0.0/collection.json';
exports.SCHEMA_V2_1_0_URL = 'https://schema.postman.com/json/collection/v2.1.0/collection.json';
exports.SCHEMA_V1_URL = 'https://schema.postman.com/json/collection/v1.0.0/collection.json';
exports.SCHEMA_V2_URL = 'https://schema.getpostman.com/json/collection/v2.0.0/collection.json';
exports.SCHEMA_V2_1_0_URL = 'https://schema.getpostman.com/json/collection/v2.1.0/collection.json';
exports.SCHEMA_V1_URL = 'https://schema.getpostman.com/json/collection/v1.0.0/collection.json';
exports.PREREQUEST_EXT = '_preRequestScript';
exports.TESTS_EXT = '_tests';
2 changes: 1 addition & 1 deletion 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": "postman-collection-transformer",
"version": "4.1.9",
"version": "4.1.10",
"description": "Perform rapid conversation and validation of JSON structure between Postman Collection Format v1 and v2",
"author": "Postman Inc.",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion test/schema/v2.0.0/converter-v2-to-v1.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ describe('v2.0.0 ==> v1.0.0', function () {
const collection = {
info: {
_postman_id: '8eca8c11-c5ce-4032-b62c-568ca86dbe4c',
schema: 'https://schema.postman.com/json/collection/v2.0.0/collection.json'
schema: 'https://schema.getpostman.com/json/collection/v2.0.0/collection.json'
},
item: [
{
Expand Down
4 changes: 2 additions & 2 deletions test/unit/export-regression.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ describe('v1.0.0 to v2.1.0 conversion', function () {
info: {
_postman_id: 'C1',
name: 'collection',
schema: 'https://schema.postman.com/json/collection/v2.1.0/collection.json'
schema: 'https://schema.getpostman.com/json/collection/v2.1.0/collection.json'
},
item: [{
name: 'folder one',
Expand Down Expand Up @@ -207,7 +207,7 @@ describe('v1.0.0 to v2.1.0 conversion', function () {
info: {
_postman_id: 'C1',
name: 'collection',
schema: 'https://schema.postman.com/json/collection/v2.1.0/collection.json'
schema: 'https://schema.getpostman.com/json/collection/v2.1.0/collection.json'
},
item: [{
id: 'F1',
Expand Down
2 changes: 1 addition & 1 deletion test/unit/fixtures/multi-level.v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"info": {
"_postman_id": "85a5a19a-744c-44a0-949f-6f782601ba41",
"name": "Collection with multi level folders",
"schema": "https://schema.postman.com/json/collection/v2.0.0/collection.json"
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
},
"item": [
{
Expand Down
2 changes: 1 addition & 1 deletion test/unit/fixtures/multi-level.v21.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"info": {
"_postman_id": "85a5a19a-744c-44a0-949f-6f782601ba41",
"name": "Collection with multi level folders",
"schema": "https://schema.postman.com/json/collection/v2.1.0/collection.json"
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
Expand Down
4 changes: 2 additions & 2 deletions test/unit/fixtures/nested-entities.js
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ module.exports = {
name: 'nested-entities',
_postman_id: '371e9fa3-97d3-ca11-07c0-836a72a325c2',
description: 'A simple collection to elucidate nested auth helpers, variables, and scripts',
schema: 'https://schema.postman.com/json/collection/v2.0.0/collection.json'
schema: 'https://schema.getpostman.com/json/collection/v2.0.0/collection.json'
},
variable: [{
id: 'collection',
Expand Down Expand Up @@ -563,7 +563,7 @@ module.exports = {
name: 'nested-entities',
_postman_id: '371e9fa3-97d3-ca11-07c0-836a72a325c2',
description: 'A simple collection to elucidate nested auth helpers, variables, and scripts',
schema: 'https://schema.postman.com/json/collection/v2.1.0/collection.json'
schema: 'https://schema.getpostman.com/json/collection/v2.1.0/collection.json'
},
variable: [{
id: 'collection',
Expand Down
4 changes: 2 additions & 2 deletions test/unit/fixtures/request-body-file.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ module.exports = {
info: {
name: 'body-src-check',
_postman_id: '84b2b626-d3a6-0f31-c7a0-47733c01d0c2',
schema: 'https://schema.postman.com/json/collection/v2.0.0/collection.json'
schema: 'https://schema.getpostman.com/json/collection/v2.0.0/collection.json'
},
item: [
{
Expand Down Expand Up @@ -142,7 +142,7 @@ module.exports = {
info: {
name: 'body-src-check',
_postman_id: '84b2b626-d3a6-0f31-c7a0-47733c01d0c2',
schema: 'https://schema.postman.com/json/collection/v2.1.0/collection.json'
schema: 'https://schema.getpostman.com/json/collection/v2.1.0/collection.json'
},
item: [
{
Expand Down
4 changes: 2 additions & 2 deletions test/unit/fixtures/sample-auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ module.exports = {
name: 'AuthTest',
_postman_id: 'd497d10e-e280-8c83-709a-a4d4ea12ad14',
description: 'Sample auth tests',
schema: 'https://schema.postman.com/json/collection/v2.0.0/collection.json'
schema: 'https://schema.getpostman.com/json/collection/v2.0.0/collection.json'
},
item: [
{
Expand Down Expand Up @@ -318,7 +318,7 @@ module.exports = {
name: 'AuthTest',
_postman_id: 'd497d10e-e280-8c83-709a-a4d4ea12ad14',
description: 'Sample auth tests',
schema: 'https://schema.postman.com/json/collection/v2.1.0/collection.json'
schema: 'https://schema.getpostman.com/json/collection/v2.1.0/collection.json'
},
item: [
{
Expand Down
4 changes: 2 additions & 2 deletions test/unit/fixtures/sample-collection.js
Original file line number Diff line number Diff line change
Expand Up @@ -1840,7 +1840,7 @@ module.exports = {
name: "Postman Echo (shamasified)",
_postman_id: "03cf74df-32de-af8b-7db8-855b51b05e50",
description: "Postman Echo is service you can use to test your REST clients and make sample API calls. It provides endpoints for `GET`, `POST`, `PUT`, various auth mechanisms and other utility endpoints.",
schema: "https://schema.postman.com/json/collection/v2.0.0/collection.json"
schema: "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
},
item: [
{
Expand Down Expand Up @@ -3758,7 +3758,7 @@ module.exports = {
name: "Postman Echo (shamasified)",
_postman_id: "03cf74df-32de-af8b-7db8-855b51b05e50",
description: "Postman Echo is service you can use to test your REST clients and make sample API calls. It provides endpoints for `GET`, `POST`, `PUT`, various auth mechanisms and other utility endpoints.",
schema: "https://schema.postman.com/json/collection/v2.1.0/collection.json"
schema: "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
item: [
{
Expand Down
Loading

0 comments on commit 5250881

Please sign in to comment.