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

Bump archunit-junit5-api from 0.9.3 to 0.10.1 #4773

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps archunit-junit5-api from 0.9.3 to 0.10.1.

Release notes

Sourced from archunit-junit5-api's releases.

ArchUnit 0.10.1

Bug Fixes

  • JavaPackage.PackageVisitor and JavaPackage.ClassVisitor are now public instead of package-private to be usable as public API

ArchUnit 0.10.0

Breaking Changes

  • The deprecated method String JavaClass.getPackage() was replaced by JavaPackage JavaClass.getPackage(). To query the package name, please use String JavaClass.getPackageName().
  • The deprecated method JavaClass.getDirectDependencies() has been removed -> use JavaClass.getDirectDependenciesFromSelf() instead
  • The deprecated field JavaClass.Functions.SIMPLE_NAME has been removed, please use JavaClass.Functions.GET_SIMPLE_NAME

New Deprecation

  • ArchUnit does not use contractions anymore within the rules API. So far many methods were phrased like dontHave...() instead of doNotHave...(). In general this seems to be more trouble than worth it and does not read that well without an apostrophe, so all those methods were declared deprecated and have a new counter part without the contraction. A simple search & replace of dont by doNot should fix all those deprecations.
  • Some methods were deprecated because they were not precise enough, if generics come into play. For example JavaClass JavaField.getType() is not precise enough, because the type of a field is something else than a JavaClass (like T someField or List<? extends T> someField). Thus all those methods have been deprecated to make room for a future extension with generics and instead got a new version explicitly stating that the "raw type" is meant. For example JavaField.getType() -> JavaField.getRawType(), JavaMethod.getParameters() -> JavaMethod.getRawParameterTypes().
  • Formatters.formatLocation(JavaClass, lineNumber) was deprecated in favor of the newly introduced SourceCodeLocation.of(JavaClass, lineNumber) which will report the correct location (i.e. link for IDEs) via toString()

Enhancements

Core

  • The default class resolution behavior for classes missing from the import was changed. Before by default missing classes were replaced by stubs, now by default they will be resolved from the classpath. Compare the user guide (see #111)
  • JavaClass can now be queried for declared throws clauses, any Throwables declared on methods or constructors count as dependencies of a JavaClass (see #126; thanks a lot to @​tngwoerleij)
  • JavaClass can now be queried if it is an array (see #114; thanks a lot to @​wengertj)
  • The resolution of classes from the classpath will now use the context ClassLoader if set (should usually not make any difference, but allows to control the ClassLoader used by ArchUnit for class resolution)
  • JavaClass now has a more sophisticated JavaPackage attached to it. It is also possible to retrieve any JavaPackage from JavaClasses. JavaPackage offers a more convenient API for dependencies between packages (see #158; thanks a lot to @​goetzd for reviewing and user guide adjustment)
  • For arrays JavaClass.getPackageName() now returns the package of the component type instead of empty. While empty is closer to the Java Reflection API, it is not really useful from a point of view of dependencies. Using an array of a type in a package should cause a dependency to that package (see #161)

Lang

  • The rules API now provides an extensive support for checks of members / methods / fields (see #38; thanks a lot to @​hankem for an extensive review and many improvements)

Library

  • It is now possible to create a CompositeArchRule from several ArchRules to check multiple rules at once (see #78; thanks a lot to @​bogsi17)
  • The PlantUML rules API now understands more types of arrows (description on arrows, arrows from right to left, arrow colors), compare the user guide (see #135)
  • New predefined rule to avoid the use of org.joda.time in favor of the java.time API (see #145; thanks a lot to @​sullis)
  • The slices API is now more configurable to deal with inconsistent package structures and legacy projects. It is now possible to customize the assignment of JavaClasses to Slices by a simple function JavaClass -> Identifier, compare the user guide (see #156)

JUnit

  • The JUnit 5 platform dependency has been upgraded to version 1.4.0.

Further Acknowledgement

  • Thanks a lot to @​alanktwong for improving the CONTRIBUTING docs on how to build the project
  • Thanks a lot to @​wengertj for removing use of deprecated Gradle API
  • Thanks a lot to @​olleolleolle for replacing the PNG build badge by SVG
  • Thanks a lot to @​sullis for updating the Travis build to use OpenJDK 11
... (truncated)
Commits
  • aa96f5b Update versions for new release 0.10.1
  • 6fab823 Fix API -> Parameters PackageVisitor and ClassVisitor must be public. Also ad...
  • 8208535 Adjusted user guide, surefire-plugin 2.22.0 actually works without the provid...
  • 7f5768a Prepare release 0.10.0
  • f4a4320 Update docs for release 0.10.0
  • 957b514 Upgraded JUnit Jupiter and Platform dependencies to current version, however ...
  • 23bf5d2 Merge pull request #161 from TNG/make_array_type_return_package_name_of_their...
  • cf6461f JavaClasses of Arrays (e.g. com.myapp.SomeClass[]) now have getPackageName() ...
  • f212109 Remove deprecations since 0.8.0
  • e08ab25 Extend user guide domain model with ThrowsClause
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

Bumps [archunit-junit5-api](https://github.com/TNG/ArchUnit) from 0.9.3 to 0.10.1.
- [Release notes](https://github.com/TNG/ArchUnit/releases)
- [Commits](TNG/ArchUnit@v0.9.3...v0.10.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
@tobiasdiez tobiasdiez merged commit 8a1fbe1 into master Mar 18, 2019
@dependabot-preview dependabot-preview bot deleted the dependabot/gradle/com.tngtech.archunit-archunit-junit5-api-0.10.1 branch March 18, 2019 07:34
github-actions bot pushed a commit to dimitra-karadima/jabref that referenced this pull request May 9, 2020
5dad23d Create monash-university-csiro.csl (JabRef#4773)

git-subtree-dir: src/main/resources/csl-styles
git-subtree-split: 5dad23d
github-actions bot pushed a commit that referenced this pull request May 9, 2020
5dad23d Create monash-university-csiro.csl (#4773)

git-subtree-dir: src/main/resources/csl-styles
git-subtree-split: 5dad23d
github-actions bot pushed a commit to ShikunXiong/jabref that referenced this pull request May 15, 2020
586e0b8 Reindent/reorder
56cd2cb small fixes for skene-journal-of-theatre-and-drama-studies.csl (JabRef#4779)
31ab72f fix demote-non-dropping-particle for equine-veterinary-education.csl (JabRef#4778)
93d409f Create skene-journal-of-theatre-and-drama-studies.csl (JabRef#4776)
06ab6ec Update groupe-danthropologie-et-darcheologie-funeraire.csl (JabRef#4777)
3b27a45 Create archaeonautica.csl (JabRef#4775)
0e0acb7 Create antafr.csl (JabRef#4774)
5dad23d Create monash-university-csiro.csl (JabRef#4773)
c35d219 Create journal-of-the-royal-society-of-western-australia.csl (JabRef#4772)
e772607 Update journal-of-the-royal-society-of-western-australia.csl
c4b5edc Update journal-of-the-royal-society-of-western-australia.csl
2245fb1 Update journal-of-the-royal-society-of-western-australia.csl
e8bcb31 Create journal-of-the-royal-society-of-western-australia.csl
270cd32 small fixes for revista-biblica.csl (JabRef#4770)
5dd7ede fix issue with DOI URL for unified-style-sheet-for-linguistics.csl (JabRef#4765)
9556b12 Create the-american-journal-of-bioethics.csl (JabRef#4766)
d50c761 fix initials of revista-biblica.csl (JabRef#4768)
acbb043 Create nwu-harvard-2020.csl (JabRef#4762)
cb19d25 Create revista-biblica.csl (JabRef#4763)
d40b5ff Small corrections in IFAO style (JabRef#4761)
ba4dd7c Add NZ Journal of History (JabRef#4760)
1e20dbd Harvard Stellenbosch: Further et al adjustment
a59a17e Update american-medical-association.csl to version 11 (JabRef#4727)
22849dd Create unified-style-sheet-for-linguistics-de-gruyter-literature.csl (JabRef#4627)
647fb56 Update karabuk-university-graduate-school-of-natural-and-applied-scie… (JabRef#4756)
a4317f2 Update quaternaire.csl (JabRef#4752)
36fe9c2 Update journal-of-management-studies.csl (JabRef#4740)
f0cb15d Bugfix (JabRef#4750)
ef19002 Revert 1 yrg23 patch 1 (JabRef#4754)
873fc9e Update the-geological-society-of-london.csl (JabRef#4738)
93ca354 Update The Geological Society dependents (JabRef#4751)
9d3f0f5 Update technische-universitat-dresden-linguistik.csl (JabRef#4737)
63d657c change et al. min (JabRef#4736)

git-subtree-dir: src/main/resources/csl-styles
git-subtree-split: 586e0b8
github-actions bot pushed a commit to CaptainDaVinci/jabref that referenced this pull request May 15, 2020
586e0b8 Reindent/reorder
56cd2cb small fixes for skene-journal-of-theatre-and-drama-studies.csl (JabRef#4779)
31ab72f fix demote-non-dropping-particle for equine-veterinary-education.csl (JabRef#4778)
93d409f Create skene-journal-of-theatre-and-drama-studies.csl (JabRef#4776)
06ab6ec Update groupe-danthropologie-et-darcheologie-funeraire.csl (JabRef#4777)
3b27a45 Create archaeonautica.csl (JabRef#4775)
0e0acb7 Create antafr.csl (JabRef#4774)
5dad23d Create monash-university-csiro.csl (JabRef#4773)
c35d219 Create journal-of-the-royal-society-of-western-australia.csl (JabRef#4772)
e772607 Update journal-of-the-royal-society-of-western-australia.csl
c4b5edc Update journal-of-the-royal-society-of-western-australia.csl
2245fb1 Update journal-of-the-royal-society-of-western-australia.csl
e8bcb31 Create journal-of-the-royal-society-of-western-australia.csl
270cd32 small fixes for revista-biblica.csl (JabRef#4770)
5dd7ede fix issue with DOI URL for unified-style-sheet-for-linguistics.csl (JabRef#4765)
9556b12 Create the-american-journal-of-bioethics.csl (JabRef#4766)
d50c761 fix initials of revista-biblica.csl (JabRef#4768)
acbb043 Create nwu-harvard-2020.csl (JabRef#4762)
cb19d25 Create revista-biblica.csl (JabRef#4763)
d40b5ff Small corrections in IFAO style (JabRef#4761)
ba4dd7c Add NZ Journal of History (JabRef#4760)
1e20dbd Harvard Stellenbosch: Further et al adjustment
a59a17e Update american-medical-association.csl to version 11 (JabRef#4727)
22849dd Create unified-style-sheet-for-linguistics-de-gruyter-literature.csl (JabRef#4627)
647fb56 Update karabuk-university-graduate-school-of-natural-and-applied-scie… (JabRef#4756)
a4317f2 Update quaternaire.csl (JabRef#4752)
36fe9c2 Update journal-of-management-studies.csl (JabRef#4740)
f0cb15d Bugfix (JabRef#4750)
ef19002 Revert 1 yrg23 patch 1 (JabRef#4754)
873fc9e Update the-geological-society-of-london.csl (JabRef#4738)
93ca354 Update The Geological Society dependents (JabRef#4751)
9d3f0f5 Update technische-universitat-dresden-linguistik.csl (JabRef#4737)
63d657c change et al. min (JabRef#4736)

git-subtree-dir: src/main/resources/csl-styles
git-subtree-split: 586e0b8
github-actions bot pushed a commit to Xuanxuan-Zou/jabref that referenced this pull request May 15, 2020
586e0b8 Reindent/reorder
56cd2cb small fixes for skene-journal-of-theatre-and-drama-studies.csl (JabRef#4779)
31ab72f fix demote-non-dropping-particle for equine-veterinary-education.csl (JabRef#4778)
93d409f Create skene-journal-of-theatre-and-drama-studies.csl (JabRef#4776)
06ab6ec Update groupe-danthropologie-et-darcheologie-funeraire.csl (JabRef#4777)
3b27a45 Create archaeonautica.csl (JabRef#4775)
0e0acb7 Create antafr.csl (JabRef#4774)
5dad23d Create monash-university-csiro.csl (JabRef#4773)

git-subtree-dir: src/main/resources/csl-styles
git-subtree-split: 586e0b8
github-actions bot pushed a commit to leitianjian/jabref that referenced this pull request May 15, 2020
586e0b8 Reindent/reorder
56cd2cb small fixes for skene-journal-of-theatre-and-drama-studies.csl (JabRef#4779)
31ab72f fix demote-non-dropping-particle for equine-veterinary-education.csl (JabRef#4778)
93d409f Create skene-journal-of-theatre-and-drama-studies.csl (JabRef#4776)
06ab6ec Update groupe-danthropologie-et-darcheologie-funeraire.csl (JabRef#4777)
3b27a45 Create archaeonautica.csl (JabRef#4775)
0e0acb7 Create antafr.csl (JabRef#4774)
5dad23d Create monash-university-csiro.csl (JabRef#4773)
c35d219 Create journal-of-the-royal-society-of-western-australia.csl (JabRef#4772)
e772607 Update journal-of-the-royal-society-of-western-australia.csl
c4b5edc Update journal-of-the-royal-society-of-western-australia.csl
2245fb1 Update journal-of-the-royal-society-of-western-australia.csl
e8bcb31 Create journal-of-the-royal-society-of-western-australia.csl

git-subtree-dir: src/main/resources/csl-styles
git-subtree-split: 586e0b8
github-actions bot pushed a commit to NikodemKch/jabref-1 that referenced this pull request May 15, 2020
586e0b8 Reindent/reorder
56cd2cb small fixes for skene-journal-of-theatre-and-drama-studies.csl (JabRef#4779)
31ab72f fix demote-non-dropping-particle for equine-veterinary-education.csl (JabRef#4778)
93d409f Create skene-journal-of-theatre-and-drama-studies.csl (JabRef#4776)
06ab6ec Update groupe-danthropologie-et-darcheologie-funeraire.csl (JabRef#4777)
3b27a45 Create archaeonautica.csl (JabRef#4775)
0e0acb7 Create antafr.csl (JabRef#4774)
5dad23d Create monash-university-csiro.csl (JabRef#4773)
c35d219 Create journal-of-the-royal-society-of-western-australia.csl (JabRef#4772)
e772607 Update journal-of-the-royal-society-of-western-australia.csl
c4b5edc Update journal-of-the-royal-society-of-western-australia.csl
2245fb1 Update journal-of-the-royal-society-of-western-australia.csl
e8bcb31 Create journal-of-the-royal-society-of-western-australia.csl
270cd32 small fixes for revista-biblica.csl (JabRef#4770)
5dd7ede fix issue with DOI URL for unified-style-sheet-for-linguistics.csl (JabRef#4765)
9556b12 Create the-american-journal-of-bioethics.csl (JabRef#4766)
d50c761 fix initials of revista-biblica.csl (JabRef#4768)
acbb043 Create nwu-harvard-2020.csl (JabRef#4762)
cb19d25 Create revista-biblica.csl (JabRef#4763)
d40b5ff Small corrections in IFAO style (JabRef#4761)
ba4dd7c Add NZ Journal of History (JabRef#4760)
1e20dbd Harvard Stellenbosch: Further et al adjustment
a59a17e Update american-medical-association.csl to version 11 (JabRef#4727)
22849dd Create unified-style-sheet-for-linguistics-de-gruyter-literature.csl (JabRef#4627)
647fb56 Update karabuk-university-graduate-school-of-natural-and-applied-scie… (JabRef#4756)
a4317f2 Update quaternaire.csl (JabRef#4752)
36fe9c2 Update journal-of-management-studies.csl (JabRef#4740)
f0cb15d Bugfix (JabRef#4750)
ef19002 Revert 1 yrg23 patch 1 (JabRef#4754)
873fc9e Update the-geological-society-of-london.csl (JabRef#4738)
93ca354 Update The Geological Society dependents (JabRef#4751)
9d3f0f5 Update technische-universitat-dresden-linguistik.csl (JabRef#4737)
63d657c change et al. min (JabRef#4736)

git-subtree-dir: src/main/resources/csl-styles
git-subtree-split: 586e0b8
github-actions bot pushed a commit to eetian/jabref that referenced this pull request May 15, 2020
586e0b8 Reindent/reorder
56cd2cb small fixes for skene-journal-of-theatre-and-drama-studies.csl (JabRef#4779)
31ab72f fix demote-non-dropping-particle for equine-veterinary-education.csl (JabRef#4778)
93d409f Create skene-journal-of-theatre-and-drama-studies.csl (JabRef#4776)
06ab6ec Update groupe-danthropologie-et-darcheologie-funeraire.csl (JabRef#4777)
3b27a45 Create archaeonautica.csl (JabRef#4775)
0e0acb7 Create antafr.csl (JabRef#4774)
5dad23d Create monash-university-csiro.csl (JabRef#4773)
c35d219 Create journal-of-the-royal-society-of-western-australia.csl (JabRef#4772)
e772607 Update journal-of-the-royal-society-of-western-australia.csl
c4b5edc Update journal-of-the-royal-society-of-western-australia.csl
2245fb1 Update journal-of-the-royal-society-of-western-australia.csl
e8bcb31 Create journal-of-the-royal-society-of-western-australia.csl
270cd32 small fixes for revista-biblica.csl (JabRef#4770)
5dd7ede fix issue with DOI URL for unified-style-sheet-for-linguistics.csl (JabRef#4765)
9556b12 Create the-american-journal-of-bioethics.csl (JabRef#4766)
d50c761 fix initials of revista-biblica.csl (JabRef#4768)
acbb043 Create nwu-harvard-2020.csl (JabRef#4762)
cb19d25 Create revista-biblica.csl (JabRef#4763)
d40b5ff Small corrections in IFAO style (JabRef#4761)
ba4dd7c Add NZ Journal of History (JabRef#4760)
1e20dbd Harvard Stellenbosch: Further et al adjustment
a59a17e Update american-medical-association.csl to version 11 (JabRef#4727)
22849dd Create unified-style-sheet-for-linguistics-de-gruyter-literature.csl (JabRef#4627)
647fb56 Update karabuk-university-graduate-school-of-natural-and-applied-scie… (JabRef#4756)
a4317f2 Update quaternaire.csl (JabRef#4752)
36fe9c2 Update journal-of-management-studies.csl (JabRef#4740)
f0cb15d Bugfix (JabRef#4750)
ef19002 Revert 1 yrg23 patch 1 (JabRef#4754)
873fc9e Update the-geological-society-of-london.csl (JabRef#4738)
93ca354 Update The Geological Society dependents (JabRef#4751)
9d3f0f5 Update technische-universitat-dresden-linguistik.csl (JabRef#4737)
63d657c change et al. min (JabRef#4736)

git-subtree-dir: src/main/resources/csl-styles
git-subtree-split: 586e0b8
github-actions bot pushed a commit to dextep/jabref that referenced this pull request May 15, 2020
586e0b8 Reindent/reorder
56cd2cb small fixes for skene-journal-of-theatre-and-drama-studies.csl (JabRef#4779)
31ab72f fix demote-non-dropping-particle for equine-veterinary-education.csl (JabRef#4778)
93d409f Create skene-journal-of-theatre-and-drama-studies.csl (JabRef#4776)
06ab6ec Update groupe-danthropologie-et-darcheologie-funeraire.csl (JabRef#4777)
3b27a45 Create archaeonautica.csl (JabRef#4775)
0e0acb7 Create antafr.csl (JabRef#4774)
5dad23d Create monash-university-csiro.csl (JabRef#4773)
c35d219 Create journal-of-the-royal-society-of-western-australia.csl (JabRef#4772)
e772607 Update journal-of-the-royal-society-of-western-australia.csl
c4b5edc Update journal-of-the-royal-society-of-western-australia.csl
2245fb1 Update journal-of-the-royal-society-of-western-australia.csl
e8bcb31 Create journal-of-the-royal-society-of-western-australia.csl
270cd32 small fixes for revista-biblica.csl (JabRef#4770)
5dd7ede fix issue with DOI URL for unified-style-sheet-for-linguistics.csl (JabRef#4765)
9556b12 Create the-american-journal-of-bioethics.csl (JabRef#4766)
d50c761 fix initials of revista-biblica.csl (JabRef#4768)
acbb043 Create nwu-harvard-2020.csl (JabRef#4762)
cb19d25 Create revista-biblica.csl (JabRef#4763)
d40b5ff Small corrections in IFAO style (JabRef#4761)
ba4dd7c Add NZ Journal of History (JabRef#4760)
1e20dbd Harvard Stellenbosch: Further et al adjustment
a59a17e Update american-medical-association.csl to version 11 (JabRef#4727)
22849dd Create unified-style-sheet-for-linguistics-de-gruyter-literature.csl (JabRef#4627)
647fb56 Update karabuk-university-graduate-school-of-natural-and-applied-scie… (JabRef#4756)
a4317f2 Update quaternaire.csl (JabRef#4752)
36fe9c2 Update journal-of-management-studies.csl (JabRef#4740)
f0cb15d Bugfix (JabRef#4750)
ef19002 Revert 1 yrg23 patch 1 (JabRef#4754)
873fc9e Update the-geological-society-of-london.csl (JabRef#4738)
93ca354 Update The Geological Society dependents (JabRef#4751)
9d3f0f5 Update technische-universitat-dresden-linguistik.csl (JabRef#4737)
63d657c change et al. min (JabRef#4736)

git-subtree-dir: src/main/resources/csl-styles
git-subtree-split: 586e0b8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants