Release MapLibre Native iOS 6.5.4 (#2700)

This commit is contained in:
Bart Louwers
2024-08-07 17:18:48 +02:00
committed by GitHub
parent 1c471d9b43
commit dfef2e7a82
6 changed files with 229 additions and 634 deletions

View File

@@ -1,7 +1,5 @@
# @generated
# Input hashes for repository rule npm_translate_lock(name = "npm", pnpm_lock = "//:pnpm-lock.yaml").
# This file should be checked into version control along with the pnpm-lock.yaml file.
.npmrc=-592547263
pnpm-lock.yaml=104874376
package-lock.json=-1109603374
package.json=752745807
pnpm-lock.yaml=172204574
package.json=-1427231250

738
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -8,7 +8,8 @@
"license": "BSD-2-Clause",
"dependencies": {
"minimatch": "^9.0.4",
"npm-run-all": "^4.1.5"
"npm-run-all": "^4.1.5",
"simple-git": "^3.25.0"
},
"devDependencies": {
"@aws-sdk/client-device-farm": "^3.556.0",
@@ -41,6 +42,5 @@
"typescript": "^5.4.5",
"xcode": "^3.0.1"
},
"scripts": {
}
"scripts": {}
}

View File

@@ -4,7 +4,10 @@ MapLibre welcomes participation and contributions from everyone. Please read [`C
## main
- Fix reported [crash](https://github.com/maplibre/maplibre-native/issues/2678) when feature contains invalid UTF-8 data.
## 6.5.4
- Fix crash when feature contains invalid UTF-8 data ([#2693](https://github.com/maplibre/maplibre-native/pull/2693)).
- Bazel updates ([#2696](https://github.com/maplibre/maplibre-native/pull/2696)).
## 6.5.3

41
pnpm-lock.yaml generated
View File

@@ -11,6 +11,9 @@ dependencies:
npm-run-all:
specifier: ^4.1.5
version: 4.1.5
simple-git:
specifier: ^3.25.0
version: 3.25.0
devDependencies:
'@aws-sdk/client-device-farm':
@@ -808,6 +811,18 @@ packages:
to-fast-properties: 2.0.0
dev: true
/@kwsites/file-exists@1.1.1:
resolution: {integrity: sha512-m9/5YGR18lIwxSFDwfE3oA7bWuq9kdau6ugN4H2rJeyhFQZcG9AgSHkQtSD15a8WvTgfz9aikZMrKPHvbpqFiw==}
dependencies:
debug: 4.3.6
transitivePeerDependencies:
- supports-color
dev: false
/@kwsites/promise-deferred@1.1.1:
resolution: {integrity: sha512-GaHYm+c0O9MjZRu0ongGBRbinu8gVAMd2UZjji6jVmqKtZluZnptXGWhz1E8j8D2HJ3f/yMxKAUC0b+57wncIw==}
dev: false
/@ljharb/resumer@0.1.3:
resolution: {integrity: sha512-d+tsDgfkj9X5QTriqM4lKesCkMMJC3IrbPKHvayP00ELx2axdXvDfWkqjxrLXIzGcQzmj7VAUT1wopqARTvafw==}
engines: {node: '>= 0.4'}
@@ -1861,6 +1876,18 @@ packages:
ms: 2.0.0
dev: true
/debug@4.3.6:
resolution: {integrity: sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg==}
engines: {node: '>=6.0'}
peerDependencies:
supports-color: '*'
peerDependenciesMeta:
supports-color:
optional: true
dependencies:
ms: 2.1.2
dev: false
/deep-equal@2.2.3:
resolution: {integrity: sha512-ZIwpnevOurS8bpT4192sqAowWM76JDKSHYzMLty3BZGSswgq6pBaH3DhCSW5xVAZICZyKdOBPjwww5wfgT/6PA==}
engines: {node: '>= 0.4'}
@@ -2780,6 +2807,10 @@ packages:
resolution: {integrity: sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==}
dev: true
/ms@2.1.2:
resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==}
dev: false
/ms@2.1.3:
resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==}
dev: true
@@ -3228,6 +3259,16 @@ packages:
get-intrinsic: 1.2.4
object-inspect: 1.13.1
/simple-git@3.25.0:
resolution: {integrity: sha512-KIY5sBnzc4yEcJXW7Tdv4viEz8KyG+nU0hay+DWZasvdFOYKeUZ6Xc25LUHHjw0tinPT7O1eY6pzX7pRT1K8rw==}
dependencies:
'@kwsites/file-exists': 1.1.1
'@kwsites/promise-deferred': 1.1.1
debug: 4.3.6
transitivePeerDependencies:
- supports-color
dev: false
/simple-plist@1.3.1:
resolution: {integrity: sha512-iMSw5i0XseMnrhtIzRb7XpQEXepa9xhWxGUojHBL43SIpQuDQkh3Wpy67ZbDzZVr6EKxvwVChnVpdl8hEVLDiw==}
dependencies:

67
scripts/generate-changelog.mjs Executable file
View File

@@ -0,0 +1,67 @@
#!/usr/bin/env node
import { simpleGit } from 'simple-git';
import * as fs from "node:fs";
/**
* @returns {never}
*/
function usage() {
process.exit(1);
}
const platform = process.argv.at(2);
function getTagLastVersion() {
if (platform === "ios") {
const lastVersion = fs.readFileSync("platform/ios/CHANGELOG.md", "utf-8").split('\n').filter(line => line.startsWith('##'))[1].slice(3);
return `ios-v${lastVersion}`;
}
usage();
}
const tagLastVersion = getTagLastVersion();
const git = simpleGit();
/**
*
* @param {string} tag
* @returns
*/
async function getCommit(tag) {
const result = await git.show(tag);
const match = result.match(/^commit\s([0-9a-f]{40})/m);
if (match) return match[1];
else throw new Error("Failed to find commit");
}
/**
*
* @param {string} message
* @returns
*/
function formatMessageToMarkdownLink(message) {
// Regular expression to match the issue number pattern
const regex = /#(\d+)/;
const match = message.match(regex);
// Check if a match is found
if (match) {
const issueNumber = match[1];
const link = `https://github.com/maplibre/maplibre-native/pull/${issueNumber}`;
// Replace the issue number in the message with the Markdown link
return message.replace(regex, `[#${issueNumber}](${link})`);
}
// Return the original message if no issue number is found
return message;
}
const commitLastVersion = await getCommit(tagLastVersion);
const logs = await git.log({from: commitLastVersion});
for await (const logEntry of logs.all.toReversed()) {
console.log(`- ${formatMessageToMarkdownLink(logEntry.message)}.`);
}