Skip to content

Commit

Permalink
Release 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
valfirst committed Nov 21, 2024
1 parent b0d8235 commit 764fd62
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 13 deletions.
25 changes: 19 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
# Changelog

# [Unreleased - 3.0.0-SNAPSHOT]
# [3.0.0]
## Breaking chnages
- Bump minimal required Java from 8 to 11 (https://github.com/valfirst/browserup-proxy/pull/407)

- [browserup-proxy-rest] Improved the result returned by `/proxy/{port}/har/mostRecentEntry` if no HAR entries are available:
- [browserup-proxy-rest] Improved the result returned by `/proxy/{port}/har/mostRecentEntry` if no HAR entries are available (https://github.com/valfirst/browserup-proxy/pull/434)):
  | Old behaviour | New behaviour
------------------ | ---------------------------------------------------- | -------------
**Status code** | `200` | `204`
**Response body** | HAR entry with required fields having default values | No content

- Har log filtering logic is moved out of model class into a separate utility class
- Har log filtering logic is moved out of model class into a separate utility class (https://github.com/valfirst/browserup-proxy/pull/431)
Removed method | Replacement
------------------------------------------------------------------- | ----------------------------------------------------------------------------------
`com.browserup.harreader.model.HarLog#findMostRecentEntry()` | `com.browserup.harreader.filter.HarLogFilter#findMostRecentEntry(HarLog)`
`com.browserup.harreader.model.HarLog#findMostRecentEntry(Pattern)` | `com.browserup.harreader.filter.HarLogFilter#findMostRecentEntry(HarLog, Pattern)`
`com.browserup.harreader.model.HarLog#findEntries(Pattern)` | `com.browserup.harreader.filter.HarLogFilter#findEntries(HarLog, Pattern)`

- Remove copy-pasted HAR models and migrate back to the [original model](https://github.com/sdstoehr/har-reader)
- Remove copy-pasted HAR models and migrate back to the [original model](https://github.com/sdstoehr/har-reader) (https://github.com/valfirst/browserup-proxy/pull/430)
Removed entity | Replacement
-------------------------------------------------- | ----------------------------------------------
`com.browserup.harreader.model.Har` | `de.sstoehr.harreader.model.Har`
Expand All @@ -38,7 +39,7 @@
`com.browserup.harreader.model.HttpMethod` | `de.sstoehr.harreader.model.HttpMethod`
`com.browserup.harreader.model.HttpStatus` | `de.sstoehr.harreader.model.HttpStatus`

- Remove deprecated public API:
- Remove deprecated public API (https://github.com/valfirst/browserup-proxy/pull/441, https://github.com/valfirst/browserup-proxy/pull/442):
Removed | Replacement
------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------
`com.browserup.bup.proxy.dns.DnsJavaResolver` | `com.browserup.bup.proxy.dns.NativeResolver`
Expand All @@ -58,12 +59,24 @@
`com.browserup.harreader.jackson.MapperFactory` | `de.sstoehr.harreader.jackson.MapperFactory`


- Remove internal APIs (it was not intended for external usage, but was public)
- Remove internal APIs (it was not intended for external usage, but was public) (https://github.com/valfirst/browserup-proxy/pull/440)
Removed entity | Replacement
------------------------------------------------------------ | ----------------------------------------------
`com.browserup.harreader.filter.HarEntriesFilter` | `java.util.function.Predicate<HarEntry>`
`com.browserup.harreader.filter.HarEntriesUrlPatternFilter` | Not available, the logic was inlined

## Changed
### Dependencies
- Bump HAR reader from `2.3.0` to `2.5.0` (https://github.com/valfirst/browserup-proxy/pull/432, https://github.com/valfirst/browserup-proxy/pull/436, https://github.com/valfirst/browserup-proxy/pull/439)
- Bump LittleProxy from `2.0.22` to `2.3.2` (https://github.com/valfirst/browserup-proxy/pull/339, https://github.com/valfirst/browserup-proxy/pull/408, https://github.com/valfirst/browserup-proxy/pull/421, https://github.com/valfirst/browserup-proxy/pull/429)
- Bump Netty from `4.1.113.Final` to `4.1.115.Final` (https://github.com/valfirst/browserup-proxy/pull/420, https://github.com/valfirst/browserup-proxy/pull/433)
- Bump Log4J from `2.24.0` to `2.24.1` (https://github.com/valfirst/browserup-proxy/pull/415)
- Bump Selenium from `4.13.0` to `4.25.0` (https://github.com/valfirst/browserup-proxy/pull/399, https://github.com/valfirst/browserup-proxy/pull/410)
- Bump Jackson from `2.17.2` to `2.18.1` (https://github.com/valfirst/browserup-proxy/pull/412, https://github.com/valfirst/browserup-proxy/pull/425)
- Bump Swagger from `2.2.23` to `2.2.26` (https://github.com/valfirst/browserup-proxy/pull/418, https://github.com/valfirst/browserup-proxy/pull/437)
- Bump Guava from `33.3.0-jre` to `33.3.1-jre` (https://github.com/valfirst/browserup-proxy/pull/414)


# [2.2.19]
## Changed
### Dependencies
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ To use BrowserUp Proxy in your tests or application, add the `browserup-proxy-co
<dependency>
<groupId>com.github.valfirst.browserup-proxy</groupId>
<artifactId>browserup-proxy-core</artifactId>
<version>2.2.19</version>
<version>3.0.0</version>
<scope>test</scope>
</dependency>
```
Expand Down Expand Up @@ -369,13 +369,13 @@ When you build the latest code from source, you'll have access to the latest sna
<dependency>
<groupId>com.github.valfirst.browserup-proxy</groupId>
<artifactId>browserup-proxy-core</artifactId>
<version>3.0.0-SNAPSHOT</version>
<version>3.0.0</version>
<scope>test</scope>
</dependency>
```

Or for gradle:

```gradle
testImplementation 'com.browserup:browserup-proxy-core:3.0.0-SNAPSHOT'
testImplementation 'com.browserup:browserup-proxy-core:3.0.0'
```
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0.0-SNAPSHOT
3.0.0
4 changes: 2 additions & 2 deletions browserup-proxy-mitm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ To use MITM with standalone LittleProxy, add a dependency on the `mitm` module i
<dependency>
<groupId>io.github.littleproxy</groupId>
<artifactId>littleproxy</artifactId>
<version>2.2.0</version>
<version>2.3.2</version>
</dependency>

<!-- new dependency on the MITM module -->
<dependency>
<groupId>com.github.valfirst.browserup-proxy</groupId>
<artifactId>browserup-proxy-mitm</artifactId>
<version>2.2.19</version>
<version>3.0.0</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ subprojects {
apply plugin: 'signing'

group = 'com.github.valfirst.browserup-proxy'
version = '3.0.0-SNAPSHOT'
version = '3.0.0'

sourceCompatibility=11

Expand Down

0 comments on commit 764fd62

Please sign in to comment.