-
Notifications
You must be signed in to change notification settings - Fork 95
Comparing changes
Open a pull request
base repository: uber/mockolo
base: 2.1.1
head repository: uber/mockolo
compare: 2.2.0
- 13 commits
- 76 files changed
- 6 contributors
Commits on May 2, 2024
-
Compilation fix for a mock where the return type of a closure is an o…
…paque type (#259) * fix and tests added * fix for the case when the text some exists in the returning type
Configuration menu - View commit details
-
Copy full SHA for dff67bf - Browse repository at this point
Copy the full SHA dff67bfView commit details
Commits on Oct 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 68db289 - Browse repository at this point
Copy the full SHA 68db289View commit details
Commits on Oct 24, 2024
-
Speed up aarch64 builds using Static Linux SDK (#265)
* Build release binary with swift-sdk * Fix install swift method in macOS * fix incorrect destination name * drop macos-12 because it will be removed * Add macos only artifact * Fix incorrect artifact name * sort swift setup order
Configuration menu - View commit details
-
Copy full SHA for f7ff730 - Browse repository at this point
Copy the full SHA f7ff730View commit details -
Add support for
Actorprotocol. (#266)* Rename confusing `Type` type to `SwiftType` * Rename ClassModel to NominalModel and update ModelType * Actor mock support * Add description comment to confusing class. * Stop to using confusing SwiftType usage
Configuration menu - View commit details
-
Copy full SHA for 0ab3723 - Browse repository at this point
Copy the full SHA 0ab3723View commit details
Commits on Oct 26, 2024
-
Add async and throwing property support (#267)
* Read accessor and omit setCallCount if protocol has no setter * Remove unnecessary static var handling * Support get async and get throws property accessor * small rename and remove unused code * generate initialize for computed var * computed getter handles with the same way of method * remove deprecated method * Add test for throwing never * small formatting * Update Sources/MockoloFramework/Parsers/SwiftSyntaxExtensions.swift Co-authored-by: Fumiya Tanaka <fumiya989@gmail.com> * split syntax representation --------- Co-authored-by: Fumiya Tanaka <fumiya989@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 8f458e2 - Browse repository at this point
Copy the full SHA 8f458e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2628c64 - Browse repository at this point
Copy the full SHA 2628c64View commit details
Commits on Oct 27, 2024
-
Correct the
throwsclause in the closure within template logic to s……upport TypedThrow. (#262) * Update swift-syntax to 600.0.0-prerelease * Resolve warnings for SwiftSyntax600 * Update for tests * update to support typed-throw * Update Sources/MockoloFramework/Parsers/SwiftSyntaxExtensions.swift Co-authored-by: Iceman <side.junktown@gmail.com> * Read accessor and omit setCallCount if protocol has no setter * Remove unnecessary static var handling * Support get async and get throws property accessor * small rename and remove unused code * generate initialize for computed var * computed getter handles with the same way of method * remove deprecated method * Add test for throwing never * small formatting * Define FunctionSuffixClause. * Change swift-syntax organization from apple to swiftlang * Define FunctionSuffixClause * Update TestCase * refactoring * fix: remove unused string token. * Fix for typed throws * rename argument for applyThrowingTemplate method. Add doc comment * Avoid to expose special parameter in a common method. * Update TestFixture * Keep applyThrowingTemplate nullable to consider trivia. review comment: #262 (comment) * Refactor template logic for closure's suffix. * Refactor function's suffix logic. --------- Co-authored-by: Iceman <side.junktown@gmail.com> Co-authored-by: Iceman <okamura@qoncept.co.jp>
Configuration menu - View commit details
-
Copy full SHA for 09a1ea2 - Browse repository at this point
Copy the full SHA 09a1ea2View commit details
Commits on Oct 30, 2024
-
Add Nested protocol support (#270)
* Scan nested protocol and add test * remove unused `data` property * Avoid mock generation in generic context * Render mocks in extension when the mock has namespaces * A bit performance improve
Configuration menu - View commit details
-
Copy full SHA for 39e406f - Browse repository at this point
Copy the full SHA 39e406fView commit details
Commits on Oct 31, 2024
-
Fix to avoid using global actors as default values (#269)
* Fix `any` annotated protocol cannot find default value * Skip to add typeMap when the type may have globalActor * A small renaming
Configuration menu - View commit details
-
Copy full SHA for 56d8697 - Browse repository at this point
Copy the full SHA 56d8697View commit details
Commits on Nov 6, 2024
-
* remove unused properties * remove unnecessary setter requirements * remove excessive isInitializer requirement * remove unused requirements # Conflicts: # Sources/MockoloFramework/Models/Model.swift * Use Algorithms and remove unused parameter # Conflicts: # Sources/MockoloFramework/Operations/UniqueModelGenerator.swift # Sources/MockoloFramework/Utils/InheritanceResolver.swift * remove name init param from ClosureModel # Conflicts: # Sources/MockoloFramework/Models/ClosureModel.swift # Sources/MockoloFramework/Models/MethodModel.swift # Sources/MockoloFramework/Templates/VariableTemplate.swift * remove unused properties * remove redundant conformance * early return and others * remove none modifier * Remove extra space # Conflicts: # Sources/MockoloFramework/Templates/MethodTemplate.swift * cleanup model properties # Conflicts: # Sources/MockoloFramework/Models/IfMacroModel.swift # Sources/MockoloFramework/Models/MethodModel.swift # Sources/MockoloFramework/Models/Model.swift # Sources/MockoloFramework/Models/VariableModel.swift # Sources/MockoloFramework/Parsers/SwiftSyntaxExtensions.swift * remove type requirement * Update Sources/MockoloFramework/Operations/UniqueModelGenerator.swift Co-authored-by: uhooi <the_uhooi@yahoo.co.jp> --------- Co-authored-by: uhooi <the_uhooi@yahoo.co.jp>
Configuration menu - View commit details
-
Copy full SHA for 7b168b5 - Browse repository at this point
Copy the full SHA 7b168b5View commit details
Commits on Nov 12, 2024
-
Organize the arguments of Model.render. (#272)
* Cleanup render function arguments * Use Algorithms * Remove unnecessary default value * Add test case about known issue * Fix consistency when context state is not correct * remove unnecessary init argument * Use NominalTypeDeclKind instead of FindTargetDeclType in most places * Use XCTExpectFailure in macOS * Avoid force unwrapping and keep consistency * Update Sources/MockoloFramework/Models/TypeAliasModel.swift Co-authored-by: Fumiya Tanaka <fumiya989@gmail.com> --------- Co-authored-by: Fumiya Tanaka <fumiya989@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 2e87c0c - Browse repository at this point
Copy the full SHA 2e87c0cView commit details
Commits on Nov 21, 2024
-
Remove redundant tuple in handler type (#275)
* Remove redundant tuple in handler type * Use predefined utility * fix for existential any
Configuration menu - View commit details
-
Copy full SHA for b345372 - Browse repository at this point
Copy the full SHA b345372View commit details
Commits on Nov 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 588267d - Browse repository at this point
Copy the full SHA 588267dView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 2.1.1...2.2.0