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

Pull new version #2

Open
wants to merge 1,003 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1003 commits
Select commit Hold shift + click to select a range
70ebf00
Merge branch 'main' into feature/style-dsl
persidskiy Mar 1, 2024
8cfd63c
Use testRemoveSourceUnchecked in StyleDSL
persidskiy Mar 1, 2024
a076ddb
Replace @UIApplicationMain with @main (#2067)
aleksproger Mar 6, 2024
4709720
[MAPSIOS-1309] View Annotations's taps propagate to the map (#2055)
aleksproger Mar 6, 2024
186c6fd
[MAPSIOS-1298] Localizations for attributions (#2041)
aleksproger Mar 6, 2024
7cbf505
Mark all Generated folders as linguist-generated in git (#2069)
OdNairy Mar 6, 2024
c56ab80
Add support for CustomRaster and CustomGeometry (#2068)
OdNairy Mar 7, 2024
af97247
[MAPSIOS-1354] Add Belarusian localization (#2071)
aleksproger Mar 11, 2024
4c05abe
[MAPSIOS-1184] View annotations misplased when .ignoresSafeArea(.all)…
aleksproger Mar 11, 2024
5430c84
Bump Swift version to 5.9
persidskiy Mar 13, 2024
f8075af
[MAPSIOS-1095] Expose missing MapView APIs in SwiftUI (#2074)
aleksproger Mar 14, 2024
75d3392
fix benchmark builds (#2077)
persidskiy Mar 14, 2024
9d8e7f5
Bump version to 11.3.0-beta.1
persidskiy Mar 13, 2024
2eb80f1
Sort-out new common classes in api catalogs
persidskiy Mar 14, 2024
af5cf0d
Fix view annotations example (#2078)
persidskiy Mar 14, 2024
e415dcd
Merge branch 'main' into feature/style-dsl
persidskiy Mar 14, 2024
9248696
Require Fastlane >= 2.19.0 (#2059)
evil159 Mar 15, 2024
29db563
[tile_store] Export TileStore.estimateTileRegion API (#2079)
tatiana-yan Mar 15, 2024
551d4e2
Merge branch 'main' into feature/style-dsl
persidskiy Mar 15, 2024
2dccba6
Refactor StyleDSL to allow lazy executable components
persidskiy Mar 1, 2024
603ca4f
Fix tests compilation errors in Release mode
persidskiy Mar 15, 2024
3d59b1e
Replace metal view's contentScaleFactor assertion with error log(#2088)
maios Mar 26, 2024
cc38f82
[MAPSIOS-1272] Add support for style transitions to StyleDSL (#2045)
pjleonard37 Mar 27, 2024
09e1456
Skip failing offline test cases (#2094)
maios Mar 28, 2024
26d19a1
Prepare v11.3.0-rc.1 release (#2090)
maios Mar 28, 2024
9d1d356
Merge branch 'main' into feature/style-dsl
persidskiy Mar 28, 2024
3bcf424
Add instruction for replacing MapboxMap.dragStart/dragEnd (#2098)
aleksproger Apr 3, 2024
66ad736
[MAPSIOS-1271] Add Custom Layer to Style DSL (#2044)
pjleonard37 Apr 5, 2024
43d02d6
CoreMaps 10.13.0, Common 24.3.1
OdNairy Apr 10, 2024
40436af
Finalize Style DSL Documentation (#2066)
pjleonard37 Apr 11, 2024
70c646b
Allow to assign slots to 2D and 3D Puck (#2107)
persidskiy Apr 16, 2024
efe377c
fix flack (#2110)
persidskiy Apr 16, 2024
65ddb4a
[MAPSIOS-1385] Unify StyleDSL and SwiftUI (#2099)
aleksproger Apr 16, 2024
e44697a
Allow to add slots at runtime (#2112)
persidskiy Apr 17, 2024
2724ded
Provide descriptive explaination for DocC restrict top sections failu…
maios Apr 19, 2024
af72618
Fix flaky tests (#2119)
OdNairy Apr 19, 2024
9a70af6
[MAPSIOS-1384] Style Imports API (#2115)
aleksproger Apr 22, 2024
4d86939
Sign frameworks with Apple Distribution cert (#2120)
OdNairy Apr 22, 2024
448535e
Camera animations lifecycle listener (#2114)
maios Apr 22, 2024
a374270
[MAPSIOS-1392] Add LayerPosition to puck (#2121)
aleksproger Apr 22, 2024
5528f34
Fix failing camera animator related tests (#2124)
maios Apr 23, 2024
fe14476
Generate typesafe annotations builders
persidskiy Apr 22, 2024
02ab36e
Restore MapStyle equality check
persidskiy Apr 22, 2024
c1894d7
[MAPSIOS-1403] Expose allSlotIdentifiers in StyleManager (#2125)
aleksproger Apr 23, 2024
e50fa7b
[MAPSIOS-1405] Remove position from layers and annotations in DSL (#2…
aleksproger Apr 23, 2024
864b629
Add dedicated owner for camera animation by compass view (#2082)
maios Apr 24, 2024
a484431
Use Runtime Styling Options error callback (#2113)
persidskiy Apr 24, 2024
32bb4e4
Update versions, license, changelog (#2126)
pjleonard37 Apr 24, 2024
a0cd1a8
Revert "Use Runtime Styling Options error callback (#2113)" (#2127)
persidskiy Apr 30, 2024
426568a
Update versions for v11.4.0-beta.2 (#2130)
pjleonard37 May 2, 2024
5d248ec
Fix changelog for 11.4.0-beta.2 (#2132)
aleksproger May 2, 2024
efdd193
[MAPSIOS-1323] Deprecate camera(for:) family of methods (#2128)
aleksproger May 2, 2024
b84bba7
Update Buildings example to use fillExtrusionVerticalScale (#2133)
pjleonard37 May 3, 2024
b1eee26
Prepare release v11.4.0-beta.3 (#2135)
aleksproger May 6, 2024
95d0c80
Fix camera example test (#2137)
aleksproger May 7, 2024
ce0d53a
[MAPSIOS-1406] Extend documentation about SwiftUI and Declarative Sty…
aleksproger May 7, 2024
121922b
Fix memory leak in navigation example (#2139)
aleksproger May 7, 2024
a9fd33c
Expose added view annotations (#2141)
maios May 8, 2024
cd70206
[MAPSIOS-1396] Expose RasterParticleLayer (#2140)
aleksproger May 8, 2024
f6bb3af
Telemetry (#2129)
OdNairy May 8, 2024
32edc19
Prepare release v11.4.0-rc.1 (#2143)
aleksproger May 8, 2024
675259b
Adopt codebase to SwiftLint 0.55.0 (#2146)
aleksproger May 14, 2024
73ecf94
Prepare release v11.4.0-rc.2 (#2150)
aleksproger May 15, 2024
b347612
[MAPSNAT-2034] Polygon fill issue fixed in DynamicStylingExample
dserebriakov May 17, 2024
0b81f2d
Fix DSL telemetry trigger condition (#2155)
evil159 May 17, 2024
124093f
MAPSIOS-1303: Sunset Jazzy doc (#2149)
aleksproger May 20, 2024
4b7a864
Examples: add location explicitly in basic MapView example (#2156)
May 20, 2024
451939d
Fix doc comment in Standard example (#2157)
pjleonard37 May 21, 2024
a3dfb79
Prepare v11.4.0 release (#2158)
maios May 22, 2024
d13b242
correct changelog for v11.4.0 (#2161)
maios May 23, 2024
594f875
Set map animation flag in `FollowPuckViewportState` (#2165)
evil159 Jun 5, 2024
ab51c71
Generate clusterMinPoints for GeoJSON (#2166)
aleksproger Jun 5, 2024
6d685c1
Use constant test values in annotation tests (#2173)
evil159 Jun 6, 2024
514fa87
Use constant test values in camera tests (#2174)
evil159 Jun 7, 2024
82a1186
[example] Update OfflineManagerExample to use satellite streets style…
pjleonard37 Jun 7, 2024
0d214c2
Make root properties revertible for all styles (#2162)
pjleonard37 Jun 7, 2024
88a52b2
MAPSIOS-1420: Create RasterParticleExample (#2145)
aleksproger Jun 10, 2024
3a5c21a
Bump codegen and fix clusterMinPoints (#2179)
aleksproger Jun 11, 2024
78a1a9f
Fix EOL and EOF spaces in all files
persidskiy Jun 10, 2024
4d0cfae
Run swiftlint on all swift files
persidskiy Jun 10, 2024
b13b89b
Format all Python files
persidskiy Jun 9, 2024
437f3cb
Bump Core Maps to 11.5.0-beta.1 (#2178)
evil159 Jun 11, 2024
bd22eec
Prepare 11.5.0-beta.1 (#2181)
evil159 Jun 11, 2024
e8e6d34
Adopt project for Xcode 16 beta (#2180)
aleksproger Jun 11, 2024
ef62a57
Fix examples tests failing upon retry (#2177)
evil159 Jun 11, 2024
1b6d7fd
Resolve type inference ambiguity in examples (#2184)
aleksproger Jun 12, 2024
791301e
Add min/max/default values to doc (#2168)
aleksproger Jun 17, 2024
a4d038e
Add empty commit to trigger CI on publishing docs (#2185)
evil159 Jun 18, 2024
7ac03b8
Bump core version
persidskiy Jun 19, 2024
992440b
Adapt CustomRasterSource API changes
zmiao Jun 18, 2024
821f2d2
Update generated code for experimental attribute removal (#2196)
evil159 Jun 19, 2024
e53b2e5
[MAPSIOS-1445] Expose textOcclusionOpacity, iconOcclusionOpacity, lin…
aleksproger Jun 19, 2024
e5cf9a5
Remove CustomRasterSourec/tileCacheBudget (#2202)
maios Jun 20, 2024
8c39866
Bump version
persidskiy Jun 19, 2024
979e9d0
Update changelog
persidskiy Jun 19, 2024
a4fb127
Expose `none` line join type (#2206)
evil159 Jun 25, 2024
833d90c
Prepare 11.5.0 release (#2210)
OdNairy Jul 3, 2024
b9c4b07
CP: Update to 11.5.1 (#2213)
OdNairy Jul 9, 2024
e44c39a
Make packager script less dependant of directory structure (#2214)
aleksproger Jul 10, 2024
a9c6b0c
Fix codesign issue (#2217)
OdNairy Jul 10, 2024
7cc9012
Downgrade fastlane to `2.219.0` (#2219)
OdNairy Jul 11, 2024
22ad304
Update CustomRasterSource example (#2205)
maios Jul 15, 2024
d6cd55c
MAPSIOS-262: New MapPresentationMode to prevent view annotations jitt…
persidskiy Jul 11, 2024
9dafb88
Deprecate `Expression` in favor of `Exp` (#2208)
evil159 Jul 18, 2024
2334b3f
MAPSIOS-1465/0: Adopt ClipLayer
aleksproger Jul 16, 2024
e675a34
Update SNAPSHOT
aleksproger Jul 17, 2024
55527e6
Update generated code
aleksproger Jul 17, 2024
d4b43b6
Bumpd to snapshot with correct codesigning identity
aleksproger Jul 18, 2024
f79d23b
Fix test build
aleksproger Jul 18, 2024
e11d42a
Fix doc and remove codesign from MapboxCoreMaps
aleksproger Jul 18, 2024
ee9f068
Regenerate Examples project
aleksproger Jul 18, 2024
6d2b668
Add exception for depsvalidator
aleksproger Jul 18, 2024
5ff19ad
Expose view annotation Z elevation
persidskiy Jul 18, 2024
7c23078
Add CHANGELOG
aleksproger Jul 18, 2024
0d01ed8
Fix comments
aleksproger Jul 18, 2024
ef85854
Remove experimental annotations from SwiftUI (#2228)
aleksproger Jul 19, 2024
86476e9
Update versions for v11.6.0-beta.1 (#2229)
pjleonard37 Jul 19, 2024
c3dbee9
Remove access token from `RasterParticleExample` (#2238)
Nelarius Jul 24, 2024
62c2bf1
Remove redundant comment from `RasterParticleExample`
Nelarius Jul 25, 2024
f2896cf
Add location override example
persidskiy Jul 24, 2024
970198f
Use standard rc style
persidskiy Jul 25, 2024
cd7522d
Update shapshot
persidskiy Jul 29, 2024
f20ae34
Fix bug with applying import config options on style change
persidskiy Jul 29, 2024
fe5b30b
Remove extra @_documentation(visibility) for now stable API
aleksproger Jul 31, 2024
ad68bf7
Fix tests
aleksproger Jul 31, 2024
2566f55
Add error handling when parsing SDK metadata (#2243)
evil159 Jul 31, 2024
424c2ac
Update documentation for declarative styling and related topics (#2239)
persidskiy Jul 31, 2024
b89c07d
Use stabel standarad style URL
aleksproger Jul 31, 2024
81e47c7
Expose all MapOptions properties (#2249)
evil159 Aug 1, 2024
02a8756
Prepare 11.6.0 rc.1 (#2247)
aleksproger Aug 1, 2024
bb83133
MAPSIOS-1517: Uncomment standard style tests (#2255)
aleksproger Aug 6, 2024
f529f46
Rework license generation script (#2252)
aleksproger Aug 6, 2024
317ab3b
MAPSIOS-1337: Expose lineTrimColor and lineTrimFadeRange (#2254)
aleksproger Aug 7, 2024
d320185
MAPS3D-1428: Remove experimental from line/text/icon-occlusion-opacit…
aleksproger Aug 7, 2024
8ded660
Respect experimental layer properties in annotation managers (#2257)
aleksproger Aug 12, 2024
0050af8
MAPSIOS-1525: Upgrade occlusion opacity properties to be data driven …
aleksproger Aug 12, 2024
bc3b5ba
Add missing doc and fix extra return (#2261)
aleksproger Aug 13, 2024
c7fdd5e
Prepare v11.6.0 release (#2264)
maios Aug 14, 2024
cb1ed93
Generic annotations implementation
persidskiy Jul 17, 2024
cc7bbe9
Generic annotations refinement (#2263)
aleksproger Aug 14, 2024
5c7f91b
Remove old pre-commit hooks script as new approach exists (#2253)
aleksproger Aug 14, 2024
4eb4d65
Fix CarPlay entitlements in public examples project (#2266)
evil159 Aug 15, 2024
e469fc8
Generate documentation for dependencies (#2262)
OdNairy Aug 22, 2024
33250e5
Fix memory leak in partial GeoJSON update (#2268)
evil159 Aug 26, 2024
849d860
MAPSIOS-1526: Generate data-driven properties on annotation manager (…
aleksproger Aug 27, 2024
6df04e5
Support Turf 3.0 (#2271)
OdNairy Aug 28, 2024
c35f484
Allow breakage report manipulation by any mapbox bot user (#2272)
OdNairy Aug 28, 2024
a6a4a30
MAPSIOS-1539: Expose autoMaxZoom property on GeoJSONSource (#2274)
aleksproger Aug 29, 2024
1120d1f
Remove `model-front-cutoff` property from `ModelLayer` (#2277)
pjleonard37 Aug 30, 2024
b724094
Bump GL Native to `11.7.0-beta.1` (#2278)
evil159 Aug 30, 2024
7016454
Use constant test values in locations tests, update fixtures (#2269)
pjleonard37 Aug 30, 2024
c8b982c
[MAPSIOS-1432] Add Sendable in simple cases (#2190)
aleksproger Aug 30, 2024
6050fda
Integrate Featuresets and Interactions
persidskiy Aug 27, 2024
b46fb47
Updates test constant in gesture test (#2279)
pjleonard37 Aug 30, 2024
67555d3
Fix API breaking check (#2281)
evil159 Aug 30, 2024
cd0f022
Bump version to 11.7.0-beta.1 (#2280)
evil159 Aug 30, 2024
f91bcf5
MAPSIOS-15339: Regenerate autoMaxZoom as read-only (#2283)
aleksproger Sep 2, 2024
5cf8c90
Fix bug where Interaction filter was ignored
persidskiy Sep 1, 2024
73ddd16
Add interactions tests
persidskiy Sep 1, 2024
c4e3962
Bump GL Native to `11.7.0-beta.2` (#2285)
evil159 Sep 3, 2024
0d80a07
Remove duplication in map view integration test (#2288)
evil159 Sep 4, 2024
9df3947
Update tests to resolve warnings (#2287)
pjleonard37 Sep 4, 2024
ba18626
Fix retries for offline integration test case (#2289)
evil159 Sep 9, 2024
c1ec37b
Remove leftovers from BasicMapExample (#2290)
aleksproger Sep 9, 2024
0ce96e6
Bump the gl-native to latest snapshot and adopt the API (#2291)
aleksproger Sep 9, 2024
e68d2e7
Expose `fill-extrusion-line-width` (#2294)
evil159 Sep 10, 2024
20e2139
Bump versions for 11.7.0-rc.1 (#2297)
aleksproger Sep 16, 2024
31743ba
Reset TileStore's disk quota when offline example is opened (#2298)
maios Sep 17, 2024
841e4f9
Update Offline Map example to show Standard style (#2303)
pjleonard37 Sep 20, 2024
201b7be
Fix bug with feature state lag due to sync mode change
persidskiy Sep 20, 2024
118811f
Use animated view annotation in interaction in imported style example
persidskiy Sep 23, 2024
2ac656c
MAPSIOS-1567: Don't install ObjC header for MapboxMaps (#2309)
aleksproger Sep 24, 2024
6d154bd
MAPSIOS-1566: Remove .xcode from artifacts folder (#2308)
aleksproger Sep 25, 2024
c21a878
[ci] fix license check for gl-native releases (#2304)
Kylmakalle Sep 26, 2024
2329b50
Update Maps to 11.7.0 (#2312)
OdNairy Sep 26, 2024
7c56c6e
Point github-create-release script to monorepo (#2315)
OdNairy Sep 27, 2024
05420d4
Generate Standard Style types
persidskiy Oct 4, 2024
afe43a6
Use constant test values in viewport tests, update fixtures (#2317)
pjleonard37 Oct 7, 2024
3055d0b
Introduce experimental `MapboxMap.styleGlyphURL` (#2322)
evil159 Oct 8, 2024
f7e42a0
Add source before layer to resolve annotation manager warning (#2326)
pjleonard37 Oct 9, 2024
2916a52
upd
persidskiy Oct 9, 2024
e661d2a
Update German translation for cancel (#2328)
pjleonard37 Oct 9, 2024
2cef5b1
MAPSIOS-1581: Geofence integration (#2319)
aleksproger Oct 10, 2024
1c5bff3
Update most integration tests to use a local style JSON (#2324)
pjleonard37 Oct 10, 2024
ffb3105
Typed Interactions and Featuresets
persidskiy Oct 10, 2024
c1c75f1
MAPSIOS-1593: Add opt out mechanism for geofencing in attributions (#…
aleksproger Oct 14, 2024
5bab4cb
Remove unused code
persidskiy Oct 11, 2024
08008b9
Fixed crash when ForEvery was used with duplicated IDs
persidskiy Oct 14, 2024
e4e0aea
Add Geofencing to example app (#2084)
jush Oct 14, 2024
9cf7d74
Prepare 11.8.0-beta.1
persidskiy Oct 14, 2024
fb97a45
Support multiple resizing calls during the same animation (#2337)
OdNairy Oct 17, 2024
d94bc19
Skip geofencing example test (#2338)
pjleonard37 Oct 23, 2024
34487f8
Small examples fixes
persidskiy Oct 14, 2024
5cb7109
Docs for styleGlyphURL
persidskiy Oct 21, 2024
92da9ae
Bump versions for 11.8.0-rc.1
persidskiy Oct 23, 2024
5653c42
Add snapshotter example to swiftui
persidskiy Oct 29, 2024
22ed3eb
Make Featureset Descriptor properties public (#2344)
pjleonard37 Oct 30, 2024
68e6099
bump deps to 11.8.0
persidskiy Nov 5, 2024
dc7bdf3
Adopt interactions core changes
persidskiy Oct 14, 2024
e7b4fe7
Workaround tests
persidskiy Nov 7, 2024
1cdf682
Remove low-level QRF and FeaturesetQueryTarget from public API
persidskiy Nov 6, 2024
7cc3859
Switch to binary Turf (#2347)
aleksproger Nov 8, 2024
1cf9515
MAPSIOS-1602: Geofence examples (#2349)
aleksproger Nov 8, 2024
b7ae0d1
Support Base and Height alignment in FillExtrudeLayer; zOffset for Fi…
OdNairy Nov 12, 2024
e02c934
Add emphasis-circle-glow-range to LocationIndicator (#2358)
OdNairy Nov 12, 2024
605e8fd
Correct changlog - add entry for v11.8.0 (#2357)
maios Nov 13, 2024
2f63984
Improve internal Logger (#2361)
OdNairy Nov 15, 2024
4ae0503
New Expression initializer (#2362)
OdNairy Nov 18, 2024
a3e4391
Fix experimental style properties order
persidskiy Nov 19, 2024
d061b47
Adapt latest gl-native and common (#2356)
aleksproger Nov 21, 2024
e4f30f2
Add support for custom tappable area in Interaction (#2364)
persidskiy Nov 25, 2024
c2bb275
Expose clearAmbientCache method (#2367)
OdNairy Nov 25, 2024
34313b2
Image expression options (#2369)
evil159 Nov 25, 2024
2ae693c
Precipitations: Snow and Rain (#2360)
OdNairy Nov 26, 2024
fbaaa57
Filterable attributions (#2370)
evil159 Nov 27, 2024
602619b
Bump SDK version to 11.9.0-beta.1 (#2371)
evil159 Nov 27, 2024
997c751
Remove static build on CI (#2372)
aleksproger Nov 28, 2024
5c9ce70
Option to disable resizing animation (#2374)
OdNairy Dec 3, 2024
b8180c2
Update examples to the iOS 16+ (#2377)
OdNairy Dec 4, 2024
b4230c2
Revert "Fix CarPlay entitlements in public examples project (#2266)" …
OdNairy Dec 4, 2024
b7a7ce0
`to-hsla` expression support (#2379)
evil159 Dec 5, 2024
d1963a3
Bump versions to 11.9.0-rc.1 (#2381)
persidskiy Dec 9, 2024
7694081
Move examples to the root public folder (#2380)
OdNairy Dec 10, 2024
d274862
Localization for geofencing attribution dialog (#2383)
evil159 Dec 11, 2024
b7b66c1
Make StyleImage non-experimental
persidskiy Dec 11, 2024
2328608
Fix dependabot security alerts (#2388)
OdNairy Dec 17, 2024
f9c941d
Stylespec update: Promote ClipLayer to stable, fix Rain and Snow cent…
OdNairy Dec 18, 2024
ce77130
Update CoreMaps and Common to `11.9.0` (#2392)
OdNairy Dec 18, 2024
fe94972
Support dictionary expression literals (#2395)
evil159 Dec 23, 2024
cfe53d0
Bump year
persidskiy Jan 2, 2025
09260ff
Fix experimental properties generation, bump style spec (#2399)
persidskiy Jan 9, 2025
8feed92
Bump deployment target to 14.0 (#2396)
OdNairy Jan 13, 2025
ddd5550
Expse new style properties in Annotations, support rich types
persidskiy Jan 10, 2025
feba024
Update standard & Standard Satellite config properties
persidskiy Jan 13, 2025
07a87d8
Fix docc errors
persidskiy Jan 15, 2025
0e6ebac
Expose typed Slot method
persidskiy Jan 16, 2025
12f6598
Expose new experimental modelElevationReference property
persidskiy Jan 14, 2025
ee0465d
Remove outdated availability attributes (#2409)
OdNairy Jan 17, 2025
2e9007d
Add `ViewAnnotationOptions.priority` (#2398)
evil159 Jan 20, 2025
ac99ab1
MAPSNAT-2065: Color theme API with example (#2400)
aleksproger Jan 20, 2025
ea04f7e
Bump SDK version to `11.10.0-beta.1` (#2414)
evil159 Jan 20, 2025
5410519
[cherry-pick] release v11.9.1 versions bump (#2413)
maios Jan 20, 2025
a93ca50
Align Podspec min deployment target (#2416)
evil159 Jan 20, 2025
129a10d
Fix release failures (#2418)
evil159 Jan 21, 2025
d376c5c
Update StyleManager.swift (#2419)
pjleonard37 Jan 21, 2025
2512148
Re-enable GeoJSON dataId test (#2420)
evil159 Jan 22, 2025
4238b53
Fix visionos compilation
persidskiy Jan 23, 2025
b495c0e
Regenereate project after vision os fixes
persidskiy Jan 27, 2025
bf0bb4b
Expose `maxOverscaleFactorForParentTiles` for custom raster source (#…
evil159 Jan 27, 2025
ac9e5f2
Expose `maxOverscaleFactorForParentTiles` for custom geometry source …
evil159 Jan 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1,348 changes: 0 additions & 1,348 deletions .circleci/config.yml

This file was deleted.

41 changes: 37 additions & 4 deletions .depsvalidator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,58 @@
manifests:
- type: Package.swift
- type: Package.resolved
omit_for:
# Temporarily disabled since we use .binaryTarget instead of SPM dependency for MapboxCoreMaps
- MapboxCoreMaps
- MapboxCommon
- type: Package.resolved
path: Apps/Apps.xcworkspace/xcshareddata/swiftpm/Package.resolved
path: Examples.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
omit_for:
# Temporarily disabled since we use .binaryTarget instead of SPM dependency for MapboxCoreMaps
- MapboxCoreMaps
- MapboxCommon
- type: Podspec
- type: packager
- type: Cross-check Common SDK version with GL Native
omit_for:
- MapboxCoreMaps
- MapboxCommon
- Turf
dependencies:
- name: MapboxCoreMaps
variations:
Package.swift: mapbox-core-maps-ios
Package.resolved: mapbox-core-maps-ios
- name: MapboxCommon
variations:
Package.swift: mapbox-common-ios
Package.resolved: mapbox-common-ios
- name: Turf
variations:
Package.swift: turf-swift
- name: MapboxMobileEvents
variations:
Package.swift: mapbox-events-ios
Package.resolved: turf-swift
manifest_definitions:
- name: packager
type: SemanticVersion
default_path: scripts/release/packager/versions.json
command: jq -r ".$DEPSVALIDATOR_DEPENDENCY_NAME" "$DEPSVALIDATOR_MANIFEST_PATH"
- name: Cross-check Common SDK version with GL Native
type: SemanticVersion
default_path: gl-native-common-version(virtual_manifest)
command: |
set -e
export GITHUB_TOKEN=$(mbx-ci github reader token)
if [[ -z "$GITHUB_TOKEN" ]];
then
exit 1
fi
COREMAPS_VERSION=$(jq -r .MapboxCoreMaps scripts/release/packager/versions.json)
if [[ "$COREMAPS_VERSION" == *"SNAPSHOT"* ]];
then
# take commit hash from a snapshot string, e.g. 11.0.0-SNAPSHOT.1012T1154Z.cad0c70
GL_NATIVE_GITHUB_REF=$(echo "$COREMAPS_VERSION" | cut -d "." -f 5)
else
GL_NATIVE_GITHUB_REF="maps-v$COREMAPS_VERSION"
fi

gh api -H "Accept: application/vnd.github+json" "/repos/mapbox/mapbox-gl-native-internal/contents/common-version.txt?ref=$GL_NATIVE_GITHUB_REF" --jq ".content" | base64 --decode
63 changes: 49 additions & 14 deletions .fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,26 +17,57 @@ ENV["SPACESHIP_SKIP_2FA_UPGRADE"] = "1"

platform :ios do

lane :setup_distribution_cert do
setup_ci
match(type: "appstore")
end

private_lane :api_key_if_needed do
# We recommend to have api key on local machines to improve sign-in experience
# While on the CI we will use api key components for the authentication
# You can setup the api key by following the guide: https://github.com/mapbox/apple-internal/blob/master/guides/Modern%20authentification.md
file_path = ENV['APP_STORE_CONNECT_API_KEY_PATH']

if file_path.nil? || !File.exist?(file_path)
app_store_connect_api_key
end
end

lane :build_examples_tests do
api_key_if_needed
setup_circle_ci
sync_code_signing
update_code_signing_settings(
use_automatic_signing: false,
path: "Apps/Examples/Examples.xcodeproj",
path: "Examples.xcodeproj",
team_id: "GJZR2MEM28", # Developer Portal Team ID,
profile_name: lane_context[SharedValues::MATCH_PROVISIONING_PROFILE_MAPPING]["mapbox.ExamplesUITests.xctrunner"],
targets: ["ExamplesUITests"],
code_sign_identity: "Apple Development: Created via API",
)
update_code_signing_settings(
use_automatic_signing: false,
path: "Examples.xcodeproj",
team_id: "GJZR2MEM28", # Developer Portal Team ID,
profile_name: lane_context[SharedValues::MATCH_PROVISIONING_PROFILE_MAPPING]["com.mapbox.examples"],
targets: ["Examples"],
code_sign_identity: "Apple Development: Machiney McMachineface",
code_sign_identity: "Apple Development: Created via API",
)
run_tests(
workspace: 'Apps/Apps.xcworkspace',
project: 'Examples.xcodeproj',
scheme: 'Examples', # XCTest scheme
clean: true, # Recommended: This would ensure the build would not include unnecessary files
configuration: "Release",
xcargs: "ENABLE_TESTABILITY=YES SWIFT_TREAT_WARNINGS_AS_ERRORS=NO",
# Use the Debug mode here to avoid the compiler crash
# https://github.com/apple/swift/issues/72117#issuecomment-1999619388
# using the SWIFT_COMPILATION_MODE=incremental doesn't for this scheme.
# configuration: "Release",
configuration: "Debug",
testplan: "Examples no unit tests",
xcargs: "ENABLE_TESTABILITY=YES SWIFT_TREAT_WARNINGS_AS_ERRORS=NO COMPILER_INDEX_STORE_ENABLE=NO",
skip_detect_devices: true, # Required
build_for_testing: true, # Required
sdk: 'iphoneos', # Required
destination: "generic/platform=iOS", # Required
should_zip_build_products: true, # Must be true to set the correct format for Firebase Test Lab,
result_bundle: true,
output_directory: "output/",
Expand Down Expand Up @@ -65,10 +96,10 @@ platform :ios do
end

lane :beta do
app_store_connect_api_key # Generate API Token
api_key_if_needed # Generate API Token
increment_build_number(
build_number: latest_testflight_build_number + 1,
xcodeproj: 'Apps/Examples/Examples.xcodeproj'
xcodeproj: 'Examples.xcodeproj'
)
build_and_submit
end
Expand All @@ -80,16 +111,18 @@ platform :ios do
sync_code_signing(type: "development")
update_code_signing_settings(
use_automatic_signing: false,
path: "Apps/Examples/Examples.xcodeproj",
path: "Examples.xcodeproj",
team_id: "GJZR2MEM28", # Developer Portal Team ID,
profile_name: lane_context[SharedValues::MATCH_PROVISIONING_PROFILE_MAPPING]["com.mapbox.examples"],
targets: ["Examples"]
targets: ["Examples"],
code_sign_identity: "Apple Development: Created via API",
entitlements_file_path: "Sources/Examples/Examples_CarPlay.entitlements"
)
sync_code_signing(type: "appstore")
build_app(
scheme: "Examples",
workspace: "Apps/Apps.xcworkspace",
xcargs: "SWIFT_TREAT_WARNINGS_AS_ERRORS=NO" # Disable to bypass Deprecated error on OfflineManager example
project: "Examples.xcodeproj",
xcargs: "SWIFT_TREAT_WARNINGS_AS_ERRORS=NO COMPILER_INDEX_STORE_ENABLE=NO" # Disable to bypass Deprecated error on OfflineManager example
)
upload_to_testflight(
beta_app_feedback_email: "[email protected]",
Expand All @@ -101,7 +134,7 @@ platform :ios do

lane :build_tests do
sh("cd .. && xcodegen")
app_store_connect_api_key # Generate API Token
api_key_if_needed # Generate API Token
setup_circle_ci
sync_code_signing(app_identifier: "com.mapbox.MapboxMapsTestHost")
update_code_signing_settings(
Expand All @@ -110,14 +143,16 @@ platform :ios do
team_id: "GJZR2MEM28", # Developer Portal Team ID,
profile_name: lane_context[SharedValues::MATCH_PROVISIONING_PROFILE_MAPPING]["com.mapbox.MapboxMapsTestHost"],
targets: ["MapboxTestHost"],
code_sign_identity: "Apple Development: Machiney McMachineface",
code_sign_identity: "Apple Development: Created via API",
)
run_tests(
project: 'MapboxMaps.xcodeproj',
scheme: 'MapboxTestHost',
clean: true,
configuration: "Release",
xcargs: "ENABLE_TESTABILITY=YES",
# Use here SWIFT_COMPILATION_MODE=incremental to avoid the compiler crash
# https://github.com/apple/swift/issues/72117#issuecomment-1999619388
xcargs: "ENABLE_TESTABILITY=YES COMPILER_INDEX_STORE_ENABLE=NO SWIFT_COMPILATION_MODE=incremental",
build_for_testing: true,
destination: 'generic/platform=iOS',
should_zip_build_products: true,
Expand Down
3 changes: 2 additions & 1 deletion .fastlane/Matchfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
git_url("[email protected]:mapbox/apple-certificates.git")
type("development") # The default type, can be: appstore, adhoc, enterprise or development
app_identifier(["com.mapbox.examples"])
app_identifier(["com.mapbox.examples", "mapbox.ExamplesUITests.xctrunner"])
template_name("CarPlay Navigation App (Distribution)")
3 changes: 2 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
CHANGELOG.md merge=union

# Mark files as generated in Github PRs
Sources/MapboxMaps/Style/Generated/** linguist-generated=true
**/Generated/** linguist-generated=true
LICENSE.md linguist-generated=true
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @mapbox/maps-ios
* @mapbox/maps-ios
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Bug
name: Bug
about: This template should be used for reporting bugs and defects.
labels: 'bug :beetle:'
assignees: ''
Expand Down
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/feature.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,3 @@ assignees: ''

## Why
<- 1-2 sentence description of why you're requesting this feature. What problem does it solve? Why is it valuable? ->

19 changes: 15 additions & 4 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,21 @@ Describe the changes in this PR here.
-->

## Pull request checklist:
- [ ] Write tests for all new functionality. If tests were not written, please explain why.
- [ ] Add documentation comments for any added or updated public APIs.
- [ ] Add any new public, top-level symbols to the Jazzy config's `custom_categories` (scripts/doc-generation/.jazzy.yaml)
- [ ] Describe the changes in this PR, especially public API changes.
- [ ] Include before/after visuals or gifs if this PR includes visual changes.
<!--
| Before | After |
| ----- | ----- |
| <img src="" width = 250/> | <img src="" width = 250/> |
or
| <video src="" width = 250/> | <video src="" width = 250/> |
-->
- [ ] Write tests for all new functionality. Put tests in correct [Test Plan](https://github.com/mapbox/mapbox-maps-ios/tree/main/Tests/TestPlans) (Unit, Integration, All)
- [ ] If tests were not written, please explain why.
- [ ] Add documentation comments for any added or updated public APIs.
- [ ] Add any new public, top-level symbols to the DocC custom catatlog (Sources/MapboxMaps/Documentation.docc/API Catalogs)
- [ ] Add a changelog entry to to bottom of the relevant section (typically the `## main` heading near the top).
- [ ] Update the guides (internal access only), README.md, and DEVELOPING.md if their contents are impacted by these changes.
- [ ] Review and agree to the Contributor License Agreement ([CLA](https://github.com/mapbox/mapbox-maps-ios/blob/main/CONTRIBUTING.md#contributor-license-agreement)).
- [ ] If this PR is a `v10.[version]` release branch fix / enhancement, merge it to `main` first and then port to `v10.[version]` release branch.

PRs must be submitted under the terms of our Contributor License Agreement [CLA](https://github.com/mapbox/mapbox-maps-ios/blob/main/CONTRIBUTING.md#contributor-license-agreement).
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "github-actions" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
2 changes: 1 addition & 1 deletion .github/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ exemptLabels:

pulls:
daysUntilStale: 60
daysUntilClose: -1
daysUntilClose: 7
markComment: false
closeComment: >
This pull request has been automatically detected as stale because it has not had
Expand Down
85 changes: 85 additions & 0 deletions .github/workflows/analyze.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
on:
workflow_call:
inputs:
project-path:
required: true
type: string
scheme:
type: string
default: MapboxMaps
destination:
type: string
default: generic/platform=iOS Simulator
executor:
type: string
default: '["ubuntu-latest"]'
secrets:
SDK_REGISTRY_TOKEN:
required: true

concurrency:
group: ci-${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true

jobs:
analyze:
name: Analyze
runs-on: ${{ matrix.executor }}
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: ["javascript", "python", "ruby"]
executor: ${{ fromJson(inputs.executor) }}
include:
- language: "swift"
executor: "macos-13"
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Allow cloning public repositories from github.com via SSH
run: |
git config --global url.https://github.com/.insteadOf [email protected]:

- name: Inject tokens
if: matrix.language == 'swift'
run: |
echo "machine api.mapbox.com login mapbox password ${{ secrets.SDK_REGISTRY_TOKEN }}" >> ~/.netrc
chmod 0600 ~/.netrc

echo "test_token" > ~/.mapbox

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.

# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality

- name: Build Examples
if: matrix.language == 'swift'
run: set -o pipefail && xcodebuild build -project '${{ inputs.project-path }}' -scheme ${{ inputs.scheme }} -destination '${{ inputs.destination }}'| tee xcodebuild.log | xcpretty

- name: Archive xcodebuild.log
uses: actions/upload-artifact@v4
if: matrix.language == 'swift'
with:
name: xcodebuild.log
path: xcodebuild.log

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
16 changes: 16 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: "CodeQL"

on:
push:
branches: ['main', 'publisher-production', 'release/*', 'lts/*']
pull_request:
branches: ['main', 'publisher-production', 'release/*', 'lts/*']
schedule:
- cron: "16 20 * * 4"

jobs:
analyze:
uses: ./.github/workflows/analyze.yml
with:
project-path: Examples.xcodeproj
secrets: inherit
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ xcuserdata
node_modules
developer.xcconfig
Carthage
api-docs
Cartfile*
MapboxAccessToken
scripts/release/packager/artifacts
scripts/release/packager/build
scripts/xcparty/.swiftpm
MapboxMaps.xcodeproj
*.doccarchive
Sources/MapboxMaps/Documentation.docc/*.html

.vscode
.vscode
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
[submodule "jazzy-theme"]
path = scripts/doc-generation/jazzy-theme
url = https://github.com/mapbox/jazzy-theme.git
Loading