Skip to content

Commit

Permalink
2023-09-25 - Updated .gitignore, added CHANGELOG (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
markbattistella authored Sep 25, 2023
1 parent 23f239c commit 9450f4e
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
.DS_Store
/.build
/Packages
/*.xcodeproj
xcuserdata/
DerivedData/
.swiftpm
.netrc
.swiftpm/*
.vscode
.markdownlint.json
.build
logs
.markdownlint.json
69 changes: 69 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# Change log

All notable changes to this project will be documented in this file.

## 2.0.0

### What's Changed

- 2023-09-23 - @corbin-c began working on some of the issues:
- This PR starts the refactoring of the huge `index.js`` file, by extracting methods into separate modules.
- 2023-09-25 - Full Updated Package
- This PR addresses a few changes:
1. The `Generator` has been extracted out into the root of the project. This makes it clearer what is Swift Package, and what is NodeJS generation [#20](https://github.com/markbattistella/BezelKit/issues/20)
1. Remove watchOS from the structure since there is no clear and simple way to extract the bezel radius data [#21](https://github.com/markbattistella/BezelKit/issues/21)
1. Removed the use of `txt` files and moved all data into a JSON file. This allows the data to be unique and easier to handle [#24](https://github.com/markbattistella/BezelKit/issues/24)
1. Refactored the way devices are listed in the JSON vs the CSV. JSON using the identifiers as the keys allows there to only be one key at a time - removing conflicts of duplicate identifiers [#24](https://github.com/markbattistella/BezelKit/issues/24)
1. Fixed the way identifiers and data is moved around once the script it run [#19](https://github.com/markbattistella/BezelKit/issues/19)
1. Refactored the modularisation of the Generator scripts [#22](https://github.com/markbattistella/BezelKit/issues/22)

> **Note:** as for the end user / developer there are no breaking changes. There are some error handling additions, and the way the JSON is outputted, but for usage in an Xcode project the API calls are still the same
## 1.0.4

### What's Changed

- 2023-09-01 - Auto-update `SupportedDeviceList.md` by @markbattistella-bot in #15
- 2023-09-13 - Added iPhone 15 models by @markbattistella in #17

## 1.0.2

### What's Changed

- 2023-08-26 - Auto-update `SupportedDeviceList.md` by @markbattistella-bot in #10
- 2023-08-27 - fix fallback bezel by @markbattistella in #12
- 2023-08-27 - revert testing of GH action by @markbattistella in #13

## 1.0.1

### Fixed

- Fixes #4: Now there is a cached version of the JSON next to the `index.js` script. The new data is merged into that instead of the CSV (which was defaulting the bezel to 0.0).
- Fixes #5: `index.js` file now has a help menu when passing in the `--help` option. This can aid others if using the script or taking it for their own projects.
- Fixed #6: Created a `.github/workflow` to handle `SupportedDevices`

### Updated

- Some of the variable names in the script were changed to be cleaner
- The JSON file name was changed
- Moved the Supported Device List to new file
- Created CRON action to generate the file
- README was updated with some images
- Images were compressed for data saving

## 1.0.0

### Fixed

- `Package.swift` now imports correct files from the Resources
- `Package.swift` now excludes the Generator correctly
- Codebase now references the JSON file correctly

### Removed

- Got rid of the expanded JSON file as it wasn't used

### Cleanup

- `README` file now has better explanation of `setFallbackDeviceBezel`
- `README` doesn't use US localisation

0 comments on commit 9450f4e

Please sign in to comment.