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

dev-v2.0.1 -> staging #110

Merged
merged 8 commits into from
Jul 25, 2023
Merged

dev-v2.0.1 -> staging #110

merged 8 commits into from
Jul 25, 2023

Conversation

cacheung
Copy link
Contributor

dev-v2.0.1 -> staging

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

emdobrin and others added 7 commits January 31, 2023 14:09
staging -> main for 2.0.0 release
* Remove Kotlin Syntax in api doc

Remove Kotlin Syntax in api doc

* remove Kotlin syntax for authenticated

remove Kotlin syntax for authenticated
* Throw exception on empty id in IdentityItem

* Unit test IdentityItem with null or empty ids are removed

* Update IdentityItem description to state ctor throws if id is empty

* Allow IdentityItem with empty ids but don't add to IdentityMap.
Changes previous implementation to ignore IdentityItems with empty ids when adding to an IdentityMap instead of throwing an exception when creating an IdentityItem. Changing the IdentityItem constructor to thow when and id is empty is a major API change which can break existing implementations.

* Add functional tests to verify items wth empty ids are not added to IdentityMap

* Update IdentityMap code docs to state empty ids are not allowed

* Update documentation

* Update comment for overloaded IdentityItem constructor.

* Reword comment for IdentityMap

* Fix link in documentation
* Switch to use Charset.forName("UTF-8").name() in encoding

Switching to use  Charset.forName("UTF-8").name() to fix the Illegal Charset Name Exception on Android 6 (API 23).  (MOB-19119)

* Add IlegalArgumentException to the try catch.

Add IlegalArgumentException to the try catch.

* append a null to the urlFragment in catch case

append a null to the urlFragment in catch case
Bump up version to 2.0.1
Bump up version to 2.0.1
@codecov
Copy link

codecov bot commented Jul 25, 2023

Codecov Report

Merging #110 (3b58414) into staging (1ad2bec) will increase coverage by 0.08%.
The diff coverage is 80.00%.

@@             Coverage Diff             @@
##           staging     #110      +/-   ##
===========================================
+ Coverage    93.36%   93.44%   +0.08%     
===========================================
  Files           12       12              
  Lines          678      686       +8     
  Branches       103      104       +1     
===========================================
+ Hits           633      641       +8     
- Misses          16       17       +1     
+ Partials        29       28       -1     
Flag Coverage Δ
functional-tests 68.51% <80.00%> (+0.96%) ⬆️
unit-tests 93.15% <80.00%> (+0.08%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
...adobe/marketing/mobile/edge/identity/URLUtils.java 77.27% <33.33%> (-3.68%) ⬇️
...e/marketing/mobile/edge/identity/IdentityItem.java 70.21% <100.00%> (+2.77%) ⬆️
...be/marketing/mobile/edge/identity/IdentityMap.java 98.40% <100.00%> (+0.86%) ⬆️

Copy link
Contributor

@timkimadobe timkimadobe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it looks good! I just added some suggested API doc updates in #111 but can merge that one after this too if easier

Update License text and api-reference.md from the review comments
@cacheung cacheung merged commit ce738ad into staging Jul 25, 2023
@emdobrin emdobrin deleted the dev-v2.0.1 branch July 26, 2023 19:59
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.

4 participants