From a2406e2470dece4a5197d39859e9d3fe2894f005 Mon Sep 17 00:00:00 2001 From: Ben Yu Date: Wed, 20 Dec 2023 21:01:58 -0800 Subject: [PATCH 1/6] Update README.md --- README.md | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 4abcd1e8db..daab8eae4c 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,8 @@ A small Java 8 utilities library ([javadoc](http://google.github.io/mug/apidocs/ `String user = first('@').toEnd().removeFrom(email);` * [StringFormat](https://github.com/google/mug/wiki/StringFormat-Explained) extracts structured data from string: `new StringFormat("{yyyy}/{mm}/{dd}").parse(dateStr, (yyyy, mm, dd) -> ...)` +* [DateTimeFormats](https://github.com/google/mug/wiki/DateTimeFormats-Explained) creates `DateTimeFormatter` from an example date time string: +* `DateTimeFormatter formatter = DateTimeFormats.formatOf("Tue, 10 Jan 2023 10:00:00.123 America/Los_Angeles")` * [SafeQuery](https://github.com/google/mug/wiki/SafeQuery-Explained) and `GoogleSql` for injection-safe SQL templating. * [Parallelizer](https://github.com/google/mug/wiki/Parallelizer-Explained) An _Executor-friendly_, _interruptible_ alternative to parallel streams. * Graph utilities ([Walker](https://google.github.io/mug/apidocs/com/google/mu/util/graph/Walker.html), [ShortestPath](https://google.github.io/mug/apidocs/com/google/mu/util/graph/ShortestPath.html)) @@ -24,7 +26,7 @@ Add the following to pom.xml: com.google.mug mug - 7.0 + 7.1 ``` @@ -46,7 +48,7 @@ Add `mug-errorprone` to your annotationProcessorPaths: com.google.mug mug-errorprone - 7.0 + 7.1 @@ -61,7 +63,7 @@ Protobuf utils: com.google.mug mug-protobuf - 7.0 + 7.1 ``` @@ -70,7 +72,7 @@ Guava add-ons (with `SafeQuery` and `GoogleSql`): com.google.mug mug-guava - 7.0 + 7.1 ``` @@ -78,9 +80,9 @@ Guava add-ons (with `SafeQuery` and `GoogleSql`): Add to build.gradle: ``` - implementation 'com.google.mug:mug:7.0' - implementation 'com.google.mug:mug-guava:7.0' - implementation 'com.google.mug:mug-protobuf:7.0' + implementation 'com.google.mug:mug:7.1' + implementation 'com.google.mug:mug-guava:7.1' + implementation 'com.google.mug:mug-protobuf:7.1' ``` From 9b00208af4be431780aaa9a2a21ef2ec9d362cfd Mon Sep 17 00:00:00 2001 From: Ben Yu Date: Wed, 20 Dec 2023 21:02:22 -0800 Subject: [PATCH 2/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index daab8eae4c..b4131e4d9e 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ A small Java 8 utilities library ([javadoc](http://google.github.io/mug/apidocs/ * [StringFormat](https://github.com/google/mug/wiki/StringFormat-Explained) extracts structured data from string: `new StringFormat("{yyyy}/{mm}/{dd}").parse(dateStr, (yyyy, mm, dd) -> ...)` * [DateTimeFormats](https://github.com/google/mug/wiki/DateTimeFormats-Explained) creates `DateTimeFormatter` from an example date time string: -* `DateTimeFormatter formatter = DateTimeFormats.formatOf("Tue, 10 Jan 2023 10:00:00.123 America/Los_Angeles")` + `DateTimeFormatter formatter = DateTimeFormats.formatOf("Tue, 10 Jan 2023 10:00:00.123 America/Los_Angeles")` * [SafeQuery](https://github.com/google/mug/wiki/SafeQuery-Explained) and `GoogleSql` for injection-safe SQL templating. * [Parallelizer](https://github.com/google/mug/wiki/Parallelizer-Explained) An _Executor-friendly_, _interruptible_ alternative to parallel streams. * Graph utilities ([Walker](https://google.github.io/mug/apidocs/com/google/mu/util/graph/Walker.html), [ShortestPath](https://google.github.io/mug/apidocs/com/google/mu/util/graph/ShortestPath.html)) From 0048452131e7fa306e131b5fe3694e46c4f2c0c8 Mon Sep 17 00:00:00 2001 From: Ben Yu Date: Wed, 20 Dec 2023 21:03:19 -0800 Subject: [PATCH 3/6] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b4131e4d9e..13162919f3 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,9 @@ A small Java 8 utilities library ([javadoc](http://google.github.io/mug/apidocs/ * [StringFormat](https://github.com/google/mug/wiki/StringFormat-Explained) extracts structured data from string: `new StringFormat("{yyyy}/{mm}/{dd}").parse(dateStr, (yyyy, mm, dd) -> ...)` * [DateTimeFormats](https://github.com/google/mug/wiki/DateTimeFormats-Explained) creates `DateTimeFormatter` from an example date time string: - `DateTimeFormatter formatter = DateTimeFormats.formatOf("Tue, 10 Jan 2023 10:00:00.123 America/Los_Angeles")` + ```java + DateTimeFormatter formatter = DateTimeFormats.formatOf("Tue, 10 Jan 2023 10:00:00.123 America/Los_Angeles") + ``` * [SafeQuery](https://github.com/google/mug/wiki/SafeQuery-Explained) and `GoogleSql` for injection-safe SQL templating. * [Parallelizer](https://github.com/google/mug/wiki/Parallelizer-Explained) An _Executor-friendly_, _interruptible_ alternative to parallel streams. * Graph utilities ([Walker](https://google.github.io/mug/apidocs/com/google/mu/util/graph/Walker.html), [ShortestPath](https://google.github.io/mug/apidocs/com/google/mu/util/graph/ShortestPath.html)) From f4a27c40996a57604efa9a5338d9c674454a919f Mon Sep 17 00:00:00 2001 From: Ben Yu Date: Wed, 20 Dec 2023 21:04:35 -0800 Subject: [PATCH 4/6] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 13162919f3..6ae46f9223 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,7 @@ A small Java 8 utilities library ([javadoc](http://google.github.io/mug/apidocs/ * [Parallelizer](https://github.com/google/mug/wiki/Parallelizer-Explained) An _Executor-friendly_, _interruptible_ alternative to parallel streams. * Graph utilities ([Walker](https://google.github.io/mug/apidocs/com/google/mu/util/graph/Walker.html), [ShortestPath](https://google.github.io/mug/apidocs/com/google/mu/util/graph/ShortestPath.html)) * [Google Protobuf Java 8 Utilities](https://google.github.io/mug/mug-protobuf/apidocs) +* [BigQuery ParameterizedQuery](https://google.github.io/mug/mug-bigquery/apidocs/com/google/mu/bigquery/ParameterizedQuery.html) ## Installation ### Maven From 43ed98acfa788a54fc5bfc790a2cecef0c3f9425 Mon Sep 17 00:00:00 2001 From: Ben Yu Date: Wed, 20 Dec 2023 21:06:24 -0800 Subject: [PATCH 5/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6ae46f9223..9619656806 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ A small Java 8 utilities library ([javadoc](http://google.github.io/mug/apidocs/ ```java DateTimeFormatter formatter = DateTimeFormats.formatOf("Tue, 10 Jan 2023 10:00:00.123 America/Los_Angeles") ``` -* [SafeQuery](https://github.com/google/mug/wiki/SafeQuery-Explained) and `GoogleSql` for injection-safe SQL templating. +* [SafeQuery](https://github.com/google/mug/wiki/SafeQuery-Explained) and [GoogleSql](https://google.github.io/mug/mug-guava/apidocs/com/google/mu/safesql/GoogleSql.html) for injection-safe SQL templating. * [Parallelizer](https://github.com/google/mug/wiki/Parallelizer-Explained) An _Executor-friendly_, _interruptible_ alternative to parallel streams. * Graph utilities ([Walker](https://google.github.io/mug/apidocs/com/google/mu/util/graph/Walker.html), [ShortestPath](https://google.github.io/mug/apidocs/com/google/mu/util/graph/ShortestPath.html)) * [Google Protobuf Java 8 Utilities](https://google.github.io/mug/mug-protobuf/apidocs) From 463db2f4729b442779702a9edddd93ca0b355fb9 Mon Sep 17 00:00:00 2001 From: Ben Yu Date: Wed, 20 Dec 2023 21:10:23 -0800 Subject: [PATCH 6/6] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9619656806..0511931316 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,8 @@ A small Java 8 utilities library ([javadoc](http://google.github.io/mug/apidocs/ `new StringFormat("{yyyy}/{mm}/{dd}").parse(dateStr, (yyyy, mm, dd) -> ...)` * [DateTimeFormats](https://github.com/google/mug/wiki/DateTimeFormats-Explained) creates `DateTimeFormatter` from an example date time string: ```java - DateTimeFormatter formatter = DateTimeFormats.formatOf("Tue, 10 Jan 2023 10:00:00.123 America/Los_Angeles") + DateTimeFormatter formatter = + DateTimeFormats.formatOf("Tue, 10 Jan 2023 10:00:00.123 America/Los_Angeles") ``` * [SafeQuery](https://github.com/google/mug/wiki/SafeQuery-Explained) and [GoogleSql](https://google.github.io/mug/mug-guava/apidocs/com/google/mu/safesql/GoogleSql.html) for injection-safe SQL templating. * [Parallelizer](https://github.com/google/mug/wiki/Parallelizer-Explained) An _Executor-friendly_, _interruptible_ alternative to parallel streams.