Skip to content

Add base64url format to encode and decode functions#1019

Merged
lvca merged 2 commits intoArcadeData:mainfrom
gramian:base64url
Apr 9, 2023
Merged

Add base64url format to encode and decode functions#1019
lvca merged 2 commits intoArcadeData:mainfrom
gramian:base64url

Conversation

@gramian
Copy link
Collaborator

@gramian gramian commented Apr 9, 2023

What does this PR do?

These changes add the base64url format to the encode and decode SQL functions.
Additionally, I modified the asString() method to convert BINARY types to their content as string.

Motivation

I want to encode and decode RIDs (as strings) in URLs.

Related issues

#1016

Checklist

  • I have run the build using mvn clean package command
  • My unit tests cover both failure and success scenarios

@lvca lvca merged commit cb915d2 into ArcadeData:main Apr 9, 2023
@lvca
Copy link
Contributor

lvca commented Apr 9, 2023

Very cool, thanks!

@lvca lvca added this to the 23.4.1 milestone Apr 9, 2023
@lvca lvca self-requested a review April 9, 2023 15:37
@lvca lvca added the enhancement New feature or request label Apr 9, 2023
@gramian gramian deleted the base64url branch May 3, 2023 12:05
mergify bot added a commit that referenced this pull request Feb 3, 2025
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5.3.0 to 5.4.0.
Release notes

*Sourced from [actions/setup-python's releases](https://github.com/actions/setup-python/releases).*

> v5.4.0
> ------
> 
> What's Changed
> --------------
> 
> ### Enhancements:
> 
> * Update cache error message by [`@​aparnajyothi-y`](https://github.com/aparnajyothi-y) in [actions/setup-python#968](https://redirect.github.com/actions/setup-python/pull/968)
> * Enhance Workflows: Add Ubuntu-24, Remove Python 3.8 by [`@​priya-kinthali`](https://github.com/priya-kinthali) in [actions/setup-python#985](https://redirect.github.com/actions/setup-python/pull/985)
> * Configure Dependabot settings by [`@​HarithaVattikuti`](https://github.com/HarithaVattikuti) in [actions/setup-python#1008](https://redirect.github.com/actions/setup-python/pull/1008)
> 
> ### Documentation changes:
> 
> * Readme update - recommended permissions by [`@​benwells`](https://github.com/benwells) in [actions/setup-python#1009](https://redirect.github.com/actions/setup-python/pull/1009)
> * Improve Advanced Usage examples by [`@​lrq3000`](https://github.com/lrq3000) in [actions/setup-python#645](https://redirect.github.com/actions/setup-python/pull/645)
> 
> ### Dependency updates:
> 
> * Upgrade `undici` from 5.28.4 to 5.28.5 by [`@​dependabot`](https://github.com/dependabot) in [actions/setup-python#1012](https://redirect.github.com/actions/setup-python/pull/1012)
> * Upgrade `urllib3` from 1.25.9 to 1.26.19 in /**tests**/data by [`@​dependabot`](https://github.com/dependabot) in [actions/setup-python#895](https://redirect.github.com/actions/setup-python/pull/895)
> * Upgrade `actions/publish-immutable-action` from 0.0.3 to 0.0.4 by [`@​dependabot`](https://github.com/dependabot) in [actions/setup-python#1014](https://redirect.github.com/actions/setup-python/pull/1014)
> * Upgrade `@actions/http-client` from 2.2.1 to 2.2.3 by [`@​dependabot`](https://github.com/dependabot) in [actions/setup-python#1020](https://redirect.github.com/actions/setup-python/pull/1020)
> * Upgrade `requests` from 2.24.0 to 2.32.2 in /**tests**/data by [`@​dependabot`](https://github.com/dependabot) in [actions/setup-python#1019](https://redirect.github.com/actions/setup-python/pull/1019)
> * Upgrade `@actions/cache` to `^4.0.0` by [`@​priyagupta108`](https://github.com/priyagupta108) in [actions/setup-python#1007](https://redirect.github.com/actions/setup-python/pull/1007)
> 
> New Contributors
> ----------------
> 
> * [`@​benwells`](https://github.com/benwells) made their first contribution in [actions/setup-python#1009](https://redirect.github.com/actions/setup-python/pull/1009)
> * [`@​HarithaVattikuti`](https://github.com/HarithaVattikuti) made their first contribution in [actions/setup-python#1008](https://redirect.github.com/actions/setup-python/pull/1008)
> * [`@​lrq3000`](https://github.com/lrq3000) made their first contribution in [actions/setup-python#645](https://redirect.github.com/actions/setup-python/pull/645)
> 
> **Full Changelog**: <actions/setup-python@v5...v5.4.0>


Commits

* [`4237552`](actions/setup-python@4237552) Improve Advanced Usage examples ([#645](https://redirect.github.com/actions/setup-python/issues/645))
* [`709bfa5`](actions/setup-python@709bfa5) Bump requests from 2.24.0 to 2.32.2 in /**tests**/data ([#1019](https://redirect.github.com/actions/setup-python/issues/1019))
* [`ceb20b2`](actions/setup-python@ceb20b2) Bump `@​actions/http-client` from 2.2.1 to 2.2.3 ([#1020](https://redirect.github.com/actions/setup-python/issues/1020))
* [`0dc2d2c`](actions/setup-python@0dc2d2c) Bump actions/publish-immutable-action from 0.0.3 to 0.0.4 ([#1014](https://redirect.github.com/actions/setup-python/issues/1014))
* [`feb9c6e`](actions/setup-python@feb9c6e) Bump urllib3 from 1.25.9 to 1.26.19 in /**tests**/data ([#895](https://redirect.github.com/actions/setup-python/issues/895))
* [`d0b4fc4`](actions/setup-python@d0b4fc4) Bump undici from 5.28.4 to 5.28.5 ([#1012](https://redirect.github.com/actions/setup-python/issues/1012))
* [`e3dfaac`](actions/setup-python@e3dfaac) Configure Dependabot settings ([#1008](https://redirect.github.com/actions/setup-python/issues/1008))
* [`b8cf3eb`](actions/setup-python@b8cf3eb) Use the new cache service: upgrade `@actions/cache` to `^4.0.0` ([#1007](https://redirect.github.com/actions/setup-python/issues/1007))
* [`1928ae6`](actions/setup-python@1928ae6) Update README.md ([#1009](https://redirect.github.com/actions/setup-python/issues/1009))
* [`3fddbee`](actions/setup-python@3fddbee) Enhance Workflows: Add Ubuntu-24, Remove Python 3.8 ([#985](https://redirect.github.com/actions/setup-python/issues/985))
* Additional commits viewable in [compare view](actions/setup-python@0b93645...4237552)

  

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility\_score?dependency-name=actions/setup-python&package-manager=github\_actions&previous-version=5.3.0&new-version=5.4.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
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-automerge-start)
[//]: # (dependabot-automerge-end)
---
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 close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show  ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor 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)
mergify bot added a commit that referenced this pull request Feb 5, 2026
… 3.14.1 to 3.15.0 [skip ci]

Bumps [org.apache.maven.plugins:maven-compiler-plugin](https://github.com/apache/maven-compiler-plugin) from 3.14.1 to 3.15.0.
Release notes

*Sourced from [org.apache.maven.plugins:maven-compiler-plugin's releases](https://github.com/apache/maven-compiler-plugin/releases).*

> 3.15.0
> ------
>
> 🐛 Bug Fixes
> -----------
>
> * Fix Java 25 compatibility during integration tests ([#1020](https://redirect.github.com/apache/maven-compiler-plugin/pull/1020)) [`@​desruisseaux`](https://github.com/desruisseaux)
> * [[MCOMPILER-540]](https://issues.apache.org/jira/browse/MCOMPILER-540) - useIncrementalCompilation=false may add generated sources to the sources list ([#192](https://redirect.github.com/apache/maven-compiler-plugin/pull/192)) [`@​mensinda`](https://github.com/mensinda)
>
> 👻 Maintenance
> -------------
>
> * Bump org.apache.maven.plugins:maven-plugins from 45 to 46 ([#1015](https://redirect.github.com/apache/maven-compiler-plugin/pull/1015)) [`@​slachiewicz`](https://github.com/slachiewicz)
> * Remove declaration of "plexus-snapshots" repository ([#1010](https://redirect.github.com/apache/maven-compiler-plugin/pull/1010)) [`@​desruisseaux`](https://github.com/desruisseaux)
> * Works only with Maven 4.0.0 rc4 ([#996](https://redirect.github.com/apache/maven-compiler-plugin/pull/996)) [`@​slachiewicz`](https://github.com/slachiewicz)
> * Enable Java 25 and Maven 4 in CI ([#975](https://redirect.github.com/apache/maven-compiler-plugin/pull/975)) [`@​slachiewicz`](https://github.com/slachiewicz)
>
> 📦 Dependency updates
> --------------------
>
> * Bump org.apache.maven.plugin-testing:maven-plugin-testing-harness from 3.4.0 to 3.5.0 ([#1016](https://redirect.github.com/apache/maven-compiler-plugin/pull/1016)) @[dependabot[bot]](https://github.com/apps/dependabot)
> * Bump plexusCompilerVersion from 2.16.1 to 2.16.2 ([#1021](https://redirect.github.com/apache/maven-compiler-plugin/pull/1021)) @[dependabot[bot]](https://github.com/apps/dependabot)
> * Bump org.apache.maven.plugins:maven-plugins from 46 to 47 ([#1019](https://redirect.github.com/apache/maven-compiler-plugin/pull/1019)) @[dependabot[bot]](https://github.com/apps/dependabot)
> * Bump org.codehaus.plexus:plexus-java from 1.5.1 to 1.5.2 ([#1008](https://redirect.github.com/apache/maven-compiler-plugin/pull/1008)) @[dependabot[bot]](https://github.com/apps/dependabot)
> * Bump org.ow2.asm:asm from 9.9 to 9.9.1 ([#1005](https://redirect.github.com/apache/maven-compiler-plugin/pull/1005)) @[dependabot[bot]](https://github.com/apps/dependabot)
> * Bump mavenVersion from 3.9.11 to 3.9.12 ([#1007](https://redirect.github.com/apache/maven-compiler-plugin/pull/1007)) @[dependabot[bot]](https://github.com/apps/dependabot)
> * Bump maven-plugin-testing-harness to 3.4.0 ([#1001](https://redirect.github.com/apache/maven-compiler-plugin/pull/1001)) [`@​slawekjaranowski`](https://github.com/slawekjaranowski)
> * Bump plexusCompilerVersion from 2.16.0 to 2.16.1 ([#999](https://redirect.github.com/apache/maven-compiler-plugin/pull/999)) @[dependabot[bot]](https://github.com/apps/dependabot)
> * Bump org.codehaus.plexus:plexus-java from 1.5.0 to 1.5.1 ([#993](https://redirect.github.com/apache/maven-compiler-plugin/pull/993)) @[dependabot[bot]](https://github.com/apps/dependabot)
> * Bump plexusCompilerVersion from 2.15.0 to 2.16.0 ([#992](https://redirect.github.com/apache/maven-compiler-plugin/pull/992)) @[dependabot[bot]](https://github.com/apps/dependabot)
> * Bump org.ow2.asm:asm from 9.8 to 9.9 ([#981](https://redirect.github.com/apache/maven-compiler-plugin/pull/981)) @[dependabot[bot]](https://github.com/apps/dependabot)


Commits

* [`9290cb3`](apache/maven-compiler-plugin@9290cb3) [maven-release-plugin] prepare release maven-compiler-plugin-3.15.0
* [`3657d40`](apache/maven-compiler-plugin@3657d40) Bump org.apache.maven.plugin-testing:maven-plugin-testing-harness
* [`7bbf805`](apache/maven-compiler-plugin@7bbf805) Bump plexusCompilerVersion from 2.16.1 to 2.16.2
* [`57fa938`](apache/maven-compiler-plugin@57fa938) Bump org.apache.maven.plugins:maven-plugins from 46 to 47
* [`385e3f2`](apache/maven-compiler-plugin@385e3f2) Fix Java 25 compatibility during integration tests ([#1020](https://redirect.github.com/apache/maven-compiler-plugin/issues/1020))
* [`6b34423`](apache/maven-compiler-plugin@6b34423) Bump org.apache.maven.plugins:maven-plugins from 45 to 46
* [`aaeb9c6`](apache/maven-compiler-plugin@aaeb9c6) [MCOMPILER-540] useIncrementalCompilation=false may add generated sources to ...
* [`6e3db9d`](apache/maven-compiler-plugin@6e3db9d) Bump org.codehaus.plexus:plexus-java from 1.5.1 to 1.5.2
* [`0fe9b84`](apache/maven-compiler-plugin@0fe9b84) Remove declaration of "plexus-snapshots" repository ([#1010](https://redirect.github.com/apache/maven-compiler-plugin/issues/1010))
* [`35f6800`](apache/maven-compiler-plugin@35f6800) Bump org.ow2.asm:asm from 9.9 to 9.9.1
* Additional commits viewable in [compare view](apache/maven-compiler-plugin@maven-compiler-plugin-3.14.1...maven-compiler-plugin-3.15.0)
  
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility\_score?dependency-name=org.apache.maven.plugins:maven-compiler-plugin&package-manager=maven&previous-version=3.14.1&new-version=3.15.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
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-automerge-start)
[//]: # (dependabot-automerge-end)
---
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 show  ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor 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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants