Skip to content

Latest commit

Β 

History

History
284 lines (199 loc) Β· 8.04 KB

CHANGELOG.md

File metadata and controls

284 lines (199 loc) Β· 8.04 KB

Changelog

v1.3.10

Potential bug fix

  • Fix: Non-linear parsing of case-insensitive content in golang.org/x/net/html
  • Fix: Misuse of ServerConfig.PublicKeyCallback may cause authorization bypass in golang.org/x/crypto

v1.3.9

Bug Fixes

  • Fixed issue where MongoDB documents were sorted incorrectly by version string for the /apps/latest route.
  • Fix MinIO URLs for correct working on localhost.
  • Resolve the issue where the /checkVersion route returns an incorrect link because all artifacts have the same extension.

Maintenance

  • Added new mongoDB indexes for apps collection.

v1.3.8

Potential bug fix

  • Fix: Bad documentation of error handling in ParseWithClaims can lead to potentially dangerous situations

v1.3.7

Features

  • Added binary app support.
  • Allowed - in platform name.
  • Added Slack notifications.
  • Added required parameter validation for app_name and channel in FetchLatestVersionOfApp endpoint. Returns an error if either parameter is missing.
  • Added a database connection check to the health check.

Bug Fixes

  • Added validateParams to Update\Create app/channel/platform/arch
  • Fixed an issue with CheckLatestVersion where cached metadata values persisted across calls, by moving appMeta, channelMeta, platformMeta, and archMeta to local variables.

v1.3.6

Important Notes

  • Important: Fix "Authorization bypass in github.com/dgrijalva/jwt-go"
  • Important: Now we can upload applications with the same extension, but this is only possible if the architectures are different.

Bug Fixes

Fix: allow spaces in app name validation

Features

  • Added browser extension support.
  • Implemented Performance Mode to optimize the checkVersion API request by caching responses in Redis.
  • Added link encoding.
  • Added build number to version. (0.0.1 => 0.0.1.137)
  • Added new info API route which return links to latest build.

Maintenance

  • Multiple API routes were renamed.
  • Added semver versions support.

v1.3.5

Important Notes

  • Important: The authentication flow has changed to JWT.
  • Important: The route for deleting a specific app by ID has been renamed to /apps/delete from /deleteApp.
  • Important: /deleteApp is now a new function.
  • Important: The route for updating specific app by ID has been renamed to /apps/update from /update.
  • Important: Archs, App names, Platform, channels can be changed now.

Features

  • Added Create, List, Delete App functionality. It now works like Platforms, Channels, Archs.
  • Added new tests.
  • Added UpdateApp, UpdateChannel, UpdatePlatform, UpdateArch routes.

Maintenance

  • Platforms, Channels, Archs have been moved to the apps_meta collection.

v1.3.4

Features

  • Added Changelog to check latest version response.
  • Added Critical parameter.

Maintenance

  • Refactored List, Create, Delete mongodb functions.

v1.3.3

Important Notes

  • Important: The POST request uses body form-data instead of URL parameters. Example:
--form 'data="{\"app_name\":\"app\",\"version\":\"0.0.2\",\"channel\":\"\",\"publish\":true,\"platform\":\"\",\"arch\":\"\"}"'

Maintenance

  • Updated Go modules.
  • Refactored createChannel, createPlatform, and createArch functions.
  • Refactored deleteChannel, deletePlatform, and deleteArch functions.
  • All tests were updated for the new functionality.

Features

  • Added Changelog functionality to handle upload and update requests.
  • Updated logging flow in the application.
  • Refactored ValidateParams function for parsing the request body.

v1.3.2

Important Notes

  • Important: Updated Postman template.

Maintenance

  • Added configurations for one command local development.
  • Added Dockerfile
  • Added Minio deployment to docker compose

Features

  • Add functionality to handle cases where the client app sends platform and arch parameters that do not exist. In such cases, the system should ignore the parameters and return the appropriate version.
    • If the client app sends either platform or arch parameters, and they exist in faynoSync, the system should return the closest matching version to the request. Any incorrect platform or arch names should result in appropriate error messages.
  • Implemented a new API
    • #
    • Update (App)
  • Implemented new e2e test
    • Test#
    • TestUpdate

v1.3.1

Important Notes

App is renamed to faynoSync.

  • Important: channel_name parameter renamed to channel
  • Important: Updated Postman template.
  • Important: checkVersion changed from POST to GET
  • Important: MongoDB architecture is changed to all in one collection. Changed mongoDB objects structure.

Maintenance

  • Added new mongodb migrations.
  • Added flutter example app.

Features

  • πŸŽ‰ Implemented the published feature. Now the API returns only published versions.

  • Implement multiple files uploading.

  • Updated Postman collection.

  • Implemented a new APIs

    • Creating platforms
    • Removing platforms
    • List platforms
    • Creating architectures
    • Removing architectures
    • List architectures
  • Implemented new e2e tests

    • TestPlatformCreate
    • TestUploadAppWithoutPlatform
    • TestArchCreate
    • TestUploadAppWithoutArch
    • TestDeletePlatform
    • TestDeleteArch
    • TestListArchs
    • TestListPlatforms
    • TestListChannels
    • TestListArchsWhenExist
    • TestListPlatformsWhenExist
    • TestListChannelsWhenExist Other tests is adapted.

Bug Fixes

  • Fixed a critical issue where returned versions were incorrectly compared when the version numbers were greater than 9 (e.g., 0.0.14).

v1.2.0

Important Notes

  • Important: Changed the method of creating an admin user. Now, after creation, the web server starts and operates in normal mode, so it is recommended to use creation in complex with migration.

Maintenance

  • Added MONGODB_URL_TESTS to .env.example

Docker

  • Added mongoDB for testing to docker compose configuration.

Features

  • πŸŽ‰ Implemented e2e tests
    • TestHealthCheck
    • TestLogin
    • TestUploadApp
    • TestUploadDuplicateApp (expected result from api "failed")
    • TestDeleteApp
    • TestChannelCreateNightly
    • TestChannelCreateStable
    • TestUploadAppWithoutChannel (expected result from api "failed")
    • TestMultipleUploadWithChannels
    • TestSearchApp
    • TestCheckVersionLatestVersion
    • TestMultipleDelete
    • TestDeleteNightlyChannel
    • TestDeleteStableChannel

v1.1.0

Important Notes

  • Important: After first creating channel, field channel_name is required.

Added a set of functionalities for the operation and support of deployment channels. Many checks have been added for a more accurate and expected behavior of the application.

Features

  • πŸŽ‰ Implemented a new feature
    • Creating channels
    • Removing channels
    • List channels

v1.0.0

Important Notes

  • Important: Bearer in the authorization header is now required.
  • Important: Updated API reference and README.

Maintenance

  • Added initial functionality
    • MongoDB functionalitty
    • MongoDB migrations with indexing
    • s3 support
    • JavaScript and Python usage examples
    • Terraform configuration for creating s3 bucket
    • Added Postman collection example
    • Added .env.example

Features

  • πŸŽ‰ Implemented a new features
    • Authentication (Auth)
    • Uploading
    • Removing
    • Check latest version feature
    • Searching

Docker

  • Added docker-compose file.

v0.0.1 (Example)

Important Notes

  • Important: Removed something
  • Important: Updated something
  • App now requires something

Maintenance

  • Removed a redundant feature
  • Added a new functionality
  • Improved overall performance
    • Enhanced user interface responsiveness

Features

  • πŸŽ‰ Implemented a new feature
    • This feature allows users to...
  • Added a user profile customization option

Bug Fixes

  • Fixed a critical issue that caused...